var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298345&x=3639',
		'title': '',
		'imageId': '70298345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298349&x=3639',
		'title': '',
		'imageId': '70298349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298352&x=3639',
		'title': '',
		'imageId': '70298352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298357&x=3639',
		'title': '',
		'imageId': '70298357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298362&x=3639',
		'title': '',
		'imageId': '70298362',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298363&x=3639',
		'title': '',
		'imageId': '70298363',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298364&x=3639',
		'title': '',
		'imageId': '70298364',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298374&x=3639',
		'title': '',
		'imageId': '70298374',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298377&x=3639',
		'title': '',
		'imageId': '70298377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298346&x=3639',
		'title': '',
		'imageId': '70298346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023018&docid=70298344&x=3639',
		'title': '',
		'imageId': '70298344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023018';

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