var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71153922&x=1916',
		'title': '',
		'imageId': '71153922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71153921&x=1916',
		'title': '',
		'imageId': '71153921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71153938&x=1916',
		'title': '',
		'imageId': '71153938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71153971&x=1916',
		'title': '',
		'imageId': '71153971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71153972&x=1916',
		'title': '',
		'imageId': '71153972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154031&x=1916',
		'title': '',
		'imageId': '71154031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154037&x=1916',
		'title': '',
		'imageId': '71154037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154039&x=1916',
		'title': '',
		'imageId': '71154039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154036&x=1916',
		'title': '',
		'imageId': '71154036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154038&x=1916',
		'title': '',
		'imageId': '71154038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056108&docid=71154050&x=1916',
		'title': '',
		'imageId': '71154050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056108';

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