var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607183&x=5156',
		'title': '',
		'imageId': '68607183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607186&x=5156',
		'title': '',
		'imageId': '68607186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607192&x=5156',
		'title': '',
		'imageId': '68607192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607193&x=5156',
		'title': '',
		'imageId': '68607193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607187&x=5156',
		'title': '',
		'imageId': '68607187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607188&x=5156',
		'title': '',
		'imageId': '68607188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607191&x=5156',
		'title': '',
		'imageId': '68607191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607185&x=5156',
		'title': '',
		'imageId': '68607185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607189&x=5156',
		'title': '',
		'imageId': '68607189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607184&x=5156',
		'title': '',
		'imageId': '68607184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950166&docid=68607190&x=5156',
		'title': '',
		'imageId': '68607190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950166';

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