var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534474&x=3641',
		'title': '',
		'imageId': '69534474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534478&x=3641',
		'title': '',
		'imageId': '69534478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534483&x=3641',
		'title': '',
		'imageId': '69534483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534487&x=3641',
		'title': '',
		'imageId': '69534487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534490&x=3641',
		'title': '',
		'imageId': '69534490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534494&x=3641',
		'title': '',
		'imageId': '69534494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534497&x=3641',
		'title': '',
		'imageId': '69534497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534500&x=3641',
		'title': '',
		'imageId': '69534500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534503&x=3641',
		'title': '',
		'imageId': '69534503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534506&x=3641',
		'title': '',
		'imageId': '69534506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534509&x=3641',
		'title': '',
		'imageId': '69534509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992027&docid=69534513&x=3641',
		'title': '',
		'imageId': '69534513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992027';

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