var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885425&x=5317',
		'title': '',
		'imageId': '71885425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885417&x=5317',
		'title': '',
		'imageId': '71885417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885418&x=5317',
		'title': '',
		'imageId': '71885418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885421&x=5317',
		'title': '',
		'imageId': '71885421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885424&x=5317',
		'title': '',
		'imageId': '71885424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885419&x=5317',
		'title': '',
		'imageId': '71885419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885423&x=5317',
		'title': '',
		'imageId': '71885423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885420&x=5317',
		'title': '',
		'imageId': '71885420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087882&docid=71885422&x=5317',
		'title': '',
		'imageId': '71885422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087882';

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