var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265408&x=353',
		'title': '',
		'imageId': '69265408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265411&x=353',
		'title': '',
		'imageId': '69265411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265409&x=353',
		'title': '',
		'imageId': '69265409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265407&x=353',
		'title': '',
		'imageId': '69265407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265415&x=353',
		'title': '',
		'imageId': '69265415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265414&x=353',
		'title': '',
		'imageId': '69265414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265410&x=353',
		'title': '',
		'imageId': '69265410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265412&x=353',
		'title': '',
		'imageId': '69265412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265413&x=353',
		'title': '',
		'imageId': '69265413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980092&docid=69265416&x=353',
		'title': '',
		'imageId': '69265416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980092';

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