var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178896&x=921',
		'title': '',
		'imageId': '69178896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178913&x=921',
		'title': '',
		'imageId': '69178913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178910&x=921',
		'title': '',
		'imageId': '69178910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178912&x=921',
		'title': '',
		'imageId': '69178912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178915&x=921',
		'title': '',
		'imageId': '69178915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178898&x=921',
		'title': '',
		'imageId': '69178898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178919&x=921',
		'title': '',
		'imageId': '69178919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178906&x=921',
		'title': '',
		'imageId': '69178906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178902&x=921',
		'title': '',
		'imageId': '69178902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178903&x=921',
		'title': '',
		'imageId': '69178903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178900&x=921',
		'title': '',
		'imageId': '69178900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178907&x=921',
		'title': '',
		'imageId': '69178907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178911&x=921',
		'title': '',
		'imageId': '69178911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178899&x=921',
		'title': '',
		'imageId': '69178899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178904&x=921',
		'title': '',
		'imageId': '69178904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178918&x=921',
		'title': '',
		'imageId': '69178918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178908&x=921',
		'title': '',
		'imageId': '69178908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178901&x=921',
		'title': '',
		'imageId': '69178901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178897&x=921',
		'title': '',
		'imageId': '69178897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178917&x=921',
		'title': '',
		'imageId': '69178917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178916&x=921',
		'title': '',
		'imageId': '69178916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178909&x=921',
		'title': '',
		'imageId': '69178909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178914&x=921',
		'title': '',
		'imageId': '69178914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976336&docid=69178905&x=921',
		'title': '',
		'imageId': '69178905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976336';

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