var currDivObj = null;
function changeDIV(selObj) {
     var divObj;
     selValue = selObj.options[selObj.selectedIndex].value;
     if (document.getElementById)
        divObj = document.getElementById("div" + selValue);
     else if(document.all)
          divObj = document.all("div" + selValue);
     else if (document.layers)
          divObj = document.layers["div" + selValue];

     if(document.getElementById || document.all){
          if(currDivObj){
               currDivObj.style.display = "none";
          }
          divObj.style.display = "block";
     }
     else if (document.layers) {
          if(currDivObj){
               currDivObj.visibility = "hidden";
          }
          divObj.visibility = "visible";
     }
     currDivObj = divObj;
	
	if (currDivObj2){     
		currDivObj2.style.display = "none";
		currDivObj2.visibility = "hidden";
	}
	
  }

var currDivObj2 = null;
function changeDIVI(selObj) {

     var divObj2;
     selValue = selObj.options[selObj.selectedIndex].value;
     if (document.getElementById)
        divObj2 = document.getElementById("div" + selValue);
     else if(document.all)
          divObj2 = document.all("div" + selValue);
     else if (document.layers)
          divObj2 = document.layers["div" + selValue];

     if(document.getElementById || document.all){
          if(currDivObj2){
               currDivObj2.style.display = "none";
          }
          divObj2.style.display = "block";
     }
     else if (document.layers) {
          if(currDivObj2){
               currDivObj2.visibility = "hidden";
          }
          divObj2.visibility = "visible";
     }
     currDivObj2 = divObj2;
}

function limpatexto(el) {
  if (el.defaultValue==el.value) el.value = ""
}
