var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523487&x=180',
		'title': '',
		'imageId': '69523487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523486&x=180',
		'title': '',
		'imageId': '69523486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523492&x=180',
		'title': '',
		'imageId': '69523492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523488&x=180',
		'title': '',
		'imageId': '69523488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523495&x=180',
		'title': '',
		'imageId': '69523495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523491&x=180',
		'title': '',
		'imageId': '69523491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523493&x=180',
		'title': '',
		'imageId': '69523493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523496&x=180',
		'title': '',
		'imageId': '69523496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523494&x=180',
		'title': '',
		'imageId': '69523494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523497&x=180',
		'title': '',
		'imageId': '69523497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523490&x=180',
		'title': '',
		'imageId': '69523490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991487&docid=69523489&x=180',
		'title': '',
		'imageId': '69523489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991487';

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