var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966782&x=5221',
		'title': '',
		'imageId': '69966782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966786&x=5221',
		'title': '',
		'imageId': '69966786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966776&x=5221',
		'title': '',
		'imageId': '69966776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966784&x=5221',
		'title': '',
		'imageId': '69966784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966783&x=5221',
		'title': '',
		'imageId': '69966783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966785&x=5221',
		'title': '',
		'imageId': '69966785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966779&x=5221',
		'title': '',
		'imageId': '69966779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966777&x=5221',
		'title': '',
		'imageId': '69966777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966778&x=5221',
		'title': '',
		'imageId': '69966778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010289&docid=69966780&x=5221',
		'title': '',
		'imageId': '69966780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010289';

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