// JavaScript Document
function tab_on(divname){
var currTabElem = document.getElementById('tab_' + divname); 
var currClass = currTabElem.className;
currTabElem.setAttribute("class", currClass + "_over"); 
currTabElem.setAttribute("className", currClass + "_over"); 
}
function tab_off(divname){
var currTabElem = document.getElementById('tab_' + divname); 
var currClass = currTabElem.className;
currTabElem.setAttribute("class", currClass.replace(/_over/,"")); 
currTabElem.setAttribute("className", currClass.replace(/_over/,"")); 
}
function hideDiv(divname) { 
if (document.getElementById) { // DOM3 = IE5, NS6 
document.getElementById('div_' + divname).style.visibility = 'hidden'; 
tab_off(divname);
} 
else { 
if (document.layers) { // Netscape 4 
document.hideshow.visibility = 'hidden'; 
} 
else { // IE 4 
document.all.hideshow.style.visibility = 'hidden'; 
} 
} 
} 
 
function showDiv(divname) { 
if (document.getElementById) { // DOM3 = IE5, NS6 
document.getElementById('div_' + divname).style.visibility = 'visible'; 
tab_on(divname);

} 
else { 
if (document.layers) { // Netscape 4 
document.hideshow.visibility = 'visible'; 
} 
else { // IE 4 
document.all.hideshow.style.visibility = 'visible'; 
} 
} 
} 
