pageAll = {"choose":[{"Basis":{"title":"\u88fd\u54c1\u9078\u3073\u306e\u30dd\u30a4\u30f3\u30c8","path_file":"point","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"choose"}},{"Basis":{"title":"\u6210\u5206\u8868\u793a\u3092\u30c1\u30a7\u30c3\u30af","path_file":"ingredient","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"choose"}},{"Basis":{"title":"\u304a\u3059\u3059\u3081\u30b7\u30e3\u30f3\u30d7\u30fc\u30d9\u30b9\u30c85","path_file":"recommendation","pickup_flag":"1","id":"4"},"Category":{"cat_path_file":"choose"}}],"foundation":[{"Basis":{"title":"\u754c\u9762\u6d3b\u6027\u5264\u306f\u5371\u967a\uff1f","path_file":"surfactant","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u533b\u85ac\u90e8\u5916\u54c1\u306e\u843d\u3068\u3057\u7a74","path_file":"quasi_drug","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u88fd\u54c1\u306b\u542b\u307e\u308c\u308b\u9632\u8150\u5264","path_file":"preservative","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u7537\u6027\u306f\u7537\u6027\u7528\u3092\u8cb7\u3046\u3079\u304d\u304b","path_file":"man","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u30ce\u30f3\u30b7\u30ea\u30b3\u30f3\u30b7\u30e3\u30f3\u30d7\u30fc\u306b\u3064\u3044\u3066","path_file":"coating","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u7121\u6dfb\u52a0\u8868\u793a\u306b\u30c0\u30de\u3055\u308c\u306a\u3044","path_file":"additive_free","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"foundation"}}],"method":[{"Basis":{"title":"\u9593\u9055\u3063\u305f\u6d17\u3044\u65b9\u304c\u9aea\u3092\u50b7\u3081\u308b","path_file":"trouble","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"method"}},{"Basis":{"title":"\u6b63\u3057\u3044\u30b7\u30e3\u30f3\u30d7\u30fc\u306e\u65b9\u6cd5","path_file":"how_to","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"method"}},{"Basis":{"title":"\u30d7\u30e9\u30b9\u30a2\u30eb\u30d5\u30a1\u306e\u9aea\u306e\u304a\u624b\u5165\u308c","path_file":"care","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"method"}}],"hair":[{"Basis":{"title":"\u9aea\u306e\u57fa\u672c\u69cb\u9020","path_file":"structure","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u30d8\u30a2\u30b5\u30a4\u30af\u30eb\u306b\u3064\u3044\u3066","path_file":"hair_cycle","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"hair"}},{"Basis":{"title":"\u30b7\u30e3\u30f3\u30d7\u30fc\u304c\u9aea\u306b\u4e0e\u3048\u308b\u5f71\u97ff","path_file":"shampoo_trouble","pickup_flag":"0","id":"16"},"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>');
		});
	});
});


