var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901484&x=5549',
		'title': '',
		'imageId': '69901484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901485&x=5549',
		'title': '',
		'imageId': '69901485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901486&x=5549',
		'title': '',
		'imageId': '69901486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901487&x=5549',
		'title': '',
		'imageId': '69901487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901488&x=5549',
		'title': '',
		'imageId': '69901488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901489&x=5549',
		'title': '',
		'imageId': '69901489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901490&x=5549',
		'title': '',
		'imageId': '69901490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901491&x=5549',
		'title': '',
		'imageId': '69901491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901492&x=5549',
		'title': '',
		'imageId': '69901492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901493&x=5549',
		'title': '',
		'imageId': '69901493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901494&x=5549',
		'title': '',
		'imageId': '69901494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901495&x=5549',
		'title': '',
		'imageId': '69901495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901496&x=5549',
		'title': '',
		'imageId': '69901496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901497&x=5549',
		'title': '',
		'imageId': '69901497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901498&x=5549',
		'title': '',
		'imageId': '69901498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901499&x=5549',
		'title': '',
		'imageId': '69901499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901500&x=5549',
		'title': '',
		'imageId': '69901500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901501&x=5549',
		'title': '',
		'imageId': '69901501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901502&x=5549',
		'title': '',
		'imageId': '69901502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901503&x=5549',
		'title': '',
		'imageId': '69901503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901504&x=5549',
		'title': '',
		'imageId': '69901504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901505&x=5549',
		'title': '',
		'imageId': '69901505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901506&x=5549',
		'title': '',
		'imageId': '69901506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901507&x=5549',
		'title': '',
		'imageId': '69901507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901508&x=5549',
		'title': '',
		'imageId': '69901508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901509&x=5549',
		'title': '',
		'imageId': '69901509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901510&x=5549',
		'title': '',
		'imageId': '69901510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901511&x=5549',
		'title': '',
		'imageId': '69901511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901512&x=5549',
		'title': '',
		'imageId': '69901512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901513&x=5549',
		'title': '',
		'imageId': '69901513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901514&x=5549',
		'title': '',
		'imageId': '69901514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901515&x=5549',
		'title': '',
		'imageId': '69901515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007695&docid=69901516&x=5549',
		'title': '',
		'imageId': '69901516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007695';

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