var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623091&x=373',
		'title': '',
		'imageId': '71623091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623088&x=373',
		'title': '',
		'imageId': '71623088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623090&x=373',
		'title': '',
		'imageId': '71623090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623092&x=373',
		'title': '',
		'imageId': '71623092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623087&x=373',
		'title': '',
		'imageId': '71623087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623089&x=373',
		'title': '',
		'imageId': '71623089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623086&x=373',
		'title': '',
		'imageId': '71623086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081542&docid=71623085&x=373',
		'title': '',
		'imageId': '71623085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4081542';

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