var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059827&x=2840',
		'title': '',
		'imageId': '70059827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059828&x=2840',
		'title': '',
		'imageId': '70059828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059839&x=2840',
		'title': '',
		'imageId': '70059839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059840&x=2840',
		'title': '',
		'imageId': '70059840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059841&x=2840',
		'title': '',
		'imageId': '70059841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059846&x=2840',
		'title': '',
		'imageId': '70059846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059831&x=2840',
		'title': '',
		'imageId': '70059831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059829&x=2840',
		'title': '',
		'imageId': '70059829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059830&x=2840',
		'title': '',
		'imageId': '70059830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059832&x=2840',
		'title': '',
		'imageId': '70059832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059850&x=2840',
		'title': '',
		'imageId': '70059850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014124&docid=70059849&x=2840',
		'title': '',
		'imageId': '70059849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014124';

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