var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506062&x=314',
		'title': '',
		'imageId': '69506062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506061&x=314',
		'title': '',
		'imageId': '69506061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506063&x=314',
		'title': '',
		'imageId': '69506063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506064&x=314',
		'title': '',
		'imageId': '69506064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506065&x=314',
		'title': '',
		'imageId': '69506065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506067&x=314',
		'title': '',
		'imageId': '69506067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506066&x=314',
		'title': '',
		'imageId': '69506066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506060&x=314',
		'title': '',
		'imageId': '69506060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69506059&x=314',
		'title': '',
		'imageId': '69506059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69910508&x=314',
		'title': '',
		'imageId': '69910508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69910509&x=314',
		'title': '',
		'imageId': '69910509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69910510&x=314',
		'title': '',
		'imageId': '69910510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965496&x=314',
		'title': '',
		'imageId': '69965496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965493&x=314',
		'title': '',
		'imageId': '69965493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965491&x=314',
		'title': '',
		'imageId': '69965491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965495&x=314',
		'title': '',
		'imageId': '69965495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965489&x=314',
		'title': '',
		'imageId': '69965489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965488&x=314',
		'title': '',
		'imageId': '69965488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965490&x=314',
		'title': '',
		'imageId': '69965490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965487&x=314',
		'title': '',
		'imageId': '69965487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965497&x=314',
		'title': '',
		'imageId': '69965497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965494&x=314',
		'title': '',
		'imageId': '69965494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990799&docid=69965492&x=314',
		'title': '',
		'imageId': '69965492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990799';

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