pageAll = {"tobe":[{"Basis":{"title":"\u5fc5\u8981\u306a\u77e5\u8b58","path_file":"knowledge","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"tobe"}},{"Basis":{"title":"\u5fc5\u8981\u306a\u30b9\u30ad\u30eb\u3084\u8cc7\u683c","path_file":"skill","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"tobe"}},{"Basis":{"title":"\u9069\u6027\u306b\u3064\u3044\u3066","path_file":"aptitude","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"tobe"}},{"Basis":{"title":"\u7a2e\u985e\u3092\u77e5\u308b","path_file":"kind","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"tobe"}}],"place":[{"Basis":{"title":"\u77ed\u671f\u7559\u5b66","path_file":"abroad","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"place"}},{"Basis":{"title":"\u990a\u6210\u30b9\u30af\u30fc\u30eb","path_file":"school","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"place"}}],"record":[{"Basis":{"title":"\u5168\u7c73\u30e8\u30ac\u30a2\u30e9\u30a4\u30a2\u30f3\u30b9\u3092\u53d6\u5f97\uff01","path_file":"license","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u30cf\u30ef\u30a4\u306e\u8056\u5730\u3067\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0","path_file":"training","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u30c8\u30c3\u30d7\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u306b\u3088\u308b\u6307\u5c0e","path_file":"guidance","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u901a\u8a33\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306e\u540c\u884c","path_file":"interpreter","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5e83\u304f\u5b66\u3079\u308b","path_file":"program","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u6709\u6a5f\u91ce\u83dc\u3092\u4f7f\u7528\u3057\u305f\u98df\u4e8b","path_file":"dish","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"record"}},{"Basis":{"title":"\u30a2\u30fc\u30e6\u30eb\u30f4\u30a7\u30fc\u30c0\uff08\u30a4\u30f3\u30c9\u4f1d\u7d71\u533b\u5b66\uff09\u3092\u5b66\u3079\u308b","path_file":"ayurveda","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"record"}}],"lecturer":[{"Basis":{"title":"\u5c31\u8077\u30b5\u30dd\u30fc\u30c8\u3082","path_file":"support","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"lecturer"}},{"Basis":{"title":"\u8b1b\u5e2b\u3068\u3057\u3066\u306e\u751f\u6d3b\u3068\u4ed5\u4e8b\u306e\u3084\u308a\u304c\u3044","path_file":"now","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"lecturer"}}]};
google.setOnLoadCallback(function(){
	baseuri = '/';
	jQuery.each(pageAll, function(cname, cdata)
	{
		jQuery.each(cdata, function(pid, pdata)
		{
			$cdiv = jQuery('#SideMenuListHeadLevel1_'+cname);
			$ul = $cdiv.next();
			if($ul.is('ul')===false){
				$cdiv.after('<ul>')
				$ul = $cdiv.next().addClass('SideMenuListLevel1');
			}
			listclass = (pdata.Basis.pickup_flag==1) ? ' class="SideMenuListPickupLevel1"' : '' ;
			linkurl = baseuri+cname+'/'+pdata.Basis.path_file+'.html';
			$ul.append('<li'+listclass+'><a href="'+linkurl+'">'+pdata.Basis.title+'</a></li>');
		});
	});
});


