function toggle( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  		if(target != null){
			if (target.style.display == "none"){
  				target.style.display = "";
  			} else {
  				target.style.display = "none";
  			}
		}
  	}
}


function togmult(targetId,num){
  if (document.getElementById){
  		for(x=1; x <= num; x++){
			targetIdnew=targetId+x;
			target = document.getElementById( targetIdnew );
			if(target != null){
				if (target.style.display == "none"){
					target.style.display = "";
				} else {
					target.style.display = "none";
				}
			}
		}
  }
}

function showmult(targetId,num){
  if (document.getElementById){
  		for(x=1; x <= num; x++){
			targetIdnew=targetId+x;
			target = document.getElementById( targetIdnew );
			if(target != null){
				target.style.display = "";
			}
		}
  }
}
function hidemult(targetId,num){
  if (document.getElementById){
  		for(x=1; x <= num; x++){
			targetIdnew=targetId+x;
			target = document.getElementById( targetIdnew );
			if(target != null){
				target.style.display = "none";
			}
		}
  }
}

function hide( targetId ){
	
		target = document.getElementsByName( targetId );
		if(target.length > 0){
			for(x=0;x<target.length;x++){
				if (target[x].style.display == "none"){
					target[x].style.display = "";
				} else {
					target[x].style.display = "none";
				}
			}
		}
  	
}
