var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209834&x=5728',
		'title': '',
		'imageId': '70209834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209835&x=5728',
		'title': '',
		'imageId': '70209835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209836&x=5728',
		'title': '',
		'imageId': '70209836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209837&x=5728',
		'title': '',
		'imageId': '70209837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209839&x=5728',
		'title': '',
		'imageId': '70209839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209847&x=5728',
		'title': '',
		'imageId': '70209847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209833&x=5728',
		'title': '',
		'imageId': '70209833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209852&x=5728',
		'title': '',
		'imageId': '70209852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209878&x=5728',
		'title': '',
		'imageId': '70209878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019207&docid=70209898&x=5728',
		'title': '',
		'imageId': '70209898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019207';

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