var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107235&x=3916',
		'title': '',
		'imageId': '71107235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107236&x=3916',
		'title': '',
		'imageId': '71107236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107237&x=3916',
		'title': '',
		'imageId': '71107237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107238&x=3916',
		'title': '',
		'imageId': '71107238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107239&x=3916',
		'title': '',
		'imageId': '71107239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107240&x=3916',
		'title': '',
		'imageId': '71107240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107244&x=3916',
		'title': '',
		'imageId': '71107244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054219&docid=71107245&x=3916',
		'title': '',
		'imageId': '71107245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054219';

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