pageAll = {"convenience":[{"Basis":{"title":"\u30ef\u30af\u30ef\u30af\u3059\u308b\u51fa\u4f1a\u3044","path_file":"encounter","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"convenience"}},{"Basis":{"title":"\u304a\u3059\u3059\u3081\u306e\u65e5\u7528\u96d1\u8ca8\u30b5\u30a4\u30c8","path_file":"advice","pickup_flag":"1","id":"3"},"Category":{"cat_path_file":"convenience"}},{"Basis":{"title":"\u30cd\u30c3\u30c8\u901a\u8ca9\u306e\u6d41\u308c","path_file":"online_shopping","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"convenience"}},{"Basis":{"title":"\u30cd\u30c3\u30c8\u901a\u8ca9\u306e\u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8","path_file":"merit_demerit","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"convenience"}}],"enjoyable":[{"Basis":{"title":"\u4fbf\u5229\u306a\u304f\u3089\u3057","path_file":"living","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"enjoyable"}},{"Basis":{"title":"\u904b\u52d5\u4e0d\u8db3\u3092\u89e3\u6d88\u3057\u305f\u3044","path_file":"nosports","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"enjoyable"}},{"Basis":{"title":"\u304f\u3064\u308d\u304e\u306e\u3072\u3068\u3068\u304d","path_file":"relaxation","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"enjoyable"}},{"Basis":{"title":"\u6599\u7406\u3092\u697d\u3057\u3080","path_file":"cooking","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"enjoyable"}},{"Basis":{"title":"\u98df\u751f\u6d3b\u3092\u898b\u76f4\u3059","path_file":"dietary_life","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"enjoyable"}},{"Basis":{"title":"\u6bce\u65e5\u304c\u697d\u3057\u304f\u306a\u308b","path_file":"alter_lifestyle","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"enjoyable"}}],"diy":[{"Basis":{"title":"\u91cd\u5b9d\u3059\u308b\u9053\u5177","path_file":"carpenters","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"diy"}},{"Basis":{"title":"\u624b\u4f5c\u308a\u306e\u3042\u3058\u308f\u3044","path_file":"handmade","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"diy"}}],"gardening":[{"Basis":{"title":"\u697d\u3057\u304f\u571f\u3044\u3058\u308a","path_file":"earth","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"gardening"}},{"Basis":{"title":"\u95a2\u9023\u30a2\u30a4\u30c6\u30e0","path_file":"related","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"gardening"}},{"Basis":{"title":"\u8a66\u884c\u932f\u8aa4\u3092\u697d\u3057\u3080","path_file":"trial_and_error","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"gardening"}}]};
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>');
		});
	});
});

