<!--
//*----------------------------------------------------------------------------------------------------*/
/* These functions change the VISIBILITY property of the passed ID (in this concrete case, a DIV       */
/* IE seems to have no problem with the standard, but NS4 needs a special check.                       */
/*-----------------------------------------------------------------------------------------------------*/
/* document.getElementById => DOM2 (eg. Opera5)     */
/* document.all            => IE 4, 5               */
/* document.layers         =>                       */
/* NB: call WITH quotes                             */
/*--------------------------------------------------*/
function sh(newDiv) {
/* check which DOM is supported */ 
if (document.getElementById)
   {document.getElementById(newDiv).style.visibility = "visible";
    }
   else if (document.all) 
           {document.all(newDiv).style.visibility = "visible";
            }
        else if(document.layers) 
               {document.layers[newDiv].visibility = "visible";
               }   
    
 } /* end sh */   
 
      
function hi(newDiv) {
/* check which DOM is supported */ 
if (document.getElementById)
   {document.getElementById(newDiv).style.visibility = "hidden";
    }
   else if (document.all) 
           {document.all(newDiv).style.visibility = "hidden";
          }
        else if(document.layers) 
               {document.layers[newDiv].visibility = "hidden";
           }   
    
 } /* end hi */   
 
 
// -------------------------------------------------------------------------------------
// Creates a POPUP window
function popitup(url)
{
newwindow = window.open(url,'key','height=150,width=400')
if (window.focus) {newwindow.focus()}
}

// -------------------------------------------------------------------------------------
// Closes the POPUP window
function closepopup()
{
if (newwindow) {newwindow.close()}
}

function sh1(xId) {  
if (document.getElementById)
   {document.getElementById(xId).style.background = "#848284"}
   else if (document.all) 
           {document.all(xId).style.background = "#848284"}
        else if(document.layers) 
               {document.layers[xId].background = "#848284"}   
   
 } /* end sh1 */  
 
function hi1(xId) { 
if (document.getElementById)
   {document.getElementById(xId).style.background = "transparent";}
   else if (document.all) 
           {document.all(xId).style.background = "transparent";}
        else if(document.layers) 
               {document.layers[xId].background = "transparent";}   
    
 } /* end hi1 */ 

function sh2(yId) {  
if (document.getElementById)
   {document.getElementById(yId).style.background = "#00CC99"}
   else if (document.all) 
           {document.all(yId).style.background = "#00CC99"}
        else if(document.layers) 
               {document.layers[yId].background = "#00CC99"}   
   
 } /* end sh2 */  
 
function hi2(yId) { 
if (document.getElementById)
   {document.getElementById(yId).style.background = "transparent";}
   else if (document.all) 
           {document.all(yId).style.background = "transparent";}
        else if(document.layers) 
               {document.layers[yId].background = "transparent";}   
    
 } /* end hi2 */ 

function sh3(zId) {  
if (document.getElementById)
   {document.getElementById(zId).style.background = "#000000"}
   else if (document.all) 
           {document.all(zId).style.background = "#000000"}
        else if(document.layers) 
               {document.layers[zId].background = "#000000"}   
   
 } /* end sh3 */  
 
function hi3(zId) { 
if (document.getElementById)
   {document.getElementById(zId).style.background = "transparent";}
   else if (document.all) 
           {document.all(zId).style.background = "transparent";}
        else if(document.layers) 
               {document.layers[zId].background = "transparent";}   
    
 } /* end hi3 */ 

function sh4(zId) {  
if (document.getElementById)
   {document.getElementById(zId).style.color = "#FFFF00"}
   else if (document.all) 
           {document.all(zId).style.color = "#FFFF00"}
        else if(document.layers) 
               {document.layers[zId].color = "#FFFF00"}   
   
 } /* end sh4 */  
 
function hi4(zId) { 
if (document.getElementById)
   {document.getElementById(zId).style.color = "#00CC99";}
   else if (document.all) 
           {document.all(zId).style.color = "#00CC99";}
        else if(document.layers) 
               {document.layers[zId].color = "#00CC99";}   
    
 } /* end hi4 */ 

function sh5(xId) {  
if (document.getElementById)
   {document.getElementById(xId).style.color = "#00FFFF"}
   else if (document.all) 
           {document.all(xId).style.color = "#00FFFF"}
        else if(document.layers) 
               {document.layers[xId].color = "#00FFFF"}   
   
 } /* end sh5 */  
 
function hi5(xId) { 
if (document.getElementById)
   {document.getElementById(xId).style.color = "#00CC99";}
   else if (document.all) 
           {document.all(xId).style.color = "#00CC99";}
        else if(document.layers) 
               {document.layers[xId].color = "#00CC99";}   
    
 } /* end hi5 */ 

//-->
