var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770890&x=445',
		'title': '',
		'imageId': '69770890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770887&x=445',
		'title': '',
		'imageId': '69770887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770886&x=445',
		'title': '',
		'imageId': '69770886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770884&x=445',
		'title': '',
		'imageId': '69770884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770883&x=445',
		'title': '',
		'imageId': '69770883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770891&x=445',
		'title': '',
		'imageId': '69770891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770889&x=445',
		'title': '',
		'imageId': '69770889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770888&x=445',
		'title': '',
		'imageId': '69770888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770885&x=445',
		'title': '',
		'imageId': '69770885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770881&x=445',
		'title': '',
		'imageId': '69770881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011880&docid=69770882&x=445',
		'title': '',
		'imageId': '69770882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011880';

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