var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412982&x=3314',
		'title': '',
		'imageId': '70412982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412991&x=3314',
		'title': '',
		'imageId': '70412991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412983&x=3314',
		'title': '',
		'imageId': '70412983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412984&x=3314',
		'title': '',
		'imageId': '70412984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412985&x=3314',
		'title': '',
		'imageId': '70412985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412986&x=3314',
		'title': '',
		'imageId': '70412986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412987&x=3314',
		'title': '',
		'imageId': '70412987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412988&x=3314',
		'title': '',
		'imageId': '70412988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412989&x=3314',
		'title': '',
		'imageId': '70412989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412990&x=3314',
		'title': '',
		'imageId': '70412990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028419&docid=70412992&x=3314',
		'title': '',
		'imageId': '70412992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028419';

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