var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71115063&x=5335',
		'title': '',
		'imageId': '71115063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71113914&x=5335',
		'title': '',
		'imageId': '71113914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71113912&x=5335',
		'title': '',
		'imageId': '71113912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71081402&x=5335',
		'title': '',
		'imageId': '71081402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71113913&x=5335',
		'title': '',
		'imageId': '71113913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71081397&x=5335',
		'title': '',
		'imageId': '71081397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71081496&x=5335',
		'title': '',
		'imageId': '71081496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71149235&x=5335',
		'title': '',
		'imageId': '71149235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054522&docid=71149236&x=5335',
		'title': '',
		'imageId': '71149236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054522';

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