var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960102&x=1257',
		'title': '',
		'imageId': '71960102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960105&x=1257',
		'title': '',
		'imageId': '71960105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960103&x=1257',
		'title': '',
		'imageId': '71960103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960098&x=1257',
		'title': '',
		'imageId': '71960098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960100&x=1257',
		'title': '',
		'imageId': '71960100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960107&x=1257',
		'title': '',
		'imageId': '71960107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960097&x=1257',
		'title': '',
		'imageId': '71960097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960106&x=1257',
		'title': '',
		'imageId': '71960106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960101&x=1257',
		'title': '',
		'imageId': '71960101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960099&x=1257',
		'title': '',
		'imageId': '71960099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090534&docid=71960104&x=1257',
		'title': '',
		'imageId': '71960104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090534';

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