var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622822&x=4257',
		'title': '',
		'imageId': '70622822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622823&x=4257',
		'title': '',
		'imageId': '70622823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622824&x=4257',
		'title': '',
		'imageId': '70622824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622825&x=4257',
		'title': '',
		'imageId': '70622825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622826&x=4257',
		'title': '',
		'imageId': '70622826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622827&x=4257',
		'title': '',
		'imageId': '70622827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622828&x=4257',
		'title': '',
		'imageId': '70622828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622829&x=4257',
		'title': '',
		'imageId': '70622829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036166&docid=70622830&x=4257',
		'title': '',
		'imageId': '70622830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036166';

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