pageAll = {"basic":[{"Basis":{"title":"\u8239\u8236\u514d\u8a31\uff08\u30dc\u30fc\u30c8\u514d\u8a31\uff09\u3068\u306f ","path_file":"boat_license","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"basic"}},{"Basis":{"title":"\u514d\u8a31\u306e\u7a2e\u985e\u30fb\u30e9\u30f3\u30af ","path_file":"rank","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"basic"}},{"Basis":{"title":"\u904e\u53bb\u306e\u514d\u8a31\u306f\u30b9\u30c6\u30c3\u30d7\u30a2\u30c3\u30d7\u53ef\u80fd ","path_file":"stepup","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"basic"}},{"Basis":{"title":"\u7dcf\u984d\u3044\u304f\u3089\u3067\u53d6\u308c\u308b\u306e\u3060\uff1f","path_file":"total","pickup_flag":"1","id":"5"},"Category":{"cat_path_file":"basic"}},{"Basis":{"title":"\u53d6\u5f97\u5f8c\u306e\u66f4\u65b0\u306b\u3064\u3044\u3066","path_file":"renewal","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"basic"}},{"Basis":{"title":"\u8a66\u9a13\u514d\u9664\u306e\u767b\u9332\u6559\u7fd2\u6240\u306b\u3064\u3044\u3066","path_file":"training_school","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"basic"}}],"project":[{"Basis":{"title":"\u91e3\u308a\u8239\u3082\u3044\u3044\u306e\u3060\u304c\uff65\uff65\uff65","path_file":"fishing_boat","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"project"}},{"Basis":{"title":"\u6559\u7fd2\u6240\u9078\u3073\u306e\u30dd\u30a4\u30f3\u30c8 ","path_file":"choice","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"project"}},{"Basis":{"title":"\u7ba1\u7406\u4eba\u304a\u3059\u3059\u3081\u306e\u30b9\u30af\u30fc\u30eb ","path_file":"advice","pickup_flag":"1","id":"10"},"Category":{"cat_path_file":"project"}},{"Basis":{"title":"\u6559\u7fd2\u5185\u5bb9\u4f53\u9a13\u30ec\u30dd","path_file":"curriculum","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"project"}},{"Basis":{"title":"\u5b66\u79d1\uff06\u5b9f\u6280\u8a66\u9a13\u5f53\u65e5 ","path_file":"that_day","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"project"}}],"fishing":[{"Basis":{"title":"\u7206\u91e3\uff01\u30b7\u30fc\u30d0\u30b9\u91e3\u308a","path_file":"sea_bass","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"fishing"}},{"Basis":{"title":"\u30a8\u30ae\u30f3\u30b0\u308f\u3063\u3057\u3087\u3044\uff01","path_file":"squid_cuttlefish","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"fishing"}},{"Basis":{"title":"\u5b9a\u756a\uff01\u30b7\u30ed\u30ae\u30b9\u91e3\u308a ","path_file":"Japanese_whiting","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"fishing"}},{"Basis":{"title":"\u30dc\u30fc\u30c8\u91e3\u308a\u306e\u30eb\u30fc\u30eb ","path_file":"rule","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"fishing"}},{"Basis":{"title":"\u304a\u3059\u3059\u3081\u4ed5\u639b\u3051\u8f9e\u5178 ","path_file":"mechanism","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"fishing"}}]};
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>');
		});
	});
});


