var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010625&x=86',
		'title': '',
		'imageId': '69010625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010626&x=86',
		'title': '',
		'imageId': '69010626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010629&x=86',
		'title': '',
		'imageId': '69010629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010631&x=86',
		'title': '',
		'imageId': '69010631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010632&x=86',
		'title': '',
		'imageId': '69010632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010634&x=86',
		'title': '',
		'imageId': '69010634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010630&x=86',
		'title': '',
		'imageId': '69010630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010635&x=86',
		'title': '',
		'imageId': '69010635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010627&x=86',
		'title': '',
		'imageId': '69010627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010628&x=86',
		'title': '',
		'imageId': '69010628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951499&docid=69010633&x=86',
		'title': '',
		'imageId': '69010633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951499';

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