var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626253&x=5028',
		'title': '',
		'imageId': '70626253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626254&x=5028',
		'title': '',
		'imageId': '70626254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626255&x=5028',
		'title': '',
		'imageId': '70626255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626256&x=5028',
		'title': '',
		'imageId': '70626256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626259&x=5028',
		'title': '',
		'imageId': '70626259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626260&x=5028',
		'title': '',
		'imageId': '70626260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626268&x=5028',
		'title': '',
		'imageId': '70626268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626276&x=5028',
		'title': '',
		'imageId': '70626276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036219&docid=70626289&x=5028',
		'title': '',
		'imageId': '70626289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036219';

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