var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71091288&x=2357',
		'title': '',
		'imageId': '71091288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133080&x=2357',
		'title': '',
		'imageId': '71133080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133081&x=2357',
		'title': '',
		'imageId': '71133081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133082&x=2357',
		'title': '',
		'imageId': '71133082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133083&x=2357',
		'title': '',
		'imageId': '71133083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133084&x=2357',
		'title': '',
		'imageId': '71133084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71133085&x=2357',
		'title': '',
		'imageId': '71133085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71091289&x=2357',
		'title': '',
		'imageId': '71091289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71091290&x=2357',
		'title': '',
		'imageId': '71091290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71091292&x=2357',
		'title': '',
		'imageId': '71091292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053672&docid=71091293&x=2357',
		'title': '',
		'imageId': '71091293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053672';

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