var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961415&x=1329',
		'title': '',
		'imageId': '69961415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961408&x=1329',
		'title': '',
		'imageId': '69961408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961407&x=1329',
		'title': '',
		'imageId': '69961407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961417&x=1329',
		'title': '',
		'imageId': '69961417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961414&x=1329',
		'title': '',
		'imageId': '69961414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961412&x=1329',
		'title': '',
		'imageId': '69961412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961413&x=1329',
		'title': '',
		'imageId': '69961413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961411&x=1329',
		'title': '',
		'imageId': '69961411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961416&x=1329',
		'title': '',
		'imageId': '69961416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961409&x=1329',
		'title': '',
		'imageId': '69961409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961418&x=1329',
		'title': '',
		'imageId': '69961418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009400&docid=69961410&x=1329',
		'title': '',
		'imageId': '69961410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009400';

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