var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230642&x=141',
		'title': '',
		'imageId': '70230642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230643&x=141',
		'title': '',
		'imageId': '70230643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230644&x=141',
		'title': '',
		'imageId': '70230644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230645&x=141',
		'title': '',
		'imageId': '70230645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230646&x=141',
		'title': '',
		'imageId': '70230646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230647&x=141',
		'title': '',
		'imageId': '70230647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230648&x=141',
		'title': '',
		'imageId': '70230648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230649&x=141',
		'title': '',
		'imageId': '70230649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230650&x=141',
		'title': '',
		'imageId': '70230650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230651&x=141',
		'title': '',
		'imageId': '70230651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230652&x=141',
		'title': '',
		'imageId': '70230652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230653&x=141',
		'title': '',
		'imageId': '70230653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230654&x=141',
		'title': '',
		'imageId': '70230654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230655&x=141',
		'title': '',
		'imageId': '70230655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230656&x=141',
		'title': '',
		'imageId': '70230656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230657&x=141',
		'title': '',
		'imageId': '70230657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230658&x=141',
		'title': '',
		'imageId': '70230658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230659&x=141',
		'title': '',
		'imageId': '70230659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230660&x=141',
		'title': '',
		'imageId': '70230660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230661&x=141',
		'title': '',
		'imageId': '70230661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230663&x=141',
		'title': '',
		'imageId': '70230663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230664&x=141',
		'title': '',
		'imageId': '70230664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230665&x=141',
		'title': '',
		'imageId': '70230665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019804&docid=70230666&x=141',
		'title': '',
		'imageId': '70230666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019804';

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