var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413125&x=434',
		'title': '',
		'imageId': '70413125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413126&x=434',
		'title': '',
		'imageId': '70413126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413127&x=434',
		'title': '',
		'imageId': '70413127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413128&x=434',
		'title': '',
		'imageId': '70413128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413129&x=434',
		'title': '',
		'imageId': '70413129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413130&x=434',
		'title': '',
		'imageId': '70413130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413131&x=434',
		'title': '',
		'imageId': '70413131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413132&x=434',
		'title': '',
		'imageId': '70413132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413133&x=434',
		'title': '',
		'imageId': '70413133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413135&x=434',
		'title': '',
		'imageId': '70413135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028423&docid=70413134&x=434',
		'title': '',
		'imageId': '70413134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028423';

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