var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897491&x=3422',
		'title': '',
		'imageId': '69897491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897499&x=3422',
		'title': '',
		'imageId': '69897499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897487&x=3422',
		'title': '',
		'imageId': '69897487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897488&x=3422',
		'title': '',
		'imageId': '69897488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897486&x=3422',
		'title': '',
		'imageId': '69897486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897498&x=3422',
		'title': '',
		'imageId': '69897498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897482&x=3422',
		'title': '',
		'imageId': '69897482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897500&x=3422',
		'title': '',
		'imageId': '69897500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897492&x=3422',
		'title': '',
		'imageId': '69897492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897481&x=3422',
		'title': '',
		'imageId': '69897481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897484&x=3422',
		'title': '',
		'imageId': '69897484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897497&x=3422',
		'title': '',
		'imageId': '69897497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897502&x=3422',
		'title': '',
		'imageId': '69897502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897494&x=3422',
		'title': '',
		'imageId': '69897494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897493&x=3422',
		'title': '',
		'imageId': '69897493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897495&x=3422',
		'title': '',
		'imageId': '69897495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897483&x=3422',
		'title': '',
		'imageId': '69897483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897503&x=3422',
		'title': '',
		'imageId': '69897503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897501&x=3422',
		'title': '',
		'imageId': '69897501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897490&x=3422',
		'title': '',
		'imageId': '69897490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897485&x=3422',
		'title': '',
		'imageId': '69897485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897489&x=3422',
		'title': '',
		'imageId': '69897489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007603&docid=69897504&x=3422',
		'title': '',
		'imageId': '69897504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007603';

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