var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994146&x=2841',
		'title': '',
		'imageId': '69994146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994141&x=2841',
		'title': '',
		'imageId': '69994141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994143&x=2841',
		'title': '',
		'imageId': '69994143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994140&x=2841',
		'title': '',
		'imageId': '69994140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994148&x=2841',
		'title': '',
		'imageId': '69994148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994137&x=2841',
		'title': '',
		'imageId': '69994137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994142&x=2841',
		'title': '',
		'imageId': '69994142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994147&x=2841',
		'title': '',
		'imageId': '69994147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994145&x=2841',
		'title': '',
		'imageId': '69994145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994144&x=2841',
		'title': '',
		'imageId': '69994144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994138&x=2841',
		'title': '',
		'imageId': '69994138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008243&docid=69994139&x=2841',
		'title': '',
		'imageId': '69994139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008243';

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