var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312408&x=1646',
		'title': '',
		'imageId': '71312408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312409&x=1646',
		'title': '',
		'imageId': '71312409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312414&x=1646',
		'title': '',
		'imageId': '71312414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312415&x=1646',
		'title': '',
		'imageId': '71312415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312424&x=1646',
		'title': '',
		'imageId': '71312424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312429&x=1646',
		'title': '',
		'imageId': '71312429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312428&x=1646',
		'title': '',
		'imageId': '71312428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312430&x=1646',
		'title': '',
		'imageId': '71312430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312435&x=1646',
		'title': '',
		'imageId': '71312435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312436&x=1646',
		'title': '',
		'imageId': '71312436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062420&docid=71312407&x=1646',
		'title': '',
		'imageId': '71312407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062420';

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