function toggle( targetId,prefix,upperRange){   
	if (document.getElementById){         
	
	//remove previous showing divs
	for (var x = 1; x <= (upperRange-1); x++)
	{
	tempSuffix = prefix+(x+1)
	//document.write (tempSuffix)
    tempTarget = document.getElementById(tempSuffix);
		if (tempTarget.className == ""){ 
		tempTarget.className = "hide";
		}
	}
	
	target = document.getElementById(prefix+(targetId+1));            
		if (target.className == "hide"){               
		target.className = "";
	} else {               
		target.className = "hide"; 
	}      
	} 
}
