var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988573&x=1752',
		'title': '',
		'imageId': '69988573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988576&x=1752',
		'title': '',
		'imageId': '69988576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988581&x=1752',
		'title': '',
		'imageId': '69988581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988584&x=1752',
		'title': '',
		'imageId': '69988584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988587&x=1752',
		'title': '',
		'imageId': '69988587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988591&x=1752',
		'title': '',
		'imageId': '69988591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988594&x=1752',
		'title': '',
		'imageId': '69988594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988597&x=1752',
		'title': '',
		'imageId': '69988597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988600&x=1752',
		'title': '',
		'imageId': '69988600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988603&x=1752',
		'title': '',
		'imageId': '69988603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011299&docid=69988606&x=1752',
		'title': '',
		'imageId': '69988606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011299';

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