var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682160&x=5946',
		'title': '',
		'imageId': '70682160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682180&x=5946',
		'title': '',
		'imageId': '70682180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682181&x=5946',
		'title': '',
		'imageId': '70682181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682162&x=5946',
		'title': '',
		'imageId': '70682162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682140&x=5946',
		'title': '',
		'imageId': '70682140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682143&x=5946',
		'title': '',
		'imageId': '70682143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682145&x=5946',
		'title': '',
		'imageId': '70682145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682144&x=5946',
		'title': '',
		'imageId': '70682144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682158&x=5946',
		'title': '',
		'imageId': '70682158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682159&x=5946',
		'title': '',
		'imageId': '70682159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682161&x=5946',
		'title': '',
		'imageId': '70682161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682163&x=5946',
		'title': '',
		'imageId': '70682163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682175&x=5946',
		'title': '',
		'imageId': '70682175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682177&x=5946',
		'title': '',
		'imageId': '70682177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682178&x=5946',
		'title': '',
		'imageId': '70682178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682183&x=5946',
		'title': '',
		'imageId': '70682183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682190&x=5946',
		'title': '',
		'imageId': '70682190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682142&x=5946',
		'title': '',
		'imageId': '70682142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038376&docid=70682141&x=5946',
		'title': '',
		'imageId': '70682141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038376';

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