pageAll = {"koberanking":[{"Basis":{"title":"\u5de5\u6cd5\u30fb\u69cb\u6cd5\u3067\u9078\u3076","path_file":"techniqueranking","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"koberanking"}},{"Basis":{"title":"\u30a2\u30d5\u30bf\u30fc\u30b5\u30fc\u30d3\u30b9\u3067\u9078\u3076","path_file":"aftersurviceranking","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"koberanking"}},{"Basis":{"title":"\u8a55\u5224\u3067\u9078\u3076","path_file":"rankingkuchikomi","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"koberanking"}}],"kobehousemaker":[{"Basis":{"title":"1.\u3042\u3093\u3058\u3085\u30db\u30fc\u30e0","path_file":"anjuhome","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"2.\u30bf\u30af\u30c8\u30db\u30fc\u30e0","path_file":"takutohome","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"3.\u3053\u3079\u3063\u3053\u30cf\u30a6\u30b9","path_file":"kobekkohouse","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"4.\u30af\u30ec\u30b9\u30c8\u30db\u30fc\u30e0","path_file":"kuresutohome","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"5.\u4f0a\u7530\u5de5\u52d9\u5e97","path_file":"idakoumuten","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"6.\u52dd\u7f8e\u4f4f\u5b85","path_file":"katsumijuutaku","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"7.\u30ae\u30e3\u30e9\u30ea\u30fc\u30fb\u30bc\u30f3","path_file":"zen","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"8.\u30d1\u30eb\u30b9\u30c6\u30fc\u30b8","path_file":"palstage","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"kobehousemaker"}},{"Basis":{"title":"9.\u30b3\u30c8\u30d6\u30ad\u30cf\u30a6\u30b8\u30f3\u30b0","path_file":"kotobukihousing","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"kobehousemaker"}}],"houseadvice":[{"Basis":{"title":"\u5805\u56fa\u306a\u6728\u9020\u8ef8\u7d44\u5de5\u6cd5\u3092\u9078\u307c\u3046","path_file":"japanhouse","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"houseadvice"}},{"Basis":{"title":"\u3053\u3053\u306f\u6700\u91cd\u8981\uff01\u8010\u9707\u6027","path_file":"antiearthquake","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"houseadvice"}},{"Basis":{"title":"\u5bff\u547d\u304c\u9577\u3044\u8010\u9707\u6027\u306e\u3042\u308b\u5bb6","path_file":"antiearthquake2","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"houseadvice"}},{"Basis":{"title":"\u78ba\u8a8d\uff01\u7121\u511f\u306e\u5b9a\u671f\u70b9\u691c\u304c\u3042\u308b\u304b","path_file":"choose","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"houseadvice"}}]};
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>');
		});
	});
});


