var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917957&x=1625',
		'title': '',
		'imageId': '69917957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917958&x=1625',
		'title': '',
		'imageId': '69917958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917959&x=1625',
		'title': '',
		'imageId': '69917959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917960&x=1625',
		'title': '',
		'imageId': '69917960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917961&x=1625',
		'title': '',
		'imageId': '69917961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917962&x=1625',
		'title': '',
		'imageId': '69917962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917963&x=1625',
		'title': '',
		'imageId': '69917963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917964&x=1625',
		'title': '',
		'imageId': '69917964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917965&x=1625',
		'title': '',
		'imageId': '69917965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917966&x=1625',
		'title': '',
		'imageId': '69917966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008343&docid=69917967&x=1625',
		'title': '',
		'imageId': '69917967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008343';

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