var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558898&x=042',
		'title': '',
		'imageId': '68558898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558904&x=042',
		'title': '',
		'imageId': '68558904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558908&x=042',
		'title': '',
		'imageId': '68558908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558900&x=042',
		'title': '',
		'imageId': '68558900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558902&x=042',
		'title': '',
		'imageId': '68558902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558905&x=042',
		'title': '',
		'imageId': '68558905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558903&x=042',
		'title': '',
		'imageId': '68558903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558907&x=042',
		'title': '',
		'imageId': '68558907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558899&x=042',
		'title': '',
		'imageId': '68558899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558906&x=042',
		'title': '',
		'imageId': '68558906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948731&docid=68558901&x=042',
		'title': '',
		'imageId': '68558901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948731';

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