pageAll = {"law":[{"Basis":{"title":"\u53f8\u6cd5\u66f8\u58eb","path_file":"judiciary","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"law"}},{"Basis":{"title":"\u7a0e\u7406\u58eb","path_file":"accountant","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"law"}},{"Basis":{"title":"\u793e\u52b4\u58eb","path_file":"insurance","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"law"}}],"office":[{"Basis":{"title":"\u6771\u4eac\u6cd5\u4eba\u8a2d\u7acb\u30b5\u30dd\u30fc\u30c8\u30bb\u30f3\u30bf\u30fc","path_file":"tokyo","pickup_flag":"1","id":"5"},"Category":{"cat_path_file":"office"}},{"Basis":{"title":"\u884c\u653f\u66f8\u58eb\u30fb\u793e\u4f1a\u4fdd\u967a\u52b4\u52d9\u58eb\u4e2d\u592e\u30b0\u30eb\u30fc\u30d7","path_file":"tyuou","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"office"}},{"Basis":{"title":"\u5ddd\u53e3\u5e02\u6c11\u6cd5\u52d9\u4e8b\u52d9\u6240","path_file":"kawaguchi","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"office"}},{"Basis":{"title":"\u53f8\u6cd5\u66f8\u58eb\u6cd5\u4eba\u548c\u5149\u4e8b\u52d9\u6240","path_file":"wakou","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"office"}},{"Basis":{"title":"\u624b\u7d9a\u304d\u30b3\u30f3\u30d3\u30cb\u30fb\u30d9\u30b9\u30c8\u30d5\u30a1\u30fc\u30e0","path_file":"bestfirm","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"office"}}],"knowledge":[{"Basis":{"title":"\u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u3064\u3044\u3066","path_file":"establishment","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u682a\u5f0f\u4f1a\u793e\u7acb\u3061\u4e0a\u3052\u306e\u6d41\u308c","path_file":"flow","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u7528\u610f\u3059\u308b\u3082\u306e","path_file":"prepare","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u4f1a\u793e\u8a2d\u7acb\u5f8c\u30fb1\u671f\u76ee","path_file":"company","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"knowledge"}}],"aid":[{"Basis":{"title":"\u4e2d\u5c0f\u4f01\u696d\u57fa\u76e4\u4eba\u6750\u78ba\u4fdd\u52a9\u6210\u91d1","path_file":"smallbusinesses","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"aid"}},{"Basis":{"title":"\u53d7\u7d66\u8cc7\u683c\u8005\u5275\u696d\u652f\u63f4\u52a9\u6210\u91d1","path_file":"founding","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"aid"}},{"Basis":{"title":"\u7279\u5b9a\u6c42\u8077\u8005\u96c7\u7528\u958b\u767a\u52a9\u6210\u91d1","path_file":"employ","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"aid"}}]};
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>');
		});
	});
});


