// JavaScript Document

<!--

function OpenWin(FileToOpen,w,h){
      if (w=='' || w < 0 || w==null) w=460;
      if (h=='' || h < 0 || h==null) h=475;
              if (h >= window.screen.availHeight) h = window.screen.availHeight-100;
              if (w >= window.screen.availWidth) h = window.screen.availWidth-100;
              myWin=window.open(FileToOpen,"DisplayWindow", "status=no,toolbar=no,menubar=no,Directories=no,resizable=no,ScrollBars=no,location=no,width="+w+",height="+h);
              myWin.focus();            
}

function OpenWin_press(FileToOpen,w,h){
      if (w=='' || w < 0 || w==null) w=480;
      if (h=='' || h < 0 || h==null) h=475;
              if (h >= window.screen.availHeight) h = window.screen.availHeight-100;
              if (w >= window.screen.availWidth) h = window.screen.availWidth-100;
              myWin=window.open(FileToOpen,"DisplayWindow", "status=no,toolbar=no,menubar=no,Directories=no,resizable=no,ScrollBars=yes,location=no,width="+w+",height="+h);
              myWin.focus();            
}


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=470');");
}
// -->

window.onload = function() 
{
  myStretch = $$('.toggler'); //document.getElementsByClassName('toggler');
  myStretcher = $$('.accordion'); //document.getElementsByClassName('accordion');
  var ac = new Accordion(myStretch, myStretcher,
  {
    alwaysHide: true,
    start: 'all-closed',
    opacity: false
  });
  var click = function () { this.fireEvent('click'); this.removeEvent('mouseenter', click); }
  $$('.toggler').addEvent('mouseenter', click);
}


// JavaScript Document

