var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995788&x=3715',
		'title': '',
		'imageId': '69995788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995790&x=3715',
		'title': '',
		'imageId': '69995790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995781&x=3715',
		'title': '',
		'imageId': '69995781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995782&x=3715',
		'title': '',
		'imageId': '69995782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995789&x=3715',
		'title': '',
		'imageId': '69995789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995785&x=3715',
		'title': '',
		'imageId': '69995785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995787&x=3715',
		'title': '',
		'imageId': '69995787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995786&x=3715',
		'title': '',
		'imageId': '69995786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995783&x=3715',
		'title': '',
		'imageId': '69995783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995784&x=3715',
		'title': '',
		'imageId': '69995784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011684&docid=69995780&x=3715',
		'title': '',
		'imageId': '69995780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011684';

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