var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066353&x=1457',
		'title': '',
		'imageId': '63066353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066354&x=1457',
		'title': '',
		'imageId': '63066354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066355&x=1457',
		'title': '',
		'imageId': '63066355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066356&x=1457',
		'title': '',
		'imageId': '63066356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066357&x=1457',
		'title': '',
		'imageId': '63066357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066358&x=1457',
		'title': '',
		'imageId': '63066358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066359&x=1457',
		'title': '',
		'imageId': '63066359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066360&x=1457',
		'title': '',
		'imageId': '63066360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066361&x=1457',
		'title': '',
		'imageId': '63066361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066362&x=1457',
		'title': '',
		'imageId': '63066362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066363&x=1457',
		'title': '',
		'imageId': '63066363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066364&x=1457',
		'title': '',
		'imageId': '63066364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066365&x=1457',
		'title': '',
		'imageId': '63066365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066366&x=1457',
		'title': '',
		'imageId': '63066366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066367&x=1457',
		'title': '',
		'imageId': '63066367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066368&x=1457',
		'title': '',
		'imageId': '63066368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066369&x=1457',
		'title': '',
		'imageId': '63066369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066370&x=1457',
		'title': '',
		'imageId': '63066370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066371&x=1457',
		'title': '',
		'imageId': '63066371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066372&x=1457',
		'title': '',
		'imageId': '63066372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066373&x=1457',
		'title': '',
		'imageId': '63066373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066374&x=1457',
		'title': '',
		'imageId': '63066374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066375&x=1457',
		'title': '',
		'imageId': '63066375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993556&docid=63066376&x=1457',
		'title': '',
		'imageId': '63066376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993556';

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