		//<![CDATA[

		// Funtion that show/hide layers and call the Ajax object
		function loadTree(id){
			if (document.getElementById("c"+id).style.display=="none"){
				document.getElementById("c"+id).style.display="inline-block";
                document.getElementById("img"+id).src="../../images/-.gif";

			if(document.getElementById("c"+id).innerHTML == ""){
				document.getElementById("c"+id).innerHTML="<img src='../../images/loading.gif'>";  // place to insert a preloading icon .... web2.0 like

				target = document.getElementById("c"+id);
				img = document.getElementById("img"+id);
				var myConn = new XHConn();
				if (!myConn) alert("XMLHTTP not available. Try a newer/better browser.");
				myConn.connect("tree_sub.php", "POST", "id="+id, showTree);
				document.getElementById("img"+id).src="../../images/-.gif";
				}
			} else {
				document.getElementById("c"+id).style.display="none";
				document.getElementById("img"+id).src="../../images/+.gif";  
				}
		}

		// Funtion whenDone XHConn is complete
		showTree = function(oXML) {
			target.innerHTML = oXML.responseText;
			if(oXML.responseText == "")
				target.style.display="none";
			    //img.src="images/-.gif";
		}
		
	    function loaddata(id,lang){
			if (document.getElementById("c"+id).style.display=="none"){
				document.getElementById("c"+id).style.display="inline";
                document.getElementById("img"+id).src="../images/-.gif";

			if(document.getElementById("c"+id).innerHTML == ""){
				document.getElementById("c"+id).innerHTML="<img src='../images/loading.gif'>";  // place to insert a preloading icon .... web2.0 like
				target = document.getElementById("c"+id);
				img = document.getElementById("img"+id);
				var myConn = new XHConn();
				if (!myConn) alert("XMLHTTP not available. Try a newer/better browser.");
				myConn.connect("../common/getdata.php", "POST", "did="+id+"&lang="+lang, showdata);
				document.getElementById("img"+id).src="../images/-.gif";
				}
			} else {
				document.getElementById("c"+id).style.display="none";
				document.getElementById("img"+id).src="../images/+.gif";
				}
		}

		// Funtion whenDone XHConn is complete
		showdata = function(oXML) {
			target.innerHTML = oXML.responseText;
			if(oXML.responseText == "")
				target.style.display="none";
			    //img.src="images/-.gif";
		}
		//]]>