var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107698&x=5611',
		'title': '',
		'imageId': '70107698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107672&x=5611',
		'title': '',
		'imageId': '70107672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107684&x=5611',
		'title': '',
		'imageId': '70107684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107690&x=5611',
		'title': '',
		'imageId': '70107690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107678&x=5611',
		'title': '',
		'imageId': '70107678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107704&x=5611',
		'title': '',
		'imageId': '70107704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107697&x=5611',
		'title': '',
		'imageId': '70107697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107677&x=5611',
		'title': '',
		'imageId': '70107677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107702&x=5611',
		'title': '',
		'imageId': '70107702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107699&x=5611',
		'title': '',
		'imageId': '70107699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107694&x=5611',
		'title': '',
		'imageId': '70107694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107682&x=5611',
		'title': '',
		'imageId': '70107682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107696&x=5611',
		'title': '',
		'imageId': '70107696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107689&x=5611',
		'title': '',
		'imageId': '70107689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107701&x=5611',
		'title': '',
		'imageId': '70107701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107676&x=5611',
		'title': '',
		'imageId': '70107676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107693&x=5611',
		'title': '',
		'imageId': '70107693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107686&x=5611',
		'title': '',
		'imageId': '70107686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107695&x=5611',
		'title': '',
		'imageId': '70107695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107691&x=5611',
		'title': '',
		'imageId': '70107691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107673&x=5611',
		'title': '',
		'imageId': '70107673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107687&x=5611',
		'title': '',
		'imageId': '70107687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107688&x=5611',
		'title': '',
		'imageId': '70107688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107683&x=5611',
		'title': '',
		'imageId': '70107683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107685&x=5611',
		'title': '',
		'imageId': '70107685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107692&x=5611',
		'title': '',
		'imageId': '70107692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107680&x=5611',
		'title': '',
		'imageId': '70107680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107700&x=5611',
		'title': '',
		'imageId': '70107700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107703&x=5611',
		'title': '',
		'imageId': '70107703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107674&x=5611',
		'title': '',
		'imageId': '70107674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107679&x=5611',
		'title': '',
		'imageId': '70107679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107681&x=5611',
		'title': '',
		'imageId': '70107681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=70107675&x=5611',
		'title': '',
		'imageId': '70107675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=59270692&x=5611',
		'title': '',
		'imageId': '59270692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012699&docid=59270691&x=5611',
		'title': '',
		'imageId': '59270691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012699';

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