var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501832&x=4441',
		'title': '',
		'imageId': '69501832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501837&x=4441',
		'title': '',
		'imageId': '69501837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501833&x=4441',
		'title': '',
		'imageId': '69501833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501838&x=4441',
		'title': '',
		'imageId': '69501838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501835&x=4441',
		'title': '',
		'imageId': '69501835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501829&x=4441',
		'title': '',
		'imageId': '69501829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501831&x=4441',
		'title': '',
		'imageId': '69501831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501834&x=4441',
		'title': '',
		'imageId': '69501834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501823&x=4441',
		'title': '',
		'imageId': '69501823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501830&x=4441',
		'title': '',
		'imageId': '69501830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990626&docid=69501836&x=4441',
		'title': '',
		'imageId': '69501836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990626';

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