var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079234&x=5558',
		'title': '',
		'imageId': '69079234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079239&x=5558',
		'title': '',
		'imageId': '69079239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079242&x=5558',
		'title': '',
		'imageId': '69079242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079245&x=5558',
		'title': '',
		'imageId': '69079245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079248&x=5558',
		'title': '',
		'imageId': '69079248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079251&x=5558',
		'title': '',
		'imageId': '69079251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079254&x=5558',
		'title': '',
		'imageId': '69079254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079257&x=5558',
		'title': '',
		'imageId': '69079257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079261&x=5558',
		'title': '',
		'imageId': '69079261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079264&x=5558',
		'title': '',
		'imageId': '69079264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972302&docid=69079267&x=5558',
		'title': '',
		'imageId': '69079267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972302';

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