function openfullscreen(url, name) {
 var str = "left=0,screenX=0,top=0,screenY=0";

 if (window.screen) {
  var ah = screen.availHeight - 30;
  var aw = screen.availWidth - 10;
  str += ",height=" + ah;
  str += ",innerHeight=" + ah;
  str += ",width=" + aw;
  str += ",innerWidth=" + aw;
 } else {
  str += ",resizable"; // so the user can resize the window manually
 }

 BigWindow = window.open(url, name, str);

 BigWindow.moveTo(0, 0);
 BigWindow.focus();
}

