function openStdViewlet(htmlFile)
{
openViewlet(htmlFile,800,600);
}


function openViewlet(htmlFile,htmlWidth,htmlHeight)
{
  htmlHeight += 32;
  htmlWidth += 26;
 
  str = 'resizable=0,toolbar=0,menubar=0,';
  str = str + 'scrollbars=0,status=0,location=0,directory=0,width=350,height=200';
  version=Math.round(parseFloat(navigator.appVersion) * 1000);
  if(navigator.appName.indexOf("Konqueror")!=-1) // konqueror
  {
   htmlWidth+=18;
    htmlHeight+=96;
  }
  if(navigator.appName.indexOf("Netscape")!=-1)
  {
    if(version>=5000)
    {
      if(navigator.appVersion.indexOf("Mac")!=-1) // Netscape6+ on mac
      {
        htmlHeight+=5;
      }
    }
  }
  if(navigator.appName.indexOf("Microsoft")!=-1)
  {
    if(navigator.appVersion.indexOf("Mac")!=-1) // IE on Mac
    {
       htmlWidth  -= 11;
       htmlHeight -= 11;
    }
  }
 
  window.open(htmlFile,'ClickTracksdemo','width='+htmlWidth+',height='+htmlHeight+',top=10,left=20');

}