function showSubMenu(menu_id,body_id){ 

	var oSubmenuData = {
		"sMenu0": [ 
			{text: "HOME",url: "http://www.foobas.com/",classname: "hometop"},
			{text: "Foobasとは？",url: "http://www.foobas.com/online/",classname: "homeabout"},
			{text: "Foobasの楽しみ方",url: "http://www.foobas.com/online/community.html",classname: "homeenjoy"},
			{text: "サイトマップ",url: "http://www.foobas.com/support/map.html",classname: "homesitemap"}
		],
		"sMenu1": [ 
			{text: "Flashチャット世界",url: "http://www.foobas.com/flash/",classname: "aboutworld"},
			{text: "ゲストアバターでチャット体験",url: "http://www.foobas.com/public/guest_login",classname: "aboutguest",target: "target='_NEW'"}
		],
		"sMenu2": [ 
			{text: "リアルクローンアバターとは？",url: "http://www.foobas.com/avatar/real-clone.html",classname: "clonetop"},
			{text: "リアルクローン作成方法",url: "http://www.foobas.com/avatar/make.html",classname: "clonemake"}
		],
		"sMenu3": [ 
			{text: "無料コンテンツ",url: "http://www.foobas.com/free/",classname: "freetop"},
			{text: "無料アバター",url: "http://www.foobas.com/free/avatar.html",classname: "freeavatar"},
			{text: "無料アイテム",url: "http://www.foobas.com/free/item.html",classname: "freeitem"},
			{text: "無料音楽ＰＥＴ",url: "http://www.foobas.com/free/music.html",classname: "freepet"},
			{text: "無料Ｂ（ポイント）",url: "http://www.foobas.com/free/points.html",classname: "freepoints"}
		],
		"sMenu4": [ 
			{text: "キャンペーン情報",url: "http://www.foobas.com/campaign/",classname: "entrycampaign"},
			{text: "無料メンバー登録方法",url: "http://www.foobas.com/free/entry.html",classname: "entrytop"},
			{text: "Foobas無料メンバー登録",url: "https://www.foobas.com/public/entry1/",classname: "entryregist",target: "target='_NEW'"}
		],
		"sMenu5": [ 
			{text: "ブログ☆フバブロとは ",url: "http://www.foobas.com/blog/blog_info.html",classname: "bloginfo"},
			{text: "ブログ☆フバブロTOP",url: "http://www.foobas.com/blog/index",classname: "blogtop"},
			{text: "Blog用パーツ",url: "http://www.foobas.com/blog/blog_parts.html",classname: "blogparts"},
			{text: "FoobasファンSITE",url: "http://www.foobas.com/blog/foobars.html",classname: "blogsite"}
		],
		"sMenu6": [ 
			{text: "新着情報！",url: "http://www.foobas.com/support/info.html",classname: "supporttop"},
			{text: "メンテナンス情報",url: "http://www.foobas.com/support/mente.html",classname: "supportmainte"},
			{text: "トラブル情報",url: "http://www.foobas.com/support/trouble.html",classname: "supporttrouble"},
			{text: "よくある質問（ＦＡＱ）",url: "http://www.foobas.com/support/help_top.html",classname: "supportfaq"},
			{text: "チャット用語集",url: "http://www.foobas.com/chat/",classname: "supportvirtualchat"},
		],
		"sMenu7": [ 
			{text: "企業様へ",url: "http://www.foobas.com/campaign/ad.html",classname: "campaigninvi"},
			{text: "リンク・相互リンク",url: "http://www.foobas.com/campaign/link.html",classname: "campaignlink"}
		]
	};
	var data = eval("(oSubmenuData)");
	var dom_obj = document.getElementById('SMenu');

	// 2番目以降の子ノードを削除
	var dom_obj_firstchild=dom_obj.firstChild;
	while (dom_obj_firstchild.nextSibling){
		dom_obj.removeChild(dom_obj_firstchild.nextSibling);
	}
	// 1番目の子ノードを削除
	dom_obj.removeChild(dom_obj_firstchild);
	
	for(var i=0; i<data[menu_id].length; i++){
		var liObj = document.createElement('li');
		liObj.innerHTML = "<a href="+data[menu_id][i].url+" "+data[menu_id][i].target+">"+data[menu_id][i].text+"</a>";
		liObj.className = data[menu_id][i].classname;
		dom_obj.appendChild(liObj); 
	}
	document.body.id = body_id;
	//document.body.className = body_id;
	dom_obj.style.backgroundImage = "url(../images/bg_smenu.gif)";
	dom_obj.style.backgroundPosition = "left top";
	dom_obj.style.backgroundRepeat = "repeat-x";
}
