var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011504&x=2131',
		'title': '',
		'imageId': '70011504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011505&x=2131',
		'title': '',
		'imageId': '70011505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011503&x=2131',
		'title': '',
		'imageId': '70011503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011512&x=2131',
		'title': '',
		'imageId': '70011512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011510&x=2131',
		'title': '',
		'imageId': '70011510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011507&x=2131',
		'title': '',
		'imageId': '70011507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011513&x=2131',
		'title': '',
		'imageId': '70011513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011509&x=2131',
		'title': '',
		'imageId': '70011509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011508&x=2131',
		'title': '',
		'imageId': '70011508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011506&x=2131',
		'title': '',
		'imageId': '70011506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011511&x=2131',
		'title': '',
		'imageId': '70011511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012286&docid=70011514&x=2131',
		'title': '',
		'imageId': '70011514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012286';

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