var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209351&x=240',
		'title': '',
		'imageId': '70209351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209352&x=240',
		'title': '',
		'imageId': '70209352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209353&x=240',
		'title': '',
		'imageId': '70209353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209355&x=240',
		'title': '',
		'imageId': '70209355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209357&x=240',
		'title': '',
		'imageId': '70209357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209359&x=240',
		'title': '',
		'imageId': '70209359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209350&x=240',
		'title': '',
		'imageId': '70209350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209360&x=240',
		'title': '',
		'imageId': '70209360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209361&x=240',
		'title': '',
		'imageId': '70209361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019193&docid=70209362&x=240',
		'title': '',
		'imageId': '70209362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019193';

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