var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567289&x=4155',
		'title': '',
		'imageId': '2567289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567292&x=4155',
		'title': '',
		'imageId': '2567292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567295&x=4155',
		'title': '',
		'imageId': '2567295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567298&x=4155',
		'title': '',
		'imageId': '2567298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567301&x=4155',
		'title': '',
		'imageId': '2567301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567304&x=4155',
		'title': '',
		'imageId': '2567304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567307&x=4155',
		'title': '',
		'imageId': '2567307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567310&x=4155',
		'title': '',
		'imageId': '2567310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567313&x=4155',
		'title': '',
		'imageId': '2567313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567317&x=4155',
		'title': '',
		'imageId': '2567317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567320&x=4155',
		'title': '',
		'imageId': '2567320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478571&docid=2567328&x=4155',
		'title': '',
		'imageId': '2567328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #478571';

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