var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108914&x=2340',
		'title': '',
		'imageId': '69108914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108915&x=2340',
		'title': '',
		'imageId': '69108915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108922&x=2340',
		'title': '',
		'imageId': '69108922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108916&x=2340',
		'title': '',
		'imageId': '69108916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108921&x=2340',
		'title': '',
		'imageId': '69108921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108917&x=2340',
		'title': '',
		'imageId': '69108917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108918&x=2340',
		'title': '',
		'imageId': '69108918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108919&x=2340',
		'title': '',
		'imageId': '69108919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006081&docid=69108920&x=2340',
		'title': '',
		'imageId': '69108920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006081';

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