pageAll = {"result":[{"Basis":{"title":"\u767a\u6bdb\u65b9\u6cd5\u306e\u6bd4\u8f03\u30e9\u30f3\u30ad\u30f3\u30b0","path_file":"ranking","pickup_flag":"1","id":"8"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30d8\u30c3\u30c9\u30b9\u30d1","path_file":"spa","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30d8\u30a2\u30b3\u30f3\u30bf\u30af\u30c8","path_file":"haircontact","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"AGA\u6cbb\u7642","path_file":"aga","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u81ea\u6bdb\u690d\u6bdb","path_file":"hair_transplant","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u767a\u6bdb\u30b5\u30ed\u30f3","path_file":"saloon","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30ec\u30fc\u30b6\u30fc\u30d6\u30e9\u30b7","path_file":"laser","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30d7\u30ed\u30da\u30b7\u30a2","path_file":"propecia","pickup_flag":"0","id":"20"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30a2\u30c7\u30e9\u30f3\u30b9","path_file":"aderans","pickup_flag":"0","id":"18"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30ea\u30a2\u30c3\u30d7\u30d7\u30e9\u30b9","path_file":"riupplus","pickup_flag":"0","id":"19"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30d7\u30ed\u30d4\u30a2 \u30d7\u30ed\u30b0\u30ce126EX","path_file":"216ex","pickup_flag":"0","id":"21"},"Category":{"cat_path_file":"result"}},{"Basis":{"title":"\u30a2\u30df\u30de\u30c3\u30af\u30b9","path_file":"amimax","pickup_flag":"0","id":"22"},"Category":{"cat_path_file":"result"}}],"mistake":[{"Basis":{"title":"\u4f7f\u3044\u65b9\u3092\u9593\u9055\u3048\u305f\u30b7\u30e3\u30f3\u30d7\u30fc","path_file":"shampoo","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"mistake"}},{"Basis":{"title":"\u3064\u3044\u3064\u3044\u98f2\u307f\u5fd8\u308c\u308b\u30b5\u30d7\u30ea\u30e1\u30f3\u30c8","path_file":"supplement","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"mistake"}},{"Basis":{"title":"\u53e3\u30b3\u30df\u306b\u671f\u5f85\u3057\u3059\u304e\u305f\u767a\u6bdb\u5264","path_file":"expect","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"mistake"}},{"Basis":{"title":"\u80b2\u6bdb\u30de\u30cb\u30e5\u30a2\u30eb\u3067\u632b\u6298","path_file":"manual","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"mistake"}}],"knowledge":[{"Basis":{"title":"\u306a\u305c\u9aea\u306f\u629c\u3051\u308b\u306e\u304b","path_file":"lose","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u8584\u6bdb\u306f\u907a\u4f1d\u3059\u308b\uff1f","path_file":"heredity","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u9aea\u3092\u80b2\u3066\u308b\u6804\u990a\u7d20","path_file":"nutrient","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u30d1\u30fc\u30de\u304c\u6bdb\u6839\u3092\u50b7\u3064\u3051\u308b","path_file":"permanent","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"knowledge"}},{"Basis":{"title":"\u982d\u76ae\u30b1\u30a2\u3067\u8840\u884c\u4fc3\u9032","path_file":"care","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"knowledge"}}]};
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>');
		});
	});
});

