function top(){
document.write('<center><a name="top"></a><TABLE WIDTH="90%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD><TABLE cellpadding="5" cellspacing="1" width="100%" bgColor="#135192"><TR><TD bgcolor="#FFFFFF">&nbsp;')
}

function bottom(){
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">')
document.write('<tr>')
document.write('<td nowrap><img src="../images/space.gif" alt="" title="space" border="0" hspace="0" vspace="0" width="10" height="10" /></td>')
document.write('<td width="100%" height="15" align="right" background="../images/footing.gif" nowrap><a href="#top" class="smaller">Go up</a></td>')
document.write('<td nowrap><img src="../images/space.gif" alt="" title="space" border="0" hspace="0" vspace="0" width="10" height="10" /></td>')
document.write('</tr>')
document.write('</table>')
document.write('</TD></TR></TABLE></TD>')
document.write('<TD class="pageright" width="10" valign="top"><img src="../images/space_right.jpg" alt="" title="space_right" width="10" height="20" border="0" /></TD></TR>')
document.write('<TR><TD class="pagebottom" align="left"><IMG src="../images/space_bottom.jpg" hspace="0" vspace="0" border="0" width="30" height="10" alt="" title="space" /></TD>')
document.write('<TD><IMG SRC="../images/sh_corner.jpg" HSPACE="0" VSPACE="0" BORDER="0" width="10" height="10" /></TD></TR>')
document.write('</TABLE></CENTER><BR><BR>')
}
function pprint(){
obj1 = document.getElementById('hd');
//obj2 = document.getElementById('ln');	

obj1.style.display = "";
//obj2.style.display = "none";

window.print();

//obj1.style.display = "none";
//obj2.style.display = "";
}
function tprint(){
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0">')
document.write('<tr>')
document.write('<td valign="top"><DIV id="hd" align="left" style="display:none;"><font size="1">ÎÁÙÈÍÀ ÐÀÇÃÐÀÄ <br> http://www.razgrad.bg </font></DIV></td>')
document.write('<td align="right"><a onclick="pprint();"><img border="0" src="../images/printer.png" ></a></td>')
document.write('</tr>')
document.write('</table>')
}
function uptodate(){
var myDate = new Date(document.lastModified);
var m = "Last update on " + myDate.getDate() + "." + (myDate.getMonth()+1) + "." + myDate.getFullYear();   
document.write(m);
}