var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225896&x=5435',
		'title': '',
		'imageId': '68225896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225897&x=5435',
		'title': '',
		'imageId': '68225897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225898&x=5435',
		'title': '',
		'imageId': '68225898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225899&x=5435',
		'title': '',
		'imageId': '68225899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225900&x=5435',
		'title': '',
		'imageId': '68225900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225901&x=5435',
		'title': '',
		'imageId': '68225901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225902&x=5435',
		'title': '',
		'imageId': '68225902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225903&x=5435',
		'title': '',
		'imageId': '68225903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225904&x=5435',
		'title': '',
		'imageId': '68225904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225905&x=5435',
		'title': '',
		'imageId': '68225905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225906&x=5435',
		'title': '',
		'imageId': '68225906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225907&x=5435',
		'title': '',
		'imageId': '68225907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225908&x=5435',
		'title': '',
		'imageId': '68225908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225909&x=5435',
		'title': '',
		'imageId': '68225909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225910&x=5435',
		'title': '',
		'imageId': '68225910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225911&x=5435',
		'title': '',
		'imageId': '68225911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225912&x=5435',
		'title': '',
		'imageId': '68225912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225913&x=5435',
		'title': '',
		'imageId': '68225913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225914&x=5435',
		'title': '',
		'imageId': '68225914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225915&x=5435',
		'title': '',
		'imageId': '68225915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225916&x=5435',
		'title': '',
		'imageId': '68225916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933922&docid=68225917&x=5435',
		'title': '',
		'imageId': '68225917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933922';

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