function toggleBox(szDivID, iState) // 1 visible, 0 hidden
	{
	if(document.layers)	   //NN4+
	{
		document.layers[szDivID].visibility = iState ? "show" : "hide";
	}
		else if(document.getElementById)	  //gecko(NN6) + IE 5+
		{
		    var obj = document.getElementById(szDivID);
		    obj.style.visibility = iState ? "visible" : "hidden";
		}
		    else if(document.all)	// IE 4
		    {
		        document.all[szDivID].style.visibility = iState ? "visible" : "hidden";
		    }
}


function onLine()
{
  window.frames["_ONLINE"].location.href='online.php';
}


function show_MENU()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('_MENU').contentWindow.
      document.body.scrollHeight;

  //change the height of the iframe
  document.getElementById('_MENU').height=
      the_height;
}

function show_ONLINE()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('_ONLINE').contentWindow.
      document.body.scrollHeight;

  //change the height of the iframe
  document.getElementById('_ONLINE').height=
      the_height;
}