var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890761&x=2516',
		'title': '',
		'imageId': '70890761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890762&x=2516',
		'title': '',
		'imageId': '70890762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890763&x=2516',
		'title': '',
		'imageId': '70890763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890764&x=2516',
		'title': '',
		'imageId': '70890764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890772&x=2516',
		'title': '',
		'imageId': '70890772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890773&x=2516',
		'title': '',
		'imageId': '70890773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890774&x=2516',
		'title': '',
		'imageId': '70890774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890781&x=2516',
		'title': '',
		'imageId': '70890781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890780&x=2516',
		'title': '',
		'imageId': '70890780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890783&x=2516',
		'title': '',
		'imageId': '70890783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045835&docid=70890760&x=2516',
		'title': '',
		'imageId': '70890760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045835';

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