pageAll = {"compare_by_function":[{"Basis":{"title":"\u7f8e\u767d\u306b\u52b9\u304f\u306e\u306f\u30b3\u30ec\uff01","path_file":"whitening","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"compare_by_function"}},{"Basis":{"title":"\u3046\u308b\u304a\u3044\u304c\u5b9f\u611f\u3067\u304d\u308b\u306e\u306f\u30b3\u30ec\uff01","path_file":"moisture","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"compare_by_function"}},{"Basis":{"title":"\u30cb\u30ad\u30d3\u306b\u52b9\u304f\u306e\u306f\u30b3\u30ec\uff01","path_file":"acne","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"compare_by_function"}},{"Basis":{"title":"\u6bdb\u7a74\u306b\u30c6\u30ad\u30e1\u30f3\u306a\u306e\u306f\u30b3\u30ec\uff01","path_file":"pore","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"compare_by_function"}}],"major_8brands":[{"Basis":{"title":"1\u4f4d\uff1a\u30e9\u30d5\u30a3\u30cd\u30d1\u30fc\u30d5\u30a7\u30af\u30c8\u30ef\u30f3","path_file":"raffine_perfectone","pickup_flag":"1","id":"6"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"2\u4f4d\uff1a\u6d77\u306e\u30d6\u30ec\u30a2","path_file":"breha_of_sea","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"3\u4f4d\uff1a\u30a8\u30d0\u30e1\u30fc\u30eb","path_file":"evermere","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"4\u4f4d\uff1a\u30c9\u30af\u30bf\u30fc\u30b7\u30fc\u30e9\u30dc","path_file":"dr_cilabo","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"5\u4f4d\uff1a\u6c34\u306e\u5929\u4f7f","path_file":"mizuno_tensi","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"6\u4f4d\uff1aSP\u30d7\u30ec\u30df\u30a2\u30e0","path_file":"sp_premium","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"7\u4f4d\uff1a\u5929\u771f\u5802\u30a8\u30cb\u30b7\u30f3\u30b0\u30db\u30ef\u30a4\u30c8","path_file":"anything_white","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"major_8brands"}},{"Basis":{"title":"8\u4f4d\uff1a\u30aa\u30fc\u30b7\u30e3\u30f3\u30a4\u30aa\u30f3\u30b2\u30eb","path_file":"ocean_ion_gel","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"major_8brands"}}],"special_way_to_use":[{"Basis":{"title":"\u5316\u7ca7\u4e0b\u5730\u3068\u3057\u3066","path_file":"makeup_base","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"special_way_to_use"}},{"Basis":{"title":"\u30e1\u30a4\u30af\u76f4\u3057\u306b\u3082\u4f7f\u3048\u308b\uff01","path_file":"repair_makeup","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"special_way_to_use"}},{"Basis":{"title":"\u808c\u3078\u306e\u3054\u307b\u3046\u3073\u266a\u30b2\u30eb\u30d1\u30c3\u30af","path_file":"gel_pack","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"special_way_to_use"}},{"Basis":{"title":"\u30dc\u30c7\u30a3\u306b\u3082\uff01","path_file":"body_care","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"special_way_to_use"}}]};
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>');
		});
	});
});


