var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926487&x=1712',
		'title': '',
		'imageId': '69926487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926486&x=1712',
		'title': '',
		'imageId': '69926486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926488&x=1712',
		'title': '',
		'imageId': '69926488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926489&x=1712',
		'title': '',
		'imageId': '69926489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926490&x=1712',
		'title': '',
		'imageId': '69926490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926491&x=1712',
		'title': '',
		'imageId': '69926491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926492&x=1712',
		'title': '',
		'imageId': '69926492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926497&x=1712',
		'title': '',
		'imageId': '69926497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926493&x=1712',
		'title': '',
		'imageId': '69926493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926498&x=1712',
		'title': '',
		'imageId': '69926498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926502&x=1712',
		'title': '',
		'imageId': '69926502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926496&x=1712',
		'title': '',
		'imageId': '69926496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926500&x=1712',
		'title': '',
		'imageId': '69926500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926503&x=1712',
		'title': '',
		'imageId': '69926503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926494&x=1712',
		'title': '',
		'imageId': '69926494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926495&x=1712',
		'title': '',
		'imageId': '69926495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926499&x=1712',
		'title': '',
		'imageId': '69926499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926501&x=1712',
		'title': '',
		'imageId': '69926501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926505&x=1712',
		'title': '',
		'imageId': '69926505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926504&x=1712',
		'title': '',
		'imageId': '69926504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69926949&x=1712',
		'title': '',
		'imageId': '69926949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69927406&x=1712',
		'title': '',
		'imageId': '69927406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69927410&x=1712',
		'title': '',
		'imageId': '69927410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008644&docid=69928085&x=1712',
		'title': '',
		'imageId': '69928085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008644';

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