var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668937&x=149',
		'title': '',
		'imageId': '69668937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668927&x=149',
		'title': '',
		'imageId': '69668927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668931&x=149',
		'title': '',
		'imageId': '69668931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668936&x=149',
		'title': '',
		'imageId': '69668936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668879&x=149',
		'title': '',
		'imageId': '69668879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668899&x=149',
		'title': '',
		'imageId': '69668899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668916&x=149',
		'title': '',
		'imageId': '69668916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668864&x=149',
		'title': '',
		'imageId': '69668864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668898&x=149',
		'title': '',
		'imageId': '69668898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668913&x=149',
		'title': '',
		'imageId': '69668913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668892&x=149',
		'title': '',
		'imageId': '69668892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668904&x=149',
		'title': '',
		'imageId': '69668904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668920&x=149',
		'title': '',
		'imageId': '69668920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668907&x=149',
		'title': '',
		'imageId': '69668907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668893&x=149',
		'title': '',
		'imageId': '69668893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668923&x=149',
		'title': '',
		'imageId': '69668923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668838&x=149',
		'title': '',
		'imageId': '69668838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668839&x=149',
		'title': '',
		'imageId': '69668839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668840&x=149',
		'title': '',
		'imageId': '69668840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668841&x=149',
		'title': '',
		'imageId': '69668841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668842&x=149',
		'title': '',
		'imageId': '69668842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668847&x=149',
		'title': '',
		'imageId': '69668847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668941&x=149',
		'title': '',
		'imageId': '69668941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998397&docid=69668938&x=149',
		'title': '',
		'imageId': '69668938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998397';

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