var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216500&x=2451',
		'title': '',
		'imageId': '70216500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216502&x=2451',
		'title': '',
		'imageId': '70216502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216503&x=2451',
		'title': '',
		'imageId': '70216503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216684&x=2451',
		'title': '',
		'imageId': '70216684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216611&x=2451',
		'title': '',
		'imageId': '70216611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216612&x=2451',
		'title': '',
		'imageId': '70216612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216613&x=2451',
		'title': '',
		'imageId': '70216613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216614&x=2451',
		'title': '',
		'imageId': '70216614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216615&x=2451',
		'title': '',
		'imageId': '70216615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216616&x=2451',
		'title': '',
		'imageId': '70216616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019444&docid=70216617&x=2451',
		'title': '',
		'imageId': '70216617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019444';

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