function openWindow(text, myname, w, h, scroll)
{
  var winl = (screen.width - w) / 2; 
  var wint = (screen.height - h) / 2;
  var winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll;

  var win=window.open('', myname, winprops);
  //win.document.write('<link href="/styles/style.css" rel="stylesheet" type="text/css">');
  text = '<html><head><link href="/styles/style.css" rel="stylesheet" type="text/css"></head><body><table><tr><td>' + text + '</td></tr></table></body></html>';
  win.document.write(text);
  
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
  //return true;
}

function showhide(id)
{
  if (document.getElementById('level'+id).style.display == 'none')
  {
    document.getElementById('level'+id).style.display = 'block';
    document.getElementById('img'+id).src = 'platform/atk/images/minus.gif';
  }
  else
  {
    document.getElementById('level'+id).style.display = 'none';
    document.getElementById('img'+id).src = 'platform/atk/images/plus.gif';
  }

}