var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421931&x=2236',
		'title': '',
		'imageId': '71421931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421926&x=2236',
		'title': '',
		'imageId': '71421926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421934&x=2236',
		'title': '',
		'imageId': '71421934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421935&x=2236',
		'title': '',
		'imageId': '71421935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421936&x=2236',
		'title': '',
		'imageId': '71421936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421937&x=2236',
		'title': '',
		'imageId': '71421937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421938&x=2236',
		'title': '',
		'imageId': '71421938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421939&x=2236',
		'title': '',
		'imageId': '71421939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421940&x=2236',
		'title': '',
		'imageId': '71421940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421941&x=2236',
		'title': '',
		'imageId': '71421941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067485&docid=71421944&x=2236',
		'title': '',
		'imageId': '71421944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067485';

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