var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094152&x=1547',
		'title': '',
		'imageId': '71094152',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094157&x=1547',
		'title': '',
		'imageId': '71094157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094150&x=1547',
		'title': '',
		'imageId': '71094150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094159&x=1547',
		'title': '',
		'imageId': '71094159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094161&x=1547',
		'title': '',
		'imageId': '71094161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094162&x=1547',
		'title': '',
		'imageId': '71094162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094155&x=1547',
		'title': '',
		'imageId': '71094155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094158&x=1547',
		'title': '',
		'imageId': '71094158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053763&docid=71094151&x=1547',
		'title': '',
		'imageId': '71094151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053763';

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