// JavaScript Document

// Show first layer, hide second layer

function showHide( showLayer, hideLayer)  //way=none, block
{  
var elem, vis;  

// Handle showLayer 
if( document.getElementById ) // this is the way the standards work    
	elem = document.getElementById( showLayer );  
else if( document.all ) // this is the way old msie versions work      
	elem = document.all[showLayer];  
else if( document.layers ) // this is the way nn4 works    
	elem = document.layers[showLayer];  
vis = elem.style; 
vis.display = '';


// Handle hideLayer
if( document.getElementById ) // this is the way the standards work    
	elem = document.getElementById( hideLayer );  
else if( document.all ) // this is the way old msie versions work      
	elem = document.all[hideLayer];  
else if( document.layers ) // this is the way nn4 works    
	elem = document.layers[hideLayer];  
vis = elem.style; 
vis.display = 'none';


}


