var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209219&x=4022',
		'title': '',
		'imageId': '70209219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209216&x=4022',
		'title': '',
		'imageId': '70209216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209221&x=4022',
		'title': '',
		'imageId': '70209221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209220&x=4022',
		'title': '',
		'imageId': '70209220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209224&x=4022',
		'title': '',
		'imageId': '70209224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209217&x=4022',
		'title': '',
		'imageId': '70209217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209223&x=4022',
		'title': '',
		'imageId': '70209223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209222&x=4022',
		'title': '',
		'imageId': '70209222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019190&docid=70209218&x=4022',
		'title': '',
		'imageId': '70209218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019190';

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