var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347606&x=613',
		'title': '',
		'imageId': '70347606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347601&x=613',
		'title': '',
		'imageId': '70347601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347596&x=613',
		'title': '',
		'imageId': '70347596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347602&x=613',
		'title': '',
		'imageId': '70347602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347605&x=613',
		'title': '',
		'imageId': '70347605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347604&x=613',
		'title': '',
		'imageId': '70347604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347597&x=613',
		'title': '',
		'imageId': '70347597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347603&x=613',
		'title': '',
		'imageId': '70347603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347599&x=613',
		'title': '',
		'imageId': '70347599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347600&x=613',
		'title': '',
		'imageId': '70347600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023965&docid=70347598&x=613',
		'title': '',
		'imageId': '70347598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023965';

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