var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652816&x=5027',
		'title': '',
		'imageId': '67652816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652815&x=5027',
		'title': '',
		'imageId': '67652815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652819&x=5027',
		'title': '',
		'imageId': '67652819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652817&x=5027',
		'title': '',
		'imageId': '67652817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652821&x=5027',
		'title': '',
		'imageId': '67652821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652822&x=5027',
		'title': '',
		'imageId': '67652822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652823&x=5027',
		'title': '',
		'imageId': '67652823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652820&x=5027',
		'title': '',
		'imageId': '67652820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652824&x=5027',
		'title': '',
		'imageId': '67652824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652825&x=5027',
		'title': '',
		'imageId': '67652825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910583&docid=67652826&x=5027',
		'title': '',
		'imageId': '67652826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910583';

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