var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611203&x=3616',
		'title': '',
		'imageId': '68611203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611204&x=3616',
		'title': '',
		'imageId': '68611204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611205&x=3616',
		'title': '',
		'imageId': '68611205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611224&x=3616',
		'title': '',
		'imageId': '68611224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611223&x=3616',
		'title': '',
		'imageId': '68611223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611206&x=3616',
		'title': '',
		'imageId': '68611206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611207&x=3616',
		'title': '',
		'imageId': '68611207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611210&x=3616',
		'title': '',
		'imageId': '68611210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611209&x=3616',
		'title': '',
		'imageId': '68611209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611211&x=3616',
		'title': '',
		'imageId': '68611211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611212&x=3616',
		'title': '',
		'imageId': '68611212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611222&x=3616',
		'title': '',
		'imageId': '68611222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611208&x=3616',
		'title': '',
		'imageId': '68611208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611215&x=3616',
		'title': '',
		'imageId': '68611215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611214&x=3616',
		'title': '',
		'imageId': '68611214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611218&x=3616',
		'title': '',
		'imageId': '68611218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611213&x=3616',
		'title': '',
		'imageId': '68611213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611216&x=3616',
		'title': '',
		'imageId': '68611216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611219&x=3616',
		'title': '',
		'imageId': '68611219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611217&x=3616',
		'title': '',
		'imageId': '68611217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611220&x=3616',
		'title': '',
		'imageId': '68611220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991055&docid=68611221&x=3616',
		'title': '',
		'imageId': '68611221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991055';

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