pageAll = {"choose":[{"Basis":{"title":"\u30b7\u30e3\u30f3\u30d7\u30fc\u306e\u7a2e\u985e\u3092\u77e5\u308b","path_file":"kind","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"choose"}},{"Basis":{"title":"\u9aea\u306b\u3044\u3044\u6210\u5206\u30fb\u60aa\u3044\u6210\u5206","path_file":"element","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"choose"}},{"Basis":{"title":"\u58f2\u308c\u7b4b\u30e9\u30f3\u30ad\u30f3\u30b0","path_file":"ranking","pickup_flag":"1","id":"4"},"Category":{"cat_path_file":"choose"}},{"Basis":{"title":"\u672c\u5f53\u306b\u751f\u3048\u308b\u306e\u304b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f","path_file":"tries","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"choose"}}],"improvement":[{"Basis":{"title":"\u9aea\u306e\u6d17\u3044\u65b9","path_file":"shampoo","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"improvement"}},{"Basis":{"title":"\u30c4\u30dc\u30de\u30c3\u30b5\u30fc\u30b8","path_file":"massage","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"improvement"}},{"Basis":{"title":"\u5897\u3084\u3059\u98df\u751f\u6d3b","path_file":"food","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"improvement"}}],"why":[{"Basis":{"title":"\u982d\u76ae\u30c8\u30e9\u30d6\u30eb\u306e\u539f\u56e0","path_file":"trouble","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"why"}},{"Basis":{"title":"\u8584\u6bdb\u3092\u307e\u306d\u304f\u751f\u6d3b\u7fd2\u6163","path_file":"custom","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"why"}},{"Basis":{"title":"\u5371\u967a\u5ea6\u30bb\u30eb\u30d5\u30c1\u30a7\u30c3\u30af","path_file":"check","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"why"}}],"base":[{"Basis":{"title":"\u9aea\u306e\u69cb\u9020","path_file":"structure","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"base"}},{"Basis":{"title":"\u982d\u76ae\u306e\u69cb\u9020","path_file":"scalp","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"base"}},{"Basis":{"title":"\u9aea\u306e\u6bdb\u306e\u6210\u5206","path_file":"element","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"base"}},{"Basis":{"title":"\u9aea\u306e\u5bff\u547d\u3068\u30b5\u30a4\u30af\u30eb","path_file":"cycle","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"base"}},{"Basis":{"title":"\u7406\u60f3\u306e\u982d\u9aea\u74b0\u5883","path_file":"ideal","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"base"}}]};
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>');
		});
	});
});

