<!--
function pop(dURL,dTARGET,sizeX,sizeY){
  desktop = window.open(dURL,dTARGET,'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+ sizeX +',height='+ sizeY);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
offsetX = 0;
offsetY = 20;
var toolTipSTYLE="";
function initToolTips()
{
  if(ns4||ns6||ie4)
  {
    if(ns4) toolTipSTYLE = document.toolTipLayer;
    else if(ns6) toolTipSTYLE = document.getElementById("toolTipLayer").style;
    else if(ie4) toolTipSTYLE = document.all.toolTipLayer.style;
    if(ns4) document.captureEvents(Event.MOUSEMOVE);
    else
    {
      toolTipSTYLE.visibility = "visible";
      toolTipSTYLE.display = "none";
    }
    document.onmousemove = moveToMouseLoc;
  }
}
function toolTip(mycolor, mytable, title, size)
{
  if(toolTip.arguments.length < 3) // hide
  {
    if(ns4) toolTipSTYLE.visibility = "hidden";
    else toolTipSTYLE.display = "none";
	mytable.style.backgroundColor=mycolor;
  }
  else // show
  {
    //if(!fg) fg = "#777777";
    //if(!bg) bg = "#FFFFFF";
	mytable.style.backgroundColor='#FFFBEA';
//	var content = '<table width="132" height="95" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" valign="middle" height="25"><b>'+title+'</b></td></tr><tr><td align="center" valign="bottom" height="25" style="padding-top: 5px;"><img src="img/size_top.gif" width="70" height="25"></td></tr><tr><td align="center" valign="middle" height="20" style="color: #999584">'+size+'</td></tr><tr><td align="center" valign="top" height="25" style="padding-bottom: 5px;"><img src="img/size_bottom.gif" width="70" height="25"></td></tr></table>';
	var content = '<table width="110" height="20" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" valign="middle" height="25"><b>'+title+'</b></td></tr><tr><td align="center" valign="bottom" height="20" style="color: #999584;"><table width="100%" border="0" style="margin: 0px 10px 10px 10px;"><tr><td width="100%" style="background-image: url(img/arrows.gif); background-position: left; background-repeat: no-repeat; padding: 20px 20px 20px 10px; color: #999584; font-size: 9px;">'+size+'</td></tr></table></td></tr></table>';
    if(ns4)
    {
      toolTipSTYLE.document.write(content);
      toolTipSTYLE.document.close();
      toolTipSTYLE.visibility = "visible";
    }
    if(ns6)
    {
      document.getElementById("toolTipLayer").innerHTML = content;
      toolTipSTYLE.display='block'
    }
    if(ie4)
    {
      document.all("toolTipLayer").innerHTML=content;
      toolTipSTYLE.display='block'
    }
  }
}
function moveToMouseLoc(e)
{
  if(ns4||ns6)
  {
    x = e.pageX;
    y = e.pageY;
  }
  else
  {
    x = event.x + document.body.scrollLeft;
    y = event.y + document.body.scrollTop;
  }
  toolTipSTYLE.left = x + offsetX;
  toolTipSTYLE.top = y + offsetY;
  return true;
}