var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815699&x=1156',
		'title': '',
		'imageId': '69815699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815715&x=1156',
		'title': '',
		'imageId': '69815715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815742&x=1156',
		'title': '',
		'imageId': '69815742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815739&x=1156',
		'title': '',
		'imageId': '69815739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815741&x=1156',
		'title': '',
		'imageId': '69815741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815701&x=1156',
		'title': '',
		'imageId': '69815701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815740&x=1156',
		'title': '',
		'imageId': '69815740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815716&x=1156',
		'title': '',
		'imageId': '69815716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815700&x=1156',
		'title': '',
		'imageId': '69815700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815702&x=1156',
		'title': '',
		'imageId': '69815702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815714&x=1156',
		'title': '',
		'imageId': '69815714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004269&docid=69815713&x=1156',
		'title': '',
		'imageId': '69815713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004269';

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