M=new Array;
M=[
["О рейтинге","index"],
["Добавить сайт","Add"],
["Редактировать аккаунт","Edit"],
["Контакты","Contacts"],
["Реклама","Adv"]
];
for(i=0; i<M.length; i++) {M[i][1]="/Admin/"+M[i][1]+".htm"}

function Head(n) {
  Code="\
<TABLE align=center cellSpacing=0 cellPadding=5 width=750 border=0 bgcolor=white>\
<TR>\
  <TD><DIV style='CURSOR: hand' onclick=\"window.location='/'\"><font style='font-family:Tahoma;font-size:30px;color:#6D6D6D'><B>ru<font color=red>Porno</font>.ru</B></font></font></DIV>";
  Code+='<img src="http://counter.yadro.ru/hit?r'+escape(document.referrer)+((typeof(screen)=='undefined')?'':';s'+screen.width+'*'+screen.height+'*'+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+';'+Math.random()+'" width=1 height=1>';
  Code+="</TD>\
</TR>\
<TR bgcolor=#ECF5FA>\
  <TD class=gr>\
  ";

  for(i=0; i<M.length; i++) {
    if(i+1==n) {
      Code+="<font class=mn><b>"+M[i][0]+"</b></font>"
    } else {
      Code+="<A href="+M[i][1]+"><font color=#3F5771 class=mn><b>"+M[i][0]+"</b></font></A>"
    }
    if(i!=M.length-1) {Code+="&nbsp | &nbsp"}
  }

  Code+="</TD></TR></TABLE>";
  document.write(Code);
}