var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028622&x=3613',
		'title': '',
		'imageId': '69028622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028616&x=3613',
		'title': '',
		'imageId': '69028616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028611&x=3613',
		'title': '',
		'imageId': '69028611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028609&x=3613',
		'title': '',
		'imageId': '69028609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028620&x=3613',
		'title': '',
		'imageId': '69028620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028615&x=3613',
		'title': '',
		'imageId': '69028615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028619&x=3613',
		'title': '',
		'imageId': '69028619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028604&x=3613',
		'title': '',
		'imageId': '69028604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028605&x=3613',
		'title': '',
		'imageId': '69028605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028613&x=3613',
		'title': '',
		'imageId': '69028613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028608&x=3613',
		'title': '',
		'imageId': '69028608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028603&x=3613',
		'title': '',
		'imageId': '69028603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028602&x=3613',
		'title': '',
		'imageId': '69028602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028617&x=3613',
		'title': '',
		'imageId': '69028617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028612&x=3613',
		'title': '',
		'imageId': '69028612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028618&x=3613',
		'title': '',
		'imageId': '69028618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970428&docid=69028623&x=3613',
		'title': '',
		'imageId': '69028623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970428';

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