var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055658&x=203',
		'title': '',
		'imageId': '69055658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055659&x=203',
		'title': '',
		'imageId': '69055659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055666&x=203',
		'title': '',
		'imageId': '69055666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055669&x=203',
		'title': '',
		'imageId': '69055669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055670&x=203',
		'title': '',
		'imageId': '69055670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055661&x=203',
		'title': '',
		'imageId': '69055661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055667&x=203',
		'title': '',
		'imageId': '69055667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055665&x=203',
		'title': '',
		'imageId': '69055665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055668&x=203',
		'title': '',
		'imageId': '69055668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055657&x=203',
		'title': '',
		'imageId': '69055657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055663&x=203',
		'title': '',
		'imageId': '69055663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055662&x=203',
		'title': '',
		'imageId': '69055662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055664&x=203',
		'title': '',
		'imageId': '69055664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055660&x=203',
		'title': '',
		'imageId': '69055660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055655&x=203',
		'title': '',
		'imageId': '69055655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971678&docid=69055656&x=203',
		'title': '',
		'imageId': '69055656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971678';

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