// toggle visibility 

function toggle( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  			if (target.style.display == "none"){
  				target.style.display = "";
  			} else {
  				target.style.display = "none";
  			}
  		input = document.getElementById( targetId + "_input" );
  		if (input)
  		{
  			input.value = (target.style.display == "" ? "visible" : "hidden");
  		}
  		
  	}
}
