// show_hide.js

function DivVis(_div,_vis) {
  if (document.getElementById) { //newer browsers
  
    if (_vis=='s') {
      document.getElementById(_div).style.visibility='visible';
	} else {
	  document.getElementById(_div).style.visibility='hidden';
	}
	
  } else {
  
    if (document.all) { // is IE
      if (_vis=='s') eval("document.all."+_div+".style.visibility='visible';");
      if (_vis=='h') eval("document.all."+_div+".style.visibility='hidden';");
    } else { // is NS? 
      if (_vis=='s') eval("document.layers['"+_div+"'].visibility='show';");
      if (_vis=='h') eval("document.layers['"+_div+"'].visibility='hide';");
    }
	
  }
  // test in all browsers {Mozilla, Safari, Opera) for compatibility
}

