var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317768&x=3735',
		'title': '',
		'imageId': '70317768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317769&x=3735',
		'title': '',
		'imageId': '70317769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317772&x=3735',
		'title': '',
		'imageId': '70317772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317771&x=3735',
		'title': '',
		'imageId': '70317771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317770&x=3735',
		'title': '',
		'imageId': '70317770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317773&x=3735',
		'title': '',
		'imageId': '70317773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317780&x=3735',
		'title': '',
		'imageId': '70317780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317776&x=3735',
		'title': '',
		'imageId': '70317776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023725&docid=70317784&x=3735',
		'title': '',
		'imageId': '70317784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023725';

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