var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464858&x=519',
		'title': '',
		'imageId': '69464858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464869&x=519',
		'title': '',
		'imageId': '69464869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464862&x=519',
		'title': '',
		'imageId': '69464862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69465480&x=519',
		'title': '',
		'imageId': '69465480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69465481&x=519',
		'title': '',
		'imageId': '69465481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464870&x=519',
		'title': '',
		'imageId': '69464870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464864&x=519',
		'title': '',
		'imageId': '69464864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464863&x=519',
		'title': '',
		'imageId': '69464863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464859&x=519',
		'title': '',
		'imageId': '69464859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464866&x=519',
		'title': '',
		'imageId': '69464866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464860&x=519',
		'title': '',
		'imageId': '69464860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464865&x=519',
		'title': '',
		'imageId': '69464865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464861&x=519',
		'title': '',
		'imageId': '69464861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464867&x=519',
		'title': '',
		'imageId': '69464867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69465479&x=519',
		'title': '',
		'imageId': '69465479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005042&docid=69464868&x=519',
		'title': '',
		'imageId': '69464868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005042';

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