var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374611&x=2355',
		'title': '',
		'imageId': '70374611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374604&x=2355',
		'title': '',
		'imageId': '70374604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374602&x=2355',
		'title': '',
		'imageId': '70374602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374606&x=2355',
		'title': '',
		'imageId': '70374606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374607&x=2355',
		'title': '',
		'imageId': '70374607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374609&x=2355',
		'title': '',
		'imageId': '70374609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374608&x=2355',
		'title': '',
		'imageId': '70374608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374605&x=2355',
		'title': '',
		'imageId': '70374605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374603&x=2355',
		'title': '',
		'imageId': '70374603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026909&docid=70374610&x=2355',
		'title': '',
		'imageId': '70374610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026909';

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