var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430500&x=1847',
		'title': '',
		'imageId': '70430500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430501&x=1847',
		'title': '',
		'imageId': '70430501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430502&x=1847',
		'title': '',
		'imageId': '70430502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430504&x=1847',
		'title': '',
		'imageId': '70430504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430652&x=1847',
		'title': '',
		'imageId': '70430652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029140&docid=70430503&x=1847',
		'title': '',
		'imageId': '70430503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029140';

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