function toggleClass(div_id,obj2,act) {
	if (document.getElementById(div_id)) {
		var obj = document.getElementById(div_id);
		if (act) {
			if (act=="+") {
				obj.style.display="block";
				if (obj2 != null) 
				    obj2.innerHTML = strMinus;	
			} else  {
				obj.style.display="none";
				if (obj2 != null) 
				    obj2.innerHTML = strPlus;
			}
		} else {
			if (obj.style.display=="block") {
				obj.style.display="none";
				if (obj2 != null) 
				    obj2.innerHTML = strPlus;
			} else {
				obj.style.display="block";
				if (obj2 != null) 
				    obj2.innerHTML = strMinus;		
			}
		}
	}
}
function toggleAll(obj2) {
	var act = "";
	//var str1 = obj2.innerHTML.replace("\"","'").replace("\"","'");
	var str1 = obj2.innerHTML.replace(new RegExp("\"","gm"),"").replace(new RegExp("'","gm"),"");
	var str2 = str1.substring(str1.lastIndexOf("/"),str1.lastIndexOf(">"));
	//alert(str1 + "\n" + str2 + "\n" + strPlus.toUpperCase());
	if (str1.toUpperCase()==strPlus.toUpperCase().replace(new RegExp("'","gm"),"") || strPlus.toUpperCase().replace(new RegExp("'","gm"),"").indexOf(str2.toUpperCase())>0) {
		obj2.innerHTML=strMinus;
		act = "+";
	} else {
		obj2.innerHTML=strPlus;
		act = "-";
	}
	//alert(togglePrefix);
	for(var i=0; i<document.getElementsByTagName("*").length; i++) {
		if (document.getElementsByTagName("*")[i]) {
			var obj = document.getElementsByTagName("*")[i];
			if (obj.id) {
				if (obj.id.indexOf(togglePrefix)==0) {
					toggleClass(obj.id, document.getElementById(toggleSign+obj.id.substring(obj.id.indexOf('_'))));
				}
			}
		}
	}
}