var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593767&x=3727',
		'title': '200 092 PN',
		'imageId': '67593767',
		'alt' : '200 092 PN',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593770&x=3727',
		'title': '',
		'imageId': '67593770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593775&x=3727',
		'title': '200 093 PN',
		'imageId': '67593775',
		'alt' : '200 093 PN',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593780&x=3727',
		'title': '',
		'imageId': '67593780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593787&x=3727',
		'title': '200 094 PN',
		'imageId': '67593787',
		'alt' : '200 094 PN',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593790&x=3727',
		'title': '',
		'imageId': '67593790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593794&x=3727',
		'title': '200 095 PN',
		'imageId': '67593794',
		'alt' : '200 095 PN',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908214&docid=67593797&x=3727',
		'title': '',
		'imageId': '67593797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908214';

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