// JavaScript Document
    YAHOO.util.Event.onContentReady("productsandservices", function () {
       var oMenuBar = new YAHOO.widget.MenuBar("productsandservices", { 
                                                  autosubmenudisplay: true, 
                                                  hidedelay: 750, 
                                                  lazyload: true });
        var aSubmenuData = [                
            {
                id: "home", 
                itemdata: [ 
				]
            },
            {
                id: "general", 
                itemdata: [
                    { text: "JANOGについて", url: "/information/index.html" },
//                    { text: "過去のNEWS", url: "/information/news.html" },
//                    { text: "ワーキンググループ", url: "/information/wg.html" },
                    { text: "ワーキンググループ", url: "/wg/" },
//                    { text: "JANOG Comments", url: "/information/jc.html" },             
                    { text: "JANOG Comments", url: "/doc/janog-comment/" },             
//                    { text: "個人情報保護に関する取り組み", url: "/information/privacy.html" },             
                    { text: "個人情報保護に関する取り組み", url: "/privacy.html" },             
//                    { text: "JANOG FAQ", url: "/information/faq.html" },             
                    { text: "JANOG FAQ", url: "/meeting-faq.html" },             
//                    { text: "JANOG運営委員会", url: "/information/committee.html" }             
                    { text: "JANOG運営委員会", url: "/staff.html" }             
               ]    
            },                    
            {
                id: "meeting", 
                itemdata: [
                    { text: "JANOG26", url: "/meeting/janog26/" },
                    { text: "過去のJANOGミーティング", url: "/meeting/index.html" },
                    { text: "今後のJANOGミーティング", url: "/meeting/index.html" },
                    { text: "Index of Talks", url: "/meeting/indexoftalks/index.html" },             
//                    { text: "過去のJANOGミーティング", url: "#" },
//                   { text: "今後のJANOGミーティング", url: "#" },
//                    { text: "Index of Talks", url: "#" },             
//                    { text: "ミーティングホストについて", url: "#" }             
                ] 
            },                    
            {
                id: "mailinglist", 
                itemdata: [
                    { text: "メーリングリストアーカイブ", url: "/ml/index.html" },
                    { text: "メーリングリストの参加方法", url: "/entry-ml.html" },
                    { text: "登録メールアドレスの変更方法", url: "/change-ml.html" },
                    { text: "メーリングリスト脱退方法", url: "/bye-ml.html" },             
		    { text: "メーリングリスト運用ポリシー", url: "/doc/janog-comment/jc10.txt" }
                ] 
            },                    
            {
                id: "archive", 
                itemdata: [
                    { text: "メーリングリストアーカイブ", url: "/ml/index.html" },
                    { text: "過去のJANOGミーティング", url: "/meeting/index.html" },
                    { text: "Index of Talks", url: "/meeting/indexoftalks/index.html" }
                ] 
            },                    
            {
                id: "resource", 
                itemdata: [
                    { text: "役に立つドキュメント", url: "/doc/" },
//                    { text: "他団体のイベント情報", url: "#" },
                    { text: "ISOC Event Calender", url: "http://ws.edu.isoc.org/calendar/index.php" , target: "_blank"}
                ] 
            },                    
            {
                id: "sponsors", 
                itemdata: [
                ] 
            },                    
            {
                id: "english",
                itemdata: [
                ]
            }                    
        ];
        oMenuBar.subscribe("beforeRender", function () {
            if (this.getRoot() == this) {
                this.getItem(1).cfg.setProperty("submenu", aSubmenuData[1]);
                this.getItem(2).cfg.setProperty("submenu", aSubmenuData[2]);
                this.getItem(3).cfg.setProperty("submenu", aSubmenuData[3]);
                this.getItem(4).cfg.setProperty("submenu", aSubmenuData[4]);
                this.getItem(5).cfg.setProperty("submenu", aSubmenuData[5]);
            }
        });
        oMenuBar.render();              
    });
