var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873041&x=3024',
		'title': '',
		'imageId': '70873041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873044&x=3024',
		'title': '',
		'imageId': '70873044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873050&x=3024',
		'title': '',
		'imageId': '70873050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873058&x=3024',
		'title': '',
		'imageId': '70873058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873064&x=3024',
		'title': '',
		'imageId': '70873064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873069&x=3024',
		'title': '',
		'imageId': '70873069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70873098&x=3024',
		'title': '',
		'imageId': '70873098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70884481&x=3024',
		'title': '',
		'imageId': '70884481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045021&docid=70904963&x=3024',
		'title': '',
		'imageId': '70904963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045021';

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