var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630337&x=3420',
		'title': '',
		'imageId': '70630337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630350&x=3420',
		'title': '',
		'imageId': '70630350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630354&x=3420',
		'title': '',
		'imageId': '70630354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630352&x=3420',
		'title': '',
		'imageId': '70630352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630351&x=3420',
		'title': '',
		'imageId': '70630351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630362&x=3420',
		'title': '',
		'imageId': '70630362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630356&x=3420',
		'title': '',
		'imageId': '70630356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630364&x=3420',
		'title': '',
		'imageId': '70630364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630349&x=3420',
		'title': '',
		'imageId': '70630349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630353&x=3420',
		'title': '',
		'imageId': '70630353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630359&x=3420',
		'title': '',
		'imageId': '70630359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630361&x=3420',
		'title': '',
		'imageId': '70630361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630366&x=3420',
		'title': '',
		'imageId': '70630366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630355&x=3420',
		'title': '',
		'imageId': '70630355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630358&x=3420',
		'title': '',
		'imageId': '70630358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630357&x=3420',
		'title': '',
		'imageId': '70630357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630363&x=3420',
		'title': '',
		'imageId': '70630363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630360&x=3420',
		'title': '',
		'imageId': '70630360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630367&x=3420',
		'title': '',
		'imageId': '70630367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036340&docid=70630365&x=3420',
		'title': '',
		'imageId': '70630365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036340';

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