$(function(){$('div.profil_nav_tab').each(function(){$(this).corner("round top 6px")});$('div.profil_nav_tab_active').corner("round top 6px");$('div.profil_nav_tab > a').hover(function(){$(this).parent().css({backgroundColor:"#fff"})},function(){$(this).parent().css({backgroundColor:"#f5f0ed"})})});function newFriendship(user_id,nickname){$.ajax({url:"/includes/ajax/profil_freundschaft.ajax.php",type:"POST",dataType:"xml",data:'user_id='+user_id+'&nickname='+nickname,success:function(responseXML){var html_txt='<div class="text_12px text_bold col_rot" style="padding-bottom: 20px">'+$("friendship",responseXML).text()+'</div>';$('#friendship_div').html(html_txt)}})}function newMerken(user_id,nickname){$.ajax({url:"/includes/ajax/profil_merken.ajax.php",type:"POST",dataType:"xml",data:'user_id='+user_id+'&nickname='+nickname,success:function(responseXML){var html_txt='<div class="text_12px text_bold col_rot" style="padding-bottom: 20px">'+$("merken",responseXML).text()+'</div>';$('#merken_div').html(html_txt)}})}function newSperren(user_id,nickname){$.ajax({url:"/includes/ajax/profil_sperren.ajax.php",type:"POST",dataType:"xml",data:'user_id='+user_id+'&nickname='+nickname,success:function(responseXML){var html_txt='<div class="text_12px text_bold col_rot" style="padding-bottom: 20px">'+$("sperren",responseXML).text()+'</div>';$('#sperren_div').html(html_txt)}})}
