<script>
myalign=parseFloat('".$myinfo->align."');
document.onmousedown=Down;function Down()
{top.CtrlPress=window.event.ctrlKey}
function w(name,id,align,klan,level,slp,trv,city, att,afk) {
lev=7;
opener=\"\";
var s=\"\";
if (klan.length>0) {
md = new Date();
if (md.toGMTString().substring(5,15)=='1 Apr 2006'){
}
klan='<A HREF=\"/encicl/klan/'+klan+'.html\" target=_blank><IMG SRC=\"../i/klan/'+klan+'.gif\" WIDTH=24 HEIGHT=15 BORDER=0 ALT=\"\"></A>';
}
if (lev>0) s+='<a href=\"java script:'+opener+'top.AddToPrivate(\''+name+'\',true)\"><IMG SRC=\"../i/lock.gif\" BORDER=0 ALT=\"Приват\"></a>';
s+='<IMG SRC=\"../i/align'+align+'.gif\" WIDTH=12 HEIGHT=15 BORDER=0 ALT=\"\">'+klan+
'<a href=\"java script:'+opener+'top.AddTo(\''+name+'\')\">'+name+'</a>['+level+']<a href=\"inf.php?'+id+'\" target=_blank>'+
'<IMG SRC=\"../i/inf.gif\" WIDTH=12 HEIGHT=11 BORDER=0 ALT=\"Инф. о '+name+'\"></a>';
// '<IMG SRC=\"../i/inf'+city+'.gif\" WIDTH=12 HEIGHT=11 BORDER=0 ALT=\"Инф. о '+name+'\"></a>';
if (slp>0) { s+=' <IMG SRC=\"../i/sleep2.gif\" WIDTH=24 HEIGHT=15 BORDER=0 ALT=\"Наложено заклятие молчания\">'; }
if (trv>0) { s+=' <IMG SRC=\"../i/travma2.gif\" WIDTH=24 HEIGHT=15 BORDER=0 ALT=\"Инвалидность\">'; }
if ( (att!=\"0\" && att) || (myalign>=1 && myalign<2 && align>3 && align < 4) || (align>=1 && align<2 && myalign>3 && myalign < 4)) {
s+=' <A style=\"cursor: hand\" onclick=\"top.cmloc(\'/main.php?attackc='+id+'&'+(Math.random())+'\')\"><IMG src=\"../i/misc/curse_attack'+att+'.gif\" width=13 height=13 alt=\"Напасть\"></A>';
}
document.write((afk>0?'afk':'')+s+'
');
}
</SCRIPT>