var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045155&x=3359',
		'title': '',
		'imageId': '71045155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045158&x=3359',
		'title': '',
		'imageId': '71045158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045154&x=3359',
		'title': '',
		'imageId': '71045154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045156&x=3359',
		'title': '',
		'imageId': '71045156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045159&x=3359',
		'title': '',
		'imageId': '71045159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045160&x=3359',
		'title': '',
		'imageId': '71045160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052326&docid=71045161&x=3359',
		'title': '',
		'imageId': '71045161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052326';

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