var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505491&x=4419',
		'title': '',
		'imageId': '69505491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505486&x=4419',
		'title': '',
		'imageId': '69505486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505490&x=4419',
		'title': '',
		'imageId': '69505490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505494&x=4419',
		'title': '',
		'imageId': '69505494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505488&x=4419',
		'title': '',
		'imageId': '69505488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505489&x=4419',
		'title': '',
		'imageId': '69505489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505493&x=4419',
		'title': '',
		'imageId': '69505493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505492&x=4419',
		'title': '',
		'imageId': '69505492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505495&x=4419',
		'title': '',
		'imageId': '69505495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505487&x=4419',
		'title': '',
		'imageId': '69505487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990775&docid=69505485&x=4419',
		'title': '',
		'imageId': '69505485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990775';

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