function prin() {
pr_temp = document.all.printit.outerHTML;
foto_temp = document.all.foto.outerHTML;
fam_temp = document.all.fam.outerHTML;
famr_temp = document.all.famr.outerHTML;
rus_temp = document.all.rus.outerHTML;
lat_temp = document.all.lat.outerHTML;
reg1_temp = document.all.reg1.outerHTML;
reg2_temp = document.all.reg2.outerHTML;

new_window = window.open("","","height=550,width=800,status=no,scrollbars,toolbar=no,menubar,resizable")
new_window.document.writeln('<LINK REL="stylesheet" HREF="style.css" type="text/css">');
new_window.document.writeln('<center class="prin">ÂÈÐÒÓÀËÜÍÛÉ ÃÅÐÁÀÐÈÉ<br>ÐÎÑÒÎÂÑÊÎÉ ÎÁËÀÑÒÈ</center>');
new_window.document.writeln('<table><tr><td valign="bottom">');
new_window.document.write(fam_temp)
new_window.document.write(famr_temp)
new_window.document.writeln('</td>');
new_window.document.writeln('<td valign="bottom">');
new_window.document.write(rus_temp)
new_window.document.write(lat_temp)
new_window.document.writeln('</td></tr>');
new_window.document.writeln('<tr><td valign="top">');
new_window.document.write(foto_temp)
new_window.document.writeln('</td>');
new_window.document.writeln('<td class="text">');
new_window.document.write(pr_temp)
new_window.document.writeln('</td></tr></table>');
new_window.document.writeln('<hr>');
new_window.document.writeln('<table width="100%">');
new_window.document.write(reg1_temp)
new_window.document.write(reg2_temp)
new_window.document.writeln('</table>');

new_window.document.close()
}

function prin_zona(){
rus_temp = document.all.rus.outerHTML;
lat_temp = document.all.lat.outerHTML;
pr_temp = document.all.printit.outerHTML;
foto_temp = document.all.foto.outerHTML;
reg1_temp = document.all.reg1.outerHTML;
reg2_temp = document.all.reg2.outerHTML;
new_window = window.open("","","height=550,width=800,status=no,scrollbars,toolbar=no,menubar,resizable")
new_window.document.writeln('<LINK REL="stylesheet" HREF="style.css" type="text/css">');
new_window.document.writeln('<script language="JavaScript1.2" src="page.js"></script>');
new_window.document.writeln('<center class="prin">ÂÈÐÒÓÀËÜÍÛÉ ÃÅÐÁÀÐÈÉ<br>ÐÎÑÒÎÂÑÊÎÉ ÎÁËÀÑÒÈ');
new_window.document.write(rus_temp)
new_window.document.write(lat_temp)
new_window.document.write(foto_temp)
new_window.document.writeln('</center><p>');
new_window.document.write(pr_temp)
new_window.document.writeln('<hr>');
new_window.document.writeln('<table width="100%">');
new_window.document.write(reg1_temp)
new_window.document.write(reg2_temp)
new_window.document.writeln('</table>');
new_window.document.close()
}


function prin_book(){
rus_temp = document.all.rus.outerHTML;
lat_temp = document.all.lat.outerHTML;
pr_temp = document.all.printit.outerHTML;
reg1_temp = document.all.reg1.outerHTML;
reg2_temp = document.all.reg2.outerHTML;
new_window = window.open("","","height=550,width=800,status=no,scrollbars,toolbar=no,menubar,resizable")
new_window.document.writeln('<LINK REL="stylesheet" HREF="style.css" type="text/css">');
new_window.document.writeln('<script language="JavaScript1.2" src="page.js"></script>');
new_window.document.writeln('<center class="prin">ÂÈÐÒÓÀËÜÍÛÉ ÃÅÐÁÀÐÈÉ<br>ÐÎÑÒÎÂÑÊÎÉ ÎÁËÀÑÒÈ');
new_window.document.write(rus_temp)
new_window.document.write(lat_temp)
new_window.document.writeln('</center><p>');
new_window.document.write(pr_temp)
new_window.document.writeln('<hr>');
new_window.document.writeln('<table width="100%">');
new_window.document.write(reg1_temp)
new_window.document.write(reg2_temp)
new_window.document.writeln('</table>');
new_window.document.close()
}

function prin_dict(){
rus_temp = document.all.rus.outerHTML;

pr_temp = document.all.printit.outerHTML;
reg1_temp = document.all.reg1.outerHTML;
reg2_temp = document.all.reg2.outerHTML;
new_window = window.open("","","height=550,width=800,status=no,scrollbars,toolbar=no,menubar,resizable")
new_window.document.writeln('<LINK REL="stylesheet" HREF="style.css" type="text/css">');
new_window.document.writeln('<script language="JavaScript1.2" src="page.js"></script>');
new_window.document.writeln('<center class="prin">ÂÈÐÒÓÀËÜÍÛÉ ÃÅÐÁÀÐÈÉ<br>ÐÎÑÒÎÂÑÊÎÉ ÎÁËÀÑÒÈ');
new_window.document.write(rus_temp)

new_window.document.writeln('</center><p>');
new_window.document.write(pr_temp)
new_window.document.writeln('<hr>');
new_window.document.writeln('<table width="100%">');
new_window.document.write(reg1_temp)
new_window.document.write(reg2_temp)
new_window.document.writeln('</table>');
new_window.document.close()
}


function versia() {
var browserName = navigator.appName
var browserNum = parseInt(navigator.appVersion)
if (browserName == "Netscape") return;
else if (browserName == "Microsoft Internet Explorer" && browserNum < 4) return;
else if (browserName == "Opera") return;
else ver();
}

function ver() {
document.writeln("Âåðñèÿ&nbsp;äëÿ&nbsp;ïå÷àòè");
}

