// JavaScript Documentvar popupLinkConfig = new Array;// Delete/copy/modify the following lines to configure your popup windows.popupLinkConfig["popup"] = new Array ( "", "width=800,height=500,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,resizable=yes,loaction=yes");popupLinkConfig["popuplarge"] = new Array ( "", "width=1000,height=600,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,resizable=yes,loaction=yes");popupLinkConfig["glossary"] = new Array ( "help", "width=550,height=350,resizable=no,scrollbars=no");var __log = "";function log(arg) {	__log = arg + '<br/><br/>' + __log;	if(document.getElementById('log')) document.getElementById('log').innerHTML = __log;    };			var ScrollLinks = {	currentHash: false,	start: function(){		this.scroll = new fx.Scroll({duration: 1500, transition: fx.sineOut, onComplete: function(){this.end();}.bind(this)});		this.allinks = $c(document.getElementsByTagName('a'));		this.allinks.each(function(lnk){			if ((lnk.href && lnk.href.indexOf('#') != -1) && ( (lnk.pathname == location.pathname) 				|| ('/'+lnk.pathname == location.pathname) ) && (lnk.search == location.search)) {				lnk.onclick = function(){					ScrollLinks.scroll.clearTimer();					this.initialHref = this.href;					this.initialHash = this.hash;					this.href = "javascript:void(0)";					setTimeout(function(){this.href = this.initialHref;}.bind(this), 200);					ScrollLinks.go(this);				}			}		});	},	go: function(link){		this.currentHash = link.initialHash.slice(1);		if (this.currentHash) {			this.allinks.each(function(lnk){				if (lnk.id == ScrollLinks.currentHash){					if (window.opera) lnk =  [lnk].find('parentNode');					ScrollLinks.scroll.scrollTo(lnk);					return;				}			});		}	},	end: function(){		if (!/Konqueror|Safari|KHTML/.test(navigator.userAgent)) window.location.hash = "#"+this.currentHash;		this.currentHash = false;	}}function initPopupLinks(){  if (!document.getElementsByTagName) return true;  var pageLinks = document.getElementsByTagName("a");  for (var i = 0; i < pageLinks.length; i++)   {    if (((pageLinks[i].className != null) &&          (pageLinks[i].className != "")) ||        ((pageLinks[i].parentNode.className != null) &&          (pageLinks[i].parentNode.className != "")))    {      var linkClass = " " + pageLinks[i].className + " ";      if ((linkClass == "  ") && (pageLinks[i].parentNode.className != ""))      {        linkClass = " " + pageLinks[i].parentNode.className + " ";      }      for (var theKey in popupLinkConfig)       {        if (linkClass.indexOf(" " + theKey + " ") > -1)        {          if ((pageLinks[i].target == "") || (pageLinks[i].target == null))          {            pageLinks[i].target = (popupLinkConfig[theKey][0] != "") ? popupLinkConfig[theKey][0] : theKey;          }          pageLinks[i].settings = popupLinkConfig[theKey][1];          pageLinks[i].onclick = popUp;        }      }    }  }  return true;}function popUp(){  newWin = window.open(this.href, this.target, this.settings);  newWin.focus();  return false;} window.onload = function() {	var myDivs = document.getElementsByClassName('acordcontent');	var myLinks = document.getElementsByClassName('acordshow');	var myAccordion = new fx.Accordion(myLinks, myDivs, {opacity: true, height: true, duration: 600});  initPopupLinks();} 	