var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=61150641&x=3944',
		'title': '',
		'imageId': '61150641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=52502308&x=3944',
		'title': '',
		'imageId': '52502308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=52502311&x=3944',
		'title': '',
		'imageId': '52502311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=52502314&x=3944',
		'title': '',
		'imageId': '52502314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=52502318&x=3944',
		'title': '',
		'imageId': '52502318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=52502329&x=3944',
		'title': '',
		'imageId': '52502329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=57217380&x=3944',
		'title': '',
		'imageId': '57217380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=61150517&x=3944',
		'title': '',
		'imageId': '61150517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=61150520&x=3944',
		'title': '',
		'imageId': '61150520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=61150523&x=3944',
		'title': '',
		'imageId': '61150523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=57217489&x=3944',
		'title': '',
		'imageId': '57217489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926785&docid=57217494&x=3944',
		'title': '',
		'imageId': '57217494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926785';

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