


//
// Shows/Hides a div and updates the link that
// calls this func to the div's current state
//
function switchDivs(divId1, divId2) {

  var div1 = document.getElementById(divId1);
  var div2 = document.getElementById(divId2);
  
  if (div1 && div2) {
    if(div1.className == 'hidden')
	    div1.className = 'visible';
    else
        div1.className = 'hidden';
        
    if(div2.className == 'hidden')
	    div2.className = 'visible';
	else
	    div2.className = 'hidden';
  }
}

