pageAll = {"choice":[{"Basis":{"title":"\u30ec\u30fc\u30b6\u30fc\u8131\u6bdb\u304a\u3059\u3059\u3081\u30af\u30ea\u30cb\u30c3\u30af\u6bd4\u8f03\u30e9\u30f3\u30ad\u30f3\u30b0","path_file":"rankingtop3","pickup_flag":"1","id":"3"},"Category":{"cat_path_file":"choice"}},{"Basis":{"title":"\u30af\u30ea\u30cb\u30c3\u30af\u9078\u3073\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8","path_file":"check","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"choice"}},{"Basis":{"title":"\u65bd\u8853\u306e\u6d41\u308c","path_file":"treatment","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"choice"}},{"Basis":{"title":"\u8131\u6bdb\u3092\u53d7\u3051\u308b\u524d\u306e\u6ce8\u610f\u70b9","path_file":"important","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"choice"}}],"info":[{"Basis":{"title":"\u30ec\u30fc\u30b6\u30fc\u8131\u6bdb\u3068\u306f\uff1f","path_file":"knowledge","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u75db\u304f\u306a\u3044\uff1f\u30ec\u30fc\u30b6\u30fc\u8131\u6bdb\u306e\u5b89\u5168\u6027","path_file":"safe","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u30a8\u30b9\u30c6\u3068\u533b\u7642\u7528\u306e\u30ec\u30fc\u30b6\u30fc\u306e\u9055\u3044","path_file":"difference","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u30ec\u30fc\u30b6\u30fc\u8131\u6bdb\u6a5f\u306e\u7a2e\u985e","path_file":"machine","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u6c17\u306b\u306a\u308b\u8cbb\u7528\u306e\u304a\u8a71","path_file":"expense","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u30ec\u30fc\u30b6\u30fc\u8131\u6bdb\u666e\u53ca\u307e\u3067\u306e\u9053\u306e\u308a","path_file":"footprint","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"info"}}],"hair":[{"Basis":{"title":"\u306a\u305c\u30e0\u30c0\u6bdb\u306f\u751f\u3048\u308b\u306e\u304b","path_file":"reason","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u30db\u30eb\u30e2\u30f3\u30d0\u30e9\u30f3\u30b9\u304c\u5d29\u308c\u308b\u3068\u6fc3\u304f\u306a\u308b\uff1f","path_file":"hormone","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u767a\u6bdb\u5468\u671f\u3092\u898b\u6975\u3081\u308b\u3053\u3068\u304c\u5927\u4e8b","path_file":"timing","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u5243\u3063\u3066\u3082\u629c\u3044\u3066\u3082\u808c\u306b\u30c0\u30e1\u30fc\u30b8\u304c\u6b8b\u308b","path_file":"selfcare","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u751f\u7406\u3068\u8131\u6bdb","path_file":"period","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u598a\u5a20\u3068\u8131\u6bdb","path_file":"pregnancy","pickup_flag":"0","id":"18"},"Category":{"cat_path_file":"hair"}}]};
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>');
		});
	});
});

