pageAll = {"spa":[{"Basis":{"title":"\u68ee\u306e\u57ce\u3000\u7f8eing","path_file":"morinoshiro","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"spa"}},{"Basis":{"title":"\u71b1\u6d77\u30b7\u30fc\u30b5\u30a4\u30c9","path_file":"atamiseaside","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"spa"}},{"Basis":{"title":"\u30db\u30c6\u30eb\u3000\u30df\u30af\u30e9\u30b9","path_file":"micuras","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"spa"}},{"Basis":{"title":"\u30a2\u30bf\u30df\u30b7\u30fc\u30ba\u30f3\u30db\u30c6\u30eb","path_file":"seasonhotel","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"spa"}},{"Basis":{"title":"\u71b1\u6d77\u306e\u65e5\u5e30\u308a\u30b9\u30d1\u3092\u6bd4\u8f03","path_file":"ranking","pickup_flag":"1","id":"6"},"Category":{"cat_path_file":"spa"}}],"spatreatment":[{"Basis":{"title":"\u304b\u3051\u6d41\u3057\u6e29\u6cc9","path_file":"hotspring","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"spatreatment"}},{"Basis":{"title":"\u30bf\u30e9\u30bd\u30bb\u30e9\u30d4\u30fc","path_file":"thalassotherapie","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"spatreatment"}},{"Basis":{"title":"\u3088\u3082\u304e\u84b8\u3057\u30fb\u5ca9\u76e4\u6d74","path_file":"yomogi_ganban","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"spatreatment"}},{"Basis":{"title":"\u30dc\u30c7\u30a3\u30fc\u30b1\u30a2","path_file":"bodycare","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"spatreatment"}},{"Basis":{"title":"\u30d5\u30a7\u30a4\u30b7\u30e3\u30eb\u30b1\u30a2","path_file":"facialcare","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"spatreatment"}},{"Basis":{"title":"\u30d3\u30e5\u30fc\u30c6\u30a3\u30fc\u30e1\u30cb\u30e5\u30fc","path_file":"beauty","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"spatreatment"}}],"sightseeing":[{"Basis":{"title":"\u30ef\u30f3\u30c7\u30fc\u30d7\u30e9\u30f3\u3067\u6e80\u55ab","path_file":"onedayplan","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"sightseeing"}},{"Basis":{"title":"\u7f8e\u5bb9\u306b\u3082\u3044\u3044\u71b1\u6d77\u306e\u540d\u7269","path_file":"foods","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"sightseeing"}},{"Basis":{"title":"\u304a\u3059\u3059\u3081\u30a6\u30a9\u30fc\u30ad\u30f3\u30b0\u30d7\u30e9\u30f3","path_file":"walkingplan","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"sightseeing"}},{"Basis":{"title":"\u56db\u5b63\u306b\u5408\u308f\u305b\u305f\u898b\u6240","path_file":"season","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"sightseeing"}},{"Basis":{"title":"\u82b1\u706b\u5927\u4f1a\u3084\u796d\u308a","path_file":"festivals","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"sightseeing"}}]};
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>');
		});
	});
});


