var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707610&x=5351',
		'title': '',
		'imageId': '69707610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707607&x=5351',
		'title': '',
		'imageId': '69707607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707611&x=5351',
		'title': '',
		'imageId': '69707611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707603&x=5351',
		'title': '',
		'imageId': '69707603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707612&x=5351',
		'title': '',
		'imageId': '69707612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707604&x=5351',
		'title': '',
		'imageId': '69707604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707606&x=5351',
		'title': '',
		'imageId': '69707606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707605&x=5351',
		'title': '',
		'imageId': '69707605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707609&x=5351',
		'title': '',
		'imageId': '69707609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707608&x=5351',
		'title': '',
		'imageId': '69707608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020202&docid=69707613&x=5351',
		'title': '',
		'imageId': '69707613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020202';

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