var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913312&x=224',
		'title': '',
		'imageId': '69913312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913320&x=224',
		'title': '',
		'imageId': '69913320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913313&x=224',
		'title': '',
		'imageId': '69913313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913316&x=224',
		'title': '',
		'imageId': '69913316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913315&x=224',
		'title': '',
		'imageId': '69913315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913322&x=224',
		'title': '',
		'imageId': '69913322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913318&x=224',
		'title': '',
		'imageId': '69913318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913314&x=224',
		'title': '',
		'imageId': '69913314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913319&x=224',
		'title': '',
		'imageId': '69913319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913321&x=224',
		'title': '',
		'imageId': '69913321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913317&x=224',
		'title': '',
		'imageId': '69913317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008130&docid=69913311&x=224',
		'title': '',
		'imageId': '69913311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008130';

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