pageAll = {"select":[{"Basis":{"title":"\u4e0b\u7dcf\u4e2d\u5c71\u3067\u63a2\u3059","path_file":"simosanakayama","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"select"}},{"Basis":{"title":"\u304b\u3057\u3053\u3044\u9078\u3073\u65b9","path_file":"good_choice","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"select"}},{"Basis":{"title":"\u60c5\u5831\u91cf\u306e\u591a\u3055\u3092\u898b\u308b\uff01","path_file":"information","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"select"}},{"Basis":{"title":"\u7121\u6599\u76f8\u8ac7\u3092\u53d7\u3051\u3088\u3046","path_file":"conference","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"select"}}],"decide":[{"Basis":{"title":"\u6c17\u306b\u306a\u308b\u6ce8\u6587\u4f4f\u5b85","path_file":"order","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"decide"}},{"Basis":{"title":"\u30e2\u30c7\u30eb\u30cf\u30a6\u30b9\u3092\u898b\u306b\u884c\u3053\u3046","path_file":"model_house","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"decide"}},{"Basis":{"title":"\u8cc7\u91d1\u8a08\u753b\uff5e\u304a\u91d1\u306e\u3042\u308c\u3053\u308c\uff5e","path_file":"money","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"decide"}},{"Basis":{"title":"\u3044\u3056\u5951\u7d04\uff01","path_file":"contract","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"decide"}}],"my_home":[{"Basis":{"title":"\u4e88\u7b97\u5185\u3067\u6700\u9ad8\u306e\u30de\u30a4\u30db\u30fc\u30e0\u3092\uff01","path_file":"budget","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"my_home"}},{"Basis":{"title":"\u30a4\u30f3\u30c6\u30ea\u30a2\u3068\u30a8\u30af\u30b9\u30c6\u30ea\u30a2\u306b\u3053\u3060\u308f\u308a\u305f\u3044","path_file":"interior_exterior","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"my_home"}},{"Basis":{"title":"\u30a8\u30b3\u306b\u3082\u914d\u616e\u3057\u305f\u3044","path_file":"eco","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"my_home"}},{"Basis":{"title":"\u4f4f\u74b0\u5883\u306b\u3064\u3044\u3066\u306e\u8003\u3048\u65b9\u3068\u5b89\u5168\u6027","path_file":"environment","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"my_home"}},{"Basis":{"title":"\u3064\u3044\u306b\u7740\u5de5\uff01","path_file":"construction","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"my_home"}}],"new_life":[{"Basis":{"title":"\u30a2\u30d5\u30bf\u30fc\u30d5\u30a9\u30ed\u30fc\uff1f\u55b6\u696d\u3055\u3093\u304c\u3084\u3063\u3066\u304d\u305f\uff01","path_file":"after_follow","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"new_life"}},{"Basis":{"title":"\u4f4f\u30cf\u30a6\u30b8\u30f3\u30b0\u3067\u5efa\u3066\u305f\u6211\u304c\u5bb6\u306f\u3053\u308c\u266a","path_file":"introduction","pickup_flag":"1","id":"16"},"Category":{"cat_path_file":"new_life"}}]};
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>');
		});
	});
});

