pageAll = {"trouble":[{"Basis":{"title":"\u30b3\u30b7\u304c\u306a\u304f\u306a\u3063\u3066\u304d\u305f\u2026","path_file":"healthful","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"trouble"}},{"Basis":{"title":"\u30c4\u30e4\u304c\u306a\u304f\u306a\u3063\u3066\u304d\u305f\u2026","path_file":"cuticle","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"trouble"}},{"Basis":{"title":"\u30dc\u30ea\u30e5\u30fc\u30e0\u304c\u306a\u304f\u306a\u3063\u3066\u304d\u305f\u2026","path_file":"volume","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"trouble"}},{"Basis":{"title":"\u629c\u3051\u6bdb\u304c\u6c17\u306b\u306a\u308b\u2026","path_file":"lost_hair","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"trouble"}},{"Basis":{"title":"\u5973\u6027\u3082\u306a\u308b\u306e\uff1fAGA","path_file":"aga","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"trouble"}}],"shampoo_ranking":[{"Basis":{"title":"\u4e88\u9632\u306b\u5f79\u7acb\u3064\u30b7\u30e3\u30f3\u30d7\u30fc\u306e\u9078\u3073\u65b9","path_file":"choice","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"\u8584\u6bdb\u5bfe\u7b56\u30b7\u30e3\u30f3\u30d7\u30fc\u30d9\u30b9\u30c85","path_file":"bestfive","pickup_flag":"1","id":"3"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"1\u4f4d\uff1a\u30d7\u30ec\u30df\u30a2\u30e0\u30d5\u30a3\u30c8","path_file":"premium_phyto","pickup_flag":"1","id":"4"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"2\u4f4d\uff1a\u30e9\u30b5\u30fc\u30ca\u3000\u6d77\u85fb\u6d77\u6ce5\u30b7\u30e3\u30f3\u30d7\u30fc","path_file":"lasana","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"3\u4f4d\uff1a\u30b9\u30ab\u30eb\u30d7D\u30ec\u30c7\u30a3\u30fc\u30b9","path_file":"skalp_d","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"4\u4f4d\uff1a\u30a2\u30c3\u30b7\u30e5\u30f4\u30a9\u30a2","path_file":"hvoix","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"shampoo_ranking"}},{"Basis":{"title":"5\u4f4d\uff1a\u30d7\u30ed\u30b0\u30ce\u3000126\u30b7\u30e3\u30f3\u30d7\u30fc","path_file":"progno","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"shampoo_ranking"}}],"research":[{"Basis":{"title":"\u904e\u5ea6\u306a\u30c0\u30a4\u30a8\u30c3\u30c8\u306f\u7981\u7269","path_file":"diet","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"research"}},{"Basis":{"title":"\u982d\u76ae\u30de\u30c3\u30b5\u30fc\u30b8\u3092\u3057\u3088\u3046","path_file":"massage","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"research"}},{"Basis":{"title":"\u30c9\u30e9\u30a4\u30e4\u30fc\u306e\u4f7f\u3044\u65b9","path_file":"dryer","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"research"}},{"Basis":{"title":"\u6574\u9aea\u6599\u306b\u3064\u3044\u3066","path_file":"hairdressing","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"research"}}]};
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>');
		});
	});
});


