var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812626&x=432',
		'title': '',
		'imageId': '67812626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812625&x=432',
		'title': '',
		'imageId': '67812625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812605&x=432',
		'title': '',
		'imageId': '67812605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812604&x=432',
		'title': '',
		'imageId': '67812604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812603&x=432',
		'title': '',
		'imageId': '67812603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812608&x=432',
		'title': '',
		'imageId': '67812608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812627&x=432',
		'title': '',
		'imageId': '67812627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812623&x=432',
		'title': '',
		'imageId': '67812623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812624&x=432',
		'title': '',
		'imageId': '67812624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812628&x=432',
		'title': '',
		'imageId': '67812628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812606&x=432',
		'title': '',
		'imageId': '67812606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916660&docid=67812607&x=432',
		'title': '',
		'imageId': '67812607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916660';

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