		var isNN4 = (document.layers)?1:0;
		var isIE4 = (document.all)?1:0;
		var isVer4 = (isNN4 | isIE4)?1:0;

function ShowMenu (div)
{
 		if (isNN4)
			 eval('document.' + div + '.visibility="show"');
		else
			 //eval('document.all.' + div + '.style.visibility="visible"');
			 eval(div + '.style.visibility="visible"');
}

function HideMenu (div)
{
 		if (isNN4)
			 eval('document.' + div + '.visibility="hide"');
		else
			 //eval('document.all.' + div + '.style.visibility="hidden"');
			 eval(div + '.style.visibility="hidden"');
}

function newWindow(mypage,myname,w,h,features) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }else{winl = 0;wint =0;}
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';

  settings += 'toolbar=no,status=no,directories=no,menubar=no,location=no,scrollbars=yes,resizable=yes';
	
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}

function expandIt(whichEl){
    whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
}

function expandNGo(whichEl, lugar){
    whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
		window.location.href="#" + lugar;
}


