var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615502&x=4013',
		'title': '',
		'imageId': '69615502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615499&x=4013',
		'title': '',
		'imageId': '69615499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615498&x=4013',
		'title': '',
		'imageId': '69615498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615495&x=4013',
		'title': '',
		'imageId': '69615495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615500&x=4013',
		'title': '',
		'imageId': '69615500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615493&x=4013',
		'title': '',
		'imageId': '69615493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615496&x=4013',
		'title': '',
		'imageId': '69615496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615497&x=4013',
		'title': '',
		'imageId': '69615497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=69615494&x=4013',
		'title': '',
		'imageId': '69615494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=70102797&x=4013',
		'title': '',
		'imageId': '70102797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=70102798&x=4013',
		'title': '',
		'imageId': '70102798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995906&docid=70102799&x=4013',
		'title': '',
		'imageId': '70102799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995906';

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