var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71373075&x=3922',
		'title': '',
		'imageId': '71373075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71429639&x=3922',
		'title': '',
		'imageId': '71429639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71373189&x=3922',
		'title': '',
		'imageId': '71373189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71373187&x=3922',
		'title': '',
		'imageId': '71373187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71373188&x=3922',
		'title': '',
		'imageId': '71373188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71373186&x=3922',
		'title': '',
		'imageId': '71373186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71429640&x=3922',
		'title': '',
		'imageId': '71429640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71429641&x=3922',
		'title': '',
		'imageId': '71429641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065448&docid=71429637&x=3922',
		'title': '',
		'imageId': '71429637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4065448';

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