var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110647&x=1924',
		'title': '',
		'imageId': '6110647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110649&x=1924',
		'title': '',
		'imageId': '6110649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110648&x=1924',
		'title': '',
		'imageId': '6110648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110652&x=1924',
		'title': '',
		'imageId': '6110652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110657&x=1924',
		'title': '',
		'imageId': '6110657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110660&x=1924',
		'title': '',
		'imageId': '6110660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110663&x=1924',
		'title': '',
		'imageId': '6110663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110666&x=1924',
		'title': '',
		'imageId': '6110666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110669&x=1924',
		'title': '',
		'imageId': '6110669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110675&x=1924',
		'title': '',
		'imageId': '6110675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110672&x=1924',
		'title': '',
		'imageId': '6110672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110678&x=1924',
		'title': '',
		'imageId': '6110678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110683&x=1924',
		'title': '',
		'imageId': '6110683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110686&x=1924',
		'title': '',
		'imageId': '6110686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110689&x=1924',
		'title': '',
		'imageId': '6110689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110692&x=1924',
		'title': '',
		'imageId': '6110692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=815857&docid=6110695&x=1924',
		'title': '',
		'imageId': '6110695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #815857';

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