var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223403&x=296',
		'title': '',
		'imageId': '71223403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223400&x=296',
		'title': '',
		'imageId': '71223400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223401&x=296',
		'title': '',
		'imageId': '71223401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223419&x=296',
		'title': '',
		'imageId': '71223419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223404&x=296',
		'title': '',
		'imageId': '71223404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223426&x=296',
		'title': '',
		'imageId': '71223426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223416&x=296',
		'title': '',
		'imageId': '71223416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058900&docid=71223429&x=296',
		'title': '',
		'imageId': '71223429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058900';

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