var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704766&x=3842',
		'title': '',
		'imageId': '61704766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704763&x=3842',
		'title': '',
		'imageId': '61704763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704767&x=3842',
		'title': '',
		'imageId': '61704767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704769&x=3842',
		'title': '',
		'imageId': '61704769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704768&x=3842',
		'title': '',
		'imageId': '61704768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704770&x=3842',
		'title': '',
		'imageId': '61704770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704774&x=3842',
		'title': '',
		'imageId': '61704774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704771&x=3842',
		'title': '',
		'imageId': '61704771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704773&x=3842',
		'title': '',
		'imageId': '61704773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704772&x=3842',
		'title': '',
		'imageId': '61704772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704776&x=3842',
		'title': '',
		'imageId': '61704776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955010&docid=61704775&x=3842',
		'title': '',
		'imageId': '61704775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955010';

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