var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157234&x=290',
		'title': '',
		'imageId': '69157234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157235&x=290',
		'title': '',
		'imageId': '69157235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157236&x=290',
		'title': '',
		'imageId': '69157236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157237&x=290',
		'title': '',
		'imageId': '69157237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157238&x=290',
		'title': '',
		'imageId': '69157238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157239&x=290',
		'title': '',
		'imageId': '69157239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157240&x=290',
		'title': '',
		'imageId': '69157240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157241&x=290',
		'title': '',
		'imageId': '69157241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157242&x=290',
		'title': '',
		'imageId': '69157242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157243&x=290',
		'title': '',
		'imageId': '69157243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157244&x=290',
		'title': '',
		'imageId': '69157244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975435&docid=69157245&x=290',
		'title': '',
		'imageId': '69157245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975435';

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