var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667934&x=2758',
		'title': '',
		'imageId': '69667934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667936&x=2758',
		'title': '',
		'imageId': '69667936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667935&x=2758',
		'title': '',
		'imageId': '69667935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667937&x=2758',
		'title': '',
		'imageId': '69667937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667940&x=2758',
		'title': '',
		'imageId': '69667940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667943&x=2758',
		'title': '',
		'imageId': '69667943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667948&x=2758',
		'title': '',
		'imageId': '69667948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667949&x=2758',
		'title': '',
		'imageId': '69667949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667954&x=2758',
		'title': '',
		'imageId': '69667954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667933&x=2758',
		'title': '',
		'imageId': '69667933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998640&docid=69667932&x=2758',
		'title': '',
		'imageId': '69667932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998640';

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