var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820700&x=112',
		'title': '',
		'imageId': '69820700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820749&x=112',
		'title': '',
		'imageId': '69820749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820750&x=112',
		'title': '',
		'imageId': '69820750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820701&x=112',
		'title': '',
		'imageId': '69820701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820742&x=112',
		'title': '',
		'imageId': '69820742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820759&x=112',
		'title': '',
		'imageId': '69820759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820699&x=112',
		'title': '',
		'imageId': '69820699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820740&x=112',
		'title': '',
		'imageId': '69820740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820741&x=112',
		'title': '',
		'imageId': '69820741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820751&x=112',
		'title': '',
		'imageId': '69820751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820760&x=112',
		'title': '',
		'imageId': '69820760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004460&docid=69820758&x=112',
		'title': '',
		'imageId': '69820758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004460';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
