var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594923&x=3942',
		'title': '',
		'imageId': '68594923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594926&x=3942',
		'title': '',
		'imageId': '68594926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594918&x=3942',
		'title': '',
		'imageId': '68594918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594916&x=3942',
		'title': '',
		'imageId': '68594916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594917&x=3942',
		'title': '',
		'imageId': '68594917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594924&x=3942',
		'title': '',
		'imageId': '68594924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594925&x=3942',
		'title': '',
		'imageId': '68594925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594921&x=3942',
		'title': '',
		'imageId': '68594921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594920&x=3942',
		'title': '',
		'imageId': '68594920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594922&x=3942',
		'title': '',
		'imageId': '68594922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949183&docid=68594919&x=3942',
		'title': '',
		'imageId': '68594919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949183';

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