function Click(linkRef)
{
  if (document.getElementById)
	{
		if (linkRef.tagName == "A") document.location.href = linkRef.href;
	}
}

function LinkIt(strURL)
{
  if (strURL != "0")
  {
		window.open(strURL,"new","width=800,height=600,scrollbars=yes,status=yes,toolbar=yes,location=yes,menubar=yes,resizable=yes,directories=yes");
  }
}

function findPosX(obj)
{
  var curleft = 0;
  if(obj.offsetParent)
      while(1) 
      {
        curleft += obj.offsetLeft;
        if(!obj.offsetParent)
          break;
        obj = obj.offsetParent;
      }
  else if(obj.x)
      curleft += obj.x;
  return curleft;
}

function findPosY(obj)
{
  var curtop = 0;
  if(obj.offsetParent)
      while(1)
      {
        curtop += obj.offsetTop;
        if(!obj.offsetParent)
          break;
        obj = obj.offsetParent;
      }
  else if(obj.y)
      curtop += obj.y;
  return curtop;
}