function Line() {
document.write("\
<TR><TD><img src=/p.gif height=15><br>\
	<img src=/p2.gif height=1 width=416><br>\
	<img src=/p.gif height=15><br></TD></TR>\
");
}



function Unit(header,quoting,l1,l2,l3,isline,type,author,date,email) {
l1--;
l2--;
lnk=SM[l1][l2][1];
if(l3<10) {l3="0"+l3}
Code="";
if(date) {date="<b>Дата публикации:</b> "+date+"<br>"}
if(author) {
if(email) {author="<b>Автор:</b> <a href='mailto:"+email+"'><font class=r color=gray>"+author+" ("+email+")</font></a><br>"}
  else {author="<b>Автор:</b> "+author+"<br>"}
}
if(type) {type="<b>Раздел:</b> <a href="+lnk+"><font class=r color=gray>"+SM[l1][l2][0]+"</font></a><br>"}

lnk=lnk.substr(0,lnk.indexOf(".htm")-1)+"Units/"+l3+"_1.htm";

Code=Code+'\
<TR>\
<TD>\
<p align=justify>\
<a href="'+lnk+'"><font class=hd>'+header+'</font></a><br>\
<font class=r color=gray>'+type+''+author+''+date+'</font>\
<img src=/p.gif height=5><br>\
<font class=r>\"'+quoting+'...\"</font><br></p>\
</TD>\
</TR>\
';
if(isline!=0) {
Code=Code+'<TR><TD><img src=/p.gif height=10><br><img src=/p2.gif height=1 width=416><br><img src=/p.gif height=10><br></TD></TR>';
}
document.write(Code);
}




function Title(n) {
n--;
for(i=0; i<SM[n].length; i++) {
  document.write("<font class=r>- </font><a href='http://www.lib.isex.ru"+SM[n][i][1]+"'>"+SM[n][i][0]+"</a><br><img src=/p.gif height=4><br>");
}

}