var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800447&x=1638',
		'title': '',
		'imageId': '71800447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800450&x=1638',
		'title': '',
		'imageId': '71800450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800452&x=1638',
		'title': '',
		'imageId': '71800452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800445&x=1638',
		'title': '',
		'imageId': '71800445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800444&x=1638',
		'title': '',
		'imageId': '71800444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800446&x=1638',
		'title': '',
		'imageId': '71800446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800453&x=1638',
		'title': '',
		'imageId': '71800453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800454&x=1638',
		'title': '',
		'imageId': '71800454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800449&x=1638',
		'title': '',
		'imageId': '71800449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800448&x=1638',
		'title': '',
		'imageId': '71800448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084528&docid=71800451&x=1638',
		'title': '',
		'imageId': '71800451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4084528';

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