var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435205&x=1659',
		'title': '',
		'imageId': '69435205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435211&x=1659',
		'title': '',
		'imageId': '69435211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435216&x=1659',
		'title': '',
		'imageId': '69435216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435224&x=1659',
		'title': '',
		'imageId': '69435224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435227&x=1659',
		'title': '',
		'imageId': '69435227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435230&x=1659',
		'title': '',
		'imageId': '69435230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435233&x=1659',
		'title': '',
		'imageId': '69435233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435236&x=1659',
		'title': '',
		'imageId': '69435236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435239&x=1659',
		'title': '',
		'imageId': '69435239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435243&x=1659',
		'title': '',
		'imageId': '69435243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006977&docid=69435250&x=1659',
		'title': '',
		'imageId': '69435250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006977';

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