

function Get_Navigation(obj){
	Get_NavigationFun(obj, function(){ 
		GetMoreSubNavigation(xmldoc);
	}); 
};

var div_navigationName;
var div_moreSubNavigation;

function subNavigationInit(){
    div_navigationName = $('div_navigationName').innerText;    
    div_moreSubNavigation = $('div_moreSubNavigation');
};

function GetMoreSubNavigation(xmldoc){
	var docs=xmldoc.Nodes("//TITLEID_2[@name='" + div_navigationName + "'] | //TITLEID_3[@name='" + div_navigationName + "']");
    if(docs.length==0)return;
    $A(docs).each(function(item){                                       
      if(!item.hasChildNodes())return;	                                    
      var ul=document.createElement("ul");
      $A(item.childNodes).each(function(node,j){	                                                                            
            var li=document.createElement("li");
            li.className = "font";
            var a_content=document.createElement("A");
            a_content.setAttribute("href","#");
            Event.observe(a_content,'click',function(){open_moreContent(node.getAttribute("id"),node.getAttribute("name"),'ÐÅÏ¢ÖÐÐÄ',div_navigationName,getIndexByName(node.getAttribute("name")),node.getAttribute("checkSub"))},true);                                                                                        
            var _div=document.createElement("DIV");                                            
            _div.className = "img";
            var _img=document.createElement("img");
            _img.setAttribute("src","/IMAGES/INDEX/pic5.gif");
            _div.appendChild(_img);                                            
            a_content.appendChild(_div);                                               
            a_content.appendChild(document.createTextNode(node.getAttribute("name")));                                         
            li.appendChild(a_content);
            ul.appendChild(li);
        });
        div_moreSubNavigation.appendChild(ul);
    });
    subNavigationShow();
};
