var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575953&x=1414',
		'title': '',
		'imageId': '70575953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575959&x=1414',
		'title': '',
		'imageId': '70575959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575957&x=1414',
		'title': '',
		'imageId': '70575957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575951&x=1414',
		'title': '',
		'imageId': '70575951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575958&x=1414',
		'title': '',
		'imageId': '70575958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575952&x=1414',
		'title': '',
		'imageId': '70575952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575950&x=1414',
		'title': '',
		'imageId': '70575950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575955&x=1414',
		'title': '',
		'imageId': '70575955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047624&docid=70575954&x=1414',
		'title': '',
		'imageId': '70575954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4047624';

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