var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714159&x=4857',
		'title': '',
		'imageId': '69714159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714160&x=4857',
		'title': '',
		'imageId': '69714160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714156&x=4857',
		'title': '',
		'imageId': '69714156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714166&x=4857',
		'title': '',
		'imageId': '69714166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714165&x=4857',
		'title': '',
		'imageId': '69714165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714158&x=4857',
		'title': '',
		'imageId': '69714158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714157&x=4857',
		'title': '',
		'imageId': '69714157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69714164&x=4857',
		'title': '',
		'imageId': '69714164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69716131&x=4857',
		'title': '',
		'imageId': '69716131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69716130&x=4857',
		'title': '',
		'imageId': '69716130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000217&docid=69716129&x=4857',
		'title': '',
		'imageId': '69716129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000217';

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