function vkWallNotesLink(get_count){
if (get_count){
dApi.call('notes.get',{uid:cur.oid, count:1},function(r){
ge('pr_notes_count').innerHTML=(r.response || [0]).shift()
});
}
/*
if (ge('vk_wall_notes_link')) return;
if (isVisible('page_wall_switch')) ge('page_wall_header').appendChild(vkCe('span',{"c lass":'fl_r right_link divide'},'|'))
var href=ge('page_wall_header').getAttribute('href');
ge('page_wall_header').appendChild(vkCe('a',{
"class":'fl_r right_link',
id:'vk_wall_notes_link',
href:'/notes'+cur.oid,
onclick:"cancelEvent(event); return nav.go(this, event);",
onmouseover:"this.parentNode.href='/notes"+cur.oid+"';",
onmouseout:"this.parentNode.href='"+href+"';"
},IDL('clNo',1)))*/
html='<a class="notes" onclick="return nav.go(this, event);" href="/notes'+cur.oid+'" onmouseover="vkWallNotesLink(true);">\
<span class="fl_r thumb"></span><span class="fl_r" id="pr_notes_count"></span>'+IDL('clNo',1)+'</a>';
if (ge('profile_counts') && !ge('pr_notes_count')){
ge('profile_counts').appendChild(vkCe('div',{},htm l));
}
}