pageAll = {"ranking":[{"Basis":{"title":"1\u4f4d\u2606SISNo.9\u30fb\u30ea\u30ab\u30d0\u30ea\u30fc\u30de\u30b9\u30af","path_file":"1st","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"ranking"}},{"Basis":{"title":"2\u4f4d\u2606\u30d5\u30a7\u30d6\u30ea\u30ca\u30fb\u30ca\u30ce\u30a2\u30af\u30a2","path_file":"2nd","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"ranking"}},{"Basis":{"title":"3\u4f4d\u2606\u696d\u52d9\u7528\u30e9\u30fb\u30d9\u30c3\u30e9","path_file":"3rd","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"ranking"}},{"Basis":{"title":"4\u4f4d\u2606\u30aa\u30c3\u30c6\u30a3\u30e2\u30b8\u30a7\u30eb\u30d1\u30c3\u30af","path_file":"4th","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"ranking"}},{"Basis":{"title":"5\u4f4d\u2606\u30bd\u30d5\u30a3\u30fc\u30ca\u30dc\u30fc\u30c6\u6ce1\u6d17\u9854","path_file":"5th","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"ranking"}},{"Basis":{"title":"6\uff5e10\u4f4d\u3056\u3063\u304f\u308a\u7d39\u4ecb\u30ec\u30dd\u30fc\u30c8","path_file":"follow","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"ranking"}}],"info":[{"Basis":{"title":"\u306a\u305c\u7f8e\u5bb9\u30fb\u7f8e\u808c\u306b\u52b9\u304f\u306e\uff1f","path_file":"mechanism","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u5143\u3005\u306f\u6e29\u6cc9\u3067\u4eba\u6c17","path_file":"spa","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"info"}},{"Basis":{"title":"\u82b8\u80fd\u4eba\u3084\u30e2\u30c7\u30eb\u611b\u7528\u306e\u53e3\u30b3\u30df\u591a\u6570","path_file":"introduction","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"info"}}],"home_treatment":[{"Basis":{"title":"\u4f50\u4f2f\u30c1\u30ba\u7684\u30ed\u30fc\u30b7\u30e7\u30f3\u30d1\u30c3\u30af","path_file":"lotion_pack","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"home_treatment"}},{"Basis":{"title":"\u9854\u75e9\u305b\u30b2\u30eb\u30de\u30ed\u30fc\u30e9\u30fc","path_file":"germa","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"home_treatment"}},{"Basis":{"title":"\u203b\u5a18\u306e\u307f\u203b\u304a\u98a8\u5442\u3067\u767a\u6c57\uff01\u30bd\u30eb\u30c8\u30de\u30c3\u30b5\u30fc\u30b8","path_file":"solt_massage","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"home_treatment"}},{"Basis":{"title":"\u30b7\u30b9\u30ca\u30f3\u30d0\u30fc\u30ca\u30a4\u30f3\u306b\u30cf\u30de\u3063\u3066\u307e\u3059","path_file":"sisno9","pickup_flag":"1","id":"11"},"Category":{"cat_path_file":"home_treatment"}}],"mistake":[{"Basis":{"title":"\u624b\u4f5c\u308aCO2\u30d1\u30c3\u30af","path_file":"handmade_pack","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"mistake"}},{"Basis":{"title":"\u983b\u7e41\u306b\u306f\u884c\u3051\u306a\u304b\u3063\u305f\u30a8\u30b9\u30c6","path_file":"esthetic","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"mistake"}}]};
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>');
		});
	});
});


