var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453586&x=1911',
		'title': '',
		'imageId': '70453586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453587&x=1911',
		'title': '',
		'imageId': '70453587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453588&x=1911',
		'title': '',
		'imageId': '70453588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453584&x=1911',
		'title': '',
		'imageId': '70453584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453582&x=1911',
		'title': '',
		'imageId': '70453582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453589&x=1911',
		'title': '',
		'imageId': '70453589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453585&x=1911',
		'title': '',
		'imageId': '70453585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029957&docid=70453583&x=1911',
		'title': '',
		'imageId': '70453583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029957';

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