var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973418&x=4446',
		'title': '',
		'imageId': '69973418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973416&x=4446',
		'title': '',
		'imageId': '69973416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973417&x=4446',
		'title': '',
		'imageId': '69973417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973419&x=4446',
		'title': '',
		'imageId': '69973419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973414&x=4446',
		'title': '',
		'imageId': '69973414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973412&x=4446',
		'title': '',
		'imageId': '69973412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973415&x=4446',
		'title': '',
		'imageId': '69973415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973413&x=4446',
		'title': '',
		'imageId': '69973413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973422&x=4446',
		'title': '',
		'imageId': '69973422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973421&x=4446',
		'title': '',
		'imageId': '69973421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973423&x=4446',
		'title': '',
		'imageId': '69973423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010612&docid=69973420&x=4446',
		'title': '',
		'imageId': '69973420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010612';

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";
	})
}
