var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909588&x=716',
		'title': '',
		'imageId': '69909588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909591&x=716',
		'title': '',
		'imageId': '69909591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909593&x=716',
		'title': '',
		'imageId': '69909593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909594&x=716',
		'title': '',
		'imageId': '69909594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909592&x=716',
		'title': '',
		'imageId': '69909592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909590&x=716',
		'title': '',
		'imageId': '69909590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909586&x=716',
		'title': '',
		'imageId': '69909586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909596&x=716',
		'title': '',
		'imageId': '69909596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909587&x=716',
		'title': '',
		'imageId': '69909587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909595&x=716',
		'title': '',
		'imageId': '69909595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007988&docid=69909589&x=716',
		'title': '',
		'imageId': '69909589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007988';

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