function CreateOrizontalMenu(){
	/*
	$("#orizontalmenu a").mouseover(function() 
	{ 
		$(this).animate( { color: '#0093dd' }, 300);	
	}).mouseout(function() 
	{ 
		$(this).animate( { color: '#000' }, 300);	
	})
	*/
	var ultags=document.getElementById('orizontalmenu').getElementsByTagName("ul")
	for (var t=0; t<ultags.length; t++){
		var spanref=document.createElement("span")
			spanref.className="arrowdiv"
			spanref.innerHTML="&raquo;"
			if(ultags[t].parentNode.parentNode.id!='orizontalmenu'){
				ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)	
			}
		
		ultags[t].parentNode.onmouseover=function(){
			//alert(this.nodeName);
			if(this.parentNode.style.left)
			{
				this.coordx=this.parentNode.style.left;
				this.coordx=this.coordx.replace('px','');
			}else{
				this.coordx=0
			}
			
			if(this.parentNode.style.top)
			{
				this.coordy=this.parentNode.style.top;
				this.coordy=this.coordy.replace('px','');
			}else{
				this.coordy=0
			}
			
			var echo=document.getElementById('echo'); 				
			
			if(this.coordy == 0){
				//this.getElementsByTagName("ul")[0].style.left=this.offsetWidth + 0 + "px"
				this.getElementsByTagName("ul")[0].style.top= 14 + "px"
				this.getElementsByTagName("ul")[0].style.display="block";
			}else{
				this.getElementsByTagName("ul")[0].style.left= parseInt('117') + "px"
				//this.getElementsByTagName("ul")[0].style.top= this.offsetHight + "px"
				this.getElementsByTagName("ul")[0].style.display="block";
				//echo.innerHTML= echo.innerHTML + this.parentNode.nodeName + this.coordx + this.parentNode.offsetWidth +"<br>";
				//alert('aaa');
			}
			
			
		}//end onmouseover
		ultags[t].parentNode.onmouseout=function(){
			
			if (this.className !="selected")
			{
				this.getElementsByTagName("ul")[0].style.display="none"
			}
		}//end onmouseout
	}//end for
}
