var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265663&x=1039',
		'title': '',
		'imageId': '69265663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265669&x=1039',
		'title': '',
		'imageId': '69265669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265666&x=1039',
		'title': '',
		'imageId': '69265666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265664&x=1039',
		'title': '',
		'imageId': '69265664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265667&x=1039',
		'title': '',
		'imageId': '69265667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265668&x=1039',
		'title': '',
		'imageId': '69265668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265670&x=1039',
		'title': '',
		'imageId': '69265670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265662&x=1039',
		'title': '',
		'imageId': '69265662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265671&x=1039',
		'title': '',
		'imageId': '69265671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265661&x=1039',
		'title': '',
		'imageId': '69265661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265665&x=1039',
		'title': '',
		'imageId': '69265665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980103&docid=69265660&x=1039',
		'title': '',
		'imageId': '69265660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980103';

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