var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266355&x=583',
		'title': '',
		'imageId': '69266355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266353&x=583',
		'title': '',
		'imageId': '69266353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266360&x=583',
		'title': '',
		'imageId': '69266360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266356&x=583',
		'title': '',
		'imageId': '69266356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266352&x=583',
		'title': '',
		'imageId': '69266352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266359&x=583',
		'title': '',
		'imageId': '69266359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266357&x=583',
		'title': '',
		'imageId': '69266357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266358&x=583',
		'title': '',
		'imageId': '69266358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266354&x=583',
		'title': '',
		'imageId': '69266354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980113&docid=69266351&x=583',
		'title': '',
		'imageId': '69266351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980113';

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