var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436614&x=321',
		'title': '',
		'imageId': '70436614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436616&x=321',
		'title': '',
		'imageId': '70436616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436617&x=321',
		'title': '',
		'imageId': '70436617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436618&x=321',
		'title': '',
		'imageId': '70436618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436619&x=321',
		'title': '',
		'imageId': '70436619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436620&x=321',
		'title': '',
		'imageId': '70436620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436621&x=321',
		'title': '',
		'imageId': '70436621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436622&x=321',
		'title': '',
		'imageId': '70436622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029397&docid=70436623&x=321',
		'title': '',
		'imageId': '70436623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029397';

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