var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737347&x=4840',
		'title': '',
		'imageId': '62737347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737348&x=4840',
		'title': '',
		'imageId': '62737348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737349&x=4840',
		'title': '',
		'imageId': '62737349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737350&x=4840',
		'title': '',
		'imageId': '62737350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737351&x=4840',
		'title': '',
		'imageId': '62737351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737352&x=4840',
		'title': '',
		'imageId': '62737352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737353&x=4840',
		'title': '',
		'imageId': '62737353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737354&x=4840',
		'title': '',
		'imageId': '62737354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737355&x=4840',
		'title': '',
		'imageId': '62737355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737356&x=4840',
		'title': '',
		'imageId': '62737356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737357&x=4840',
		'title': '',
		'imageId': '62737357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737358&x=4840',
		'title': '',
		'imageId': '62737358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737359&x=4840',
		'title': '',
		'imageId': '62737359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737360&x=4840',
		'title': '',
		'imageId': '62737360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737361&x=4840',
		'title': '',
		'imageId': '62737361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737362&x=4840',
		'title': '',
		'imageId': '62737362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737363&x=4840',
		'title': '',
		'imageId': '62737363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737364&x=4840',
		'title': '',
		'imageId': '62737364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737365&x=4840',
		'title': '',
		'imageId': '62737365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737366&x=4840',
		'title': '',
		'imageId': '62737366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737367&x=4840',
		'title': '',
		'imageId': '62737367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737368&x=4840',
		'title': '',
		'imageId': '62737368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737369&x=4840',
		'title': '',
		'imageId': '62737369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3715686&docid=62737370&x=4840',
		'title': '',
		'imageId': '62737370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3715686';

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