var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034076&x=133',
		'title': '',
		'imageId': '69034076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034077&x=133',
		'title': '',
		'imageId': '69034077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034074&x=133',
		'title': '',
		'imageId': '69034074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034073&x=133',
		'title': '',
		'imageId': '69034073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034079&x=133',
		'title': '',
		'imageId': '69034079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034072&x=133',
		'title': '',
		'imageId': '69034072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034078&x=133',
		'title': '',
		'imageId': '69034078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034075&x=133',
		'title': '',
		'imageId': '69034075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034082&x=133',
		'title': '',
		'imageId': '69034082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034080&x=133',
		'title': '',
		'imageId': '69034080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970638&docid=69034081&x=133',
		'title': '',
		'imageId': '69034081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970638';

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