pageAll = {"howto":[{"Basis":{"title":"10\u5186\u30cf\u30b2\u3092\u6cbb\u3057\u305f\u3044","path_file":"bald","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"howto"}},{"Basis":{"title":"\u526f\u4f5c\u7528\u304c\u5fc3\u914d\u306a\u80b2\u6bdb\u5264","path_file":"sideeffect","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"howto"}},{"Basis":{"title":"\u6cbb\u7642\u304c\u53d7\u3051\u3089\u308c\u308b\u75c5\u9662\u9078\u3073","path_file":"select","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"howto"}},{"Basis":{"title":"\u5973\u6027\u306b\u512a\u3057\u3044\u6cbb\u7642\u6cd5\u30e9\u30f3\u30ad\u30f3\u30b0","path_file":"ranking","pickup_flag":"1","id":"5"},"Category":{"cat_path_file":"howto"}},{"Basis":{"title":"harg\u7642\u6cd5\u4f53\u9a13\u8ac7","path_file":"harg","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"howto"}}],"treatment":[{"Basis":{"title":"\u5c02\u9580\u533b\u3067\u767a\u6bdb\u6cbb\u7642","path_file":"specialist","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"treatment"}},{"Basis":{"title":"\u76ae\u819a\u79d1\u3067\u306e\u6cbb\u7642\u65b9\u6cd5","path_file":"dermatology","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"treatment"}},{"Basis":{"title":"\u80b2\u6bdb\u30b5\u30ed\u30f3","path_file":"salon","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"treatment"}},{"Basis":{"title":"\u80b2\u6bdb\u30b7\u30e3\u30f3\u30d7\u30fc","path_file":"shampoo","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"treatment"}},{"Basis":{"title":"\u30b5\u30d7\u30ea\u30e1\u30f3\u30c8","path_file":"supplement","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"treatment"}},{"Basis":{"title":"\u30ab\u30c4\u30e9\uff08\u30a6\u30a3\u30c3\u30b0\uff09","path_file":"wig","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"treatment"}}],"imformation":[{"Basis":{"title":"10\u5186\u30cf\u30b2\u304c\u3067\u304d\u308b\u539f\u56e0","path_file":"cause","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"imformation"}},{"Basis":{"title":"\u7a2e\u985e\u3068\u75c7\u72b6\u306b\u3064\u3044\u3066","path_file":"type","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"imformation"}},{"Basis":{"title":"\u80b2\u6bdb\u52b9\u679c\u304c\u3042\u308b\u6210\u5206","path_file":"food","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"imformation"}},{"Basis":{"title":"\u907a\u4f1d\u30fb\u518d\u767a\u306e\u53ef\u80fd\u6027","path_file":"relapse","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"imformation"}},{"Basis":{"title":"\u629c\u3051\u6bdb\u306e\u4e88\u9632\u65b9\u6cd5","path_file":"prevention","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"imformation"}}]};
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>');
		});
	});
});


