var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224224&x=3025',
		'title': '',
		'imageId': '69224224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224215&x=3025',
		'title': '',
		'imageId': '69224215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224214&x=3025',
		'title': '',
		'imageId': '69224214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224207&x=3025',
		'title': '',
		'imageId': '69224207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224217&x=3025',
		'title': '',
		'imageId': '69224217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224211&x=3025',
		'title': '',
		'imageId': '69224211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224221&x=3025',
		'title': '',
		'imageId': '69224221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224219&x=3025',
		'title': '',
		'imageId': '69224219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224218&x=3025',
		'title': '',
		'imageId': '69224218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224216&x=3025',
		'title': '',
		'imageId': '69224216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224212&x=3025',
		'title': '',
		'imageId': '69224212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224213&x=3025',
		'title': '',
		'imageId': '69224213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224223&x=3025',
		'title': '',
		'imageId': '69224223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224206&x=3025',
		'title': '',
		'imageId': '69224206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224210&x=3025',
		'title': '',
		'imageId': '69224210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224222&x=3025',
		'title': '',
		'imageId': '69224222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224225&x=3025',
		'title': '',
		'imageId': '69224225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224220&x=3025',
		'title': '',
		'imageId': '69224220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224209&x=3025',
		'title': '',
		'imageId': '69224209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978550&docid=69224208&x=3025',
		'title': '',
		'imageId': '69224208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978550';

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