var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69953256&x=723',
		'title': '',
		'imageId': '69953256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69953254&x=723',
		'title': '',
		'imageId': '69953254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69953255&x=723',
		'title': '',
		'imageId': '69953255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69953257&x=723',
		'title': '',
		'imageId': '69953257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947857&x=723',
		'title': '',
		'imageId': '69947857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947858&x=723',
		'title': '',
		'imageId': '69947858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947861&x=723',
		'title': '',
		'imageId': '69947861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947860&x=723',
		'title': '',
		'imageId': '69947860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947859&x=723',
		'title': '',
		'imageId': '69947859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947896&x=723',
		'title': '',
		'imageId': '69947896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947864&x=723',
		'title': '',
		'imageId': '69947864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009496&docid=69947863&x=723',
		'title': '',
		'imageId': '69947863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009496';

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