var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689591&x=825',
		'title': '',
		'imageId': '70689591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689594&x=825',
		'title': '',
		'imageId': '70689594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689595&x=825',
		'title': '',
		'imageId': '70689595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689596&x=825',
		'title': '',
		'imageId': '70689596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689597&x=825',
		'title': '',
		'imageId': '70689597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689598&x=825',
		'title': '',
		'imageId': '70689598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689600&x=825',
		'title': '',
		'imageId': '70689600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689599&x=825',
		'title': '',
		'imageId': '70689599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689601&x=825',
		'title': '',
		'imageId': '70689601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689602&x=825',
		'title': '',
		'imageId': '70689602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038577&docid=70689603&x=825',
		'title': '',
		'imageId': '70689603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038577';

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