			var at_timeout = 75;
			var color_vert_selected="#B7D1F3";
			var color_horiz_selected="#DDEBFD";
			var font ="bold";
			function at_show_aux(parent, child){
				var p = document.getElementById(parent);
				var c = document.getElementById(child);
				var top  = (c["at_position"] == "y") ? p.offsetHeight : 0;
				var left = (c["at_position"] == "x") ? p.offsetWidth : 0;


				for (; p; p = p.offsetParent){
					if (p.style.position != 'absolute'){
						left += p.offsetLeft;
						top  += p.offsetTop;
					}
				}
				c.style.position   = "absolute";
				c.style.top        = top +'px';
				c.style.left       = left+'px';
				c.style.visibility = "visible";
			}
			function at_hide_aux(parent, child){
				//document.getElementById(parent).className = "z";
				document.getElementById(child ).style.visibility = "hidden";
			}
			function at_show(){
				var p = document.getElementById(this["at_parent"]);
				var c = document.getElementById(this["at_child" ]);
				at_show_aux(p.id, c.id);
				clearTimeout(c["at_timeout"]);
			}
			function at_hide(){
				var c = document.getElementById(this["at_child"]);
				c["at_timeout"] = setTimeout("at_hide_aux('"+this["at_parent"]+"', '"+this["at_child" ]+"')", at_timeout);
			}
			function at_attach(parent, child, position){
				p = document.getElementById(parent);
				c = document.getElementById(child);
				p["at_child"]    = c.id;
				c["at_child"]    = c.id;
				p["at_parent"]   = p.id;
				c["at_parent"]   = p.id;
				c["at_position"] = position;
				p.onmouseover = at_show;
				p.onmouseout  = at_hide;
				c.onmouseover = at_show;
				c.onmouseout  = at_hide;
			}
			function dhtmlmenu_build_aux(parent, child, position){
				document.write('<div class="vert_menu" id="'+parent+'_child">');
				var n = 0;
				for (var i in child){
					if (i == '-'){
						document.getElementById(parent).href = child[i];
						continue;
					}
					if (typeof child[i] == "object"){
						document.write('<a class="z" id="'+parent+'_'+n+'">'+i+'</a>');
						dhtmlmenu_build_aux(parent+'_'+n, child[i], "x");
					}
					else
					{if(document.location.href.indexOf(child[i])>-1){

			document.write('<a style="background-color:'+color_vert_selected+'; font-weight: '+font+';" id="'+parent+'_'+n+'" href="'+child[i]+'">'+i+'</a>');

			///////////////////////////////////////////////////
			var tmp=parent.indexOf("_");
			var itemhoriz=parent.substring(0,tmp);
			obj=document.getElementById(itemhoriz);
			if(obj!=null){
				obj.style.backgroundColor=color_horiz_selected;
				obj.style.fontWeight=font;
			}
			/////////////////////////////////////////////////
			obj=document.getElementById(parent);
			//
			if(obj!=null){
				obj.style.backgroundColor=color_vert_selected;
				obj.style.fontWeight=font;
			}
		}
		else{
		document.write('<a id="'+parent+'_'+n+'" href="'+child[i]+'">'+i+'</a>');
		}
	}
    n++;
  			}
				document.write('</div>');
				at_attach(parent, parent+"_child", position);
			}
			function dhtmlmenu_build(menu){
				for (var i in menu) dhtmlmenu_build_aux(i, menu[i], "y");
			}