<!--

// Set Browser-Type:
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;


function ShowImg( DivName )
{
  document.getElementById(DivName).style.visibility = 'visible';
}

function zzzToggle( Env, Phase, No )
{
 // ----- zzzToggle() ------------------------------
 if( Env == '' ) return true;
 if( Env == 'Chap' ) ID = 'Chap' + No;
 if( Env == 'Sect' ) ID = 'Sect' + No;
 if( Phase == 'V' )	// MouseOver
 {
  bg_col = 'yellow';
 }
 else			// MouseOut
 {
  bg_col = '#9CCFFB';
 }
 document.getElementById(ID).style.backgroundColor = bg_col;
 return true;
}

function OpenWin(filename, DimX, DimY, Ifscroll)
{
 // ----- OpenWin() ------------------------------
 var OrgURL = filename;

 var Params = 'dependent=yes,resizable=yes,width='+DimX+',height='+DimY+',locationbar=no,menubar=no,';

 if(Ifscroll == 'scroll')
    Hnd_Window = window.open(OrgURL,'What', Params + 'scrollbars=yes');
 else
    Hnd_Window = window.open(OrgURL,'What', Params + 'scrollbars=no');
 Hnd_Window.focus();
}

function SetFullFeat()
{
 // NOK!
 if( window.menubar.visible == true )
   window.menubar.visible = 0;
 else
   window.menubar.visible = true;
}

function CallServer( URL )
{
  var Dims = "&Dims=" + window.outerWidth + "x" + window.outerHeight;
  var NewURL = URL + Dims;
  window.location.href = NewURL;
  return true;
}

function ToggleComm( OverOut )
{
 if( OverOut == 'Ov' )
   document.getElementById('community').src = 'community2b.gif';  
 else
   document.getElementById('community').src = 'community2.gif';  
}

//-->



