// JavaScript Document

 function hideLayer(whichLayer) 
{
if (document.getElementById) {
// this is the way the standards work
//document.getElementById(whichLayer).style.position = "absolute";
document.getElementById(whichLayer).style.display ="none";

}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.display = "none";
//document.all[whichlayer].style.position = "absolute";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].display = "none";
//document.layers[whichLayer].position = "absolute";
}
}

function showLayer(whichLayer) {
if (document.getElementById) {
// this is the way the standards work
//document.getElementById(whichLayer).style.position = "relative";
document.getElementById(whichLayer).style.display = "block";

}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.display = "block";
//document.all[whichlayer].style.position = "relative";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].display = "block";
//document.layers[whichLayer].position = "relative";
}
}

function show1(divid)
{
if(document.getElementById(divid).style.display =='none')
	{
      document.getElementById(divid).style.display='block';
	  
	 showLayer(1);
	  hideLayer(2);
	  hideLayer(3);
    }else{
      document.getElementById(divid).style.display = 'none';
	  
	  hideLayer(1);
	  hideLayer(2);
	  hideLayer(3);
    }
	
}

function show2(divid)
{
if(document.getElementById(divid).style.display =='none')
	{
      document.getElementById(divid).style.display='block';
	    
	  showLayer(2);
	  hideLayer(3);
	  hideLayer(1);
	  
	  
    }else{
      document.getElementById(divid).style.display = 'none';
	
	  hideLayer(1);
	  hideLayer(2);
	  hideLayer(3);
    }
}

function show3(divid)
{
if(document.getElementById(divid).style.display =='none')
	{
      document.getElementById(divid).style.display='block';
	    
	  showLayer(3);
	  hideLayer(1);
	  hideLayer(2);
	  
	  
    }else{
      document.getElementById(divid).style.display = 'none';
	
	  hideLayer(1);
	  hideLayer(2);
	  hideLayer(3);
    }
}