function new_window(w_url)
{
window.open(w_url,'newwin','top=1, left=1, menubar=0, toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, width=820, height=450');
}

 roll = 'true'; 
//function preload(first,second){if(roll == 'true'){pics[objCount]=new Array(2);pics[objCount][0]=new Image();pics[objCount][0].src=first;pics[objCount][1]=new Image();pics[objCount][1].src=second;}}
function over(img,ref) { if (roll == 'true') { document.images[img].src = ref; } } 
function out(img,ref)  { if (roll == 'true') { document.images[img].src = ref; } } 
//preload("images2/pos_romash-0.png","images2/pos_romash-1.png");

function wiew5(f,xx,yy){
var fdata=new Date();
var data=(fdata.getDate()-1)+"."+(fdata.getMonth()+1)+"."+fdata.getUTCFullYear();
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
myWin.document.open();
myWin.document.write("<html><head><title> • ÒðàíñÐåãèîíÈíâåñò •   </title>");
myWin.document.write("<script>");
myWin.document.write("function resz(){");
myWin.document.write("window.resizeTo("+xx+"+0,"+yy+"+0)}");
myWin.document.write("</script></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0  onLoad=resz()>");
myWin.document.write("<div style=\"position:absolute;\"><div style=\"position:relative;top:58;left:413;\"><p align=\"center\" style=\"font-family: Arial, Helvetica, sans-serif;\"><B>ÑÕÅÌÀ ÃÅÍÏËÀÍÀ<BR>(ñîñòîÿíèå íà "+data+")</B></p></div></div>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0  name=pic>");
myWin.document.write("</body></html>");
myWin.document.close();
myWin.focus();}

function wiew6(f,xx,yy,data,poselok){
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
myWin.document.open();
myWin.document.write("<html><head><title> • ÒðàíñÐåãèîíÈíâåñò •   </title>");
myWin.document.write("<script>");
myWin.document.write("function resz(){");
myWin.document.write("window.resizeTo("+xx+"+0,"+yy+"+0)}");
myWin.document.write("</script></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0  onLoad=resz()>");
myWin.document.write("<div style=\"position:absolute;\"><div style=\"position:relative;top:58; left:500px;\"><p align=\"center\" style=\"font-family: Arial, Helvetica, sans-serif;\"><B>"+poselok+" <BR>Ñõåìà ãåíïëàíà<BR>(ñîñòîÿíèå íà "+data+")</B><br><br><a href=\"#\" OnClick=\"window.print()\" title=\"Ðàñïå÷àòàòü ñõåìó\"><img src=\"/images2/print-icon.gif\" height=20 width=20 hspace=0 vspace=0 border=0> Ðàñïå÷àòàòü ñõåìó </a></p></div></div>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0  name=pic>");
myWin.document.write("</body></html>");
myWin.document.close();
myWin.focus();}

function wiew(f,xx,yy){
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no");
myWin.document.open();
myWin.document.write("<html><head><title> • ÒðàíñÐåãèîíÈíâåñò •   </title>");
myWin.document.write("<script>");
myWin.document.write("function resz(){");
myWin.document.write("window.resizeTo(document.images.pic.width+10,document.images.pic.height+30)}");
myWin.document.write("</script></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0  onLoad=resz()>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0  name=pic>");
myWin.document.write("</body></html>");
myWin.document.close();
myWin.resizeTo(xx+10,yy+29);
myWin.focus();}

function wiew2(f,xx,yy){
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
myWin.document.open();
myWin.document.write("<html><head><title> • ÒðàíñÐåãèîíÈíâåñò •   </title>");
myWin.document.write("<script>");
myWin.document.write("function resz(){");
myWin.document.write("window.resizeTo("+xx+"+0,"+yy+"+0)}");
myWin.document.write("</script></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0  onLoad=resz()>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0  name=pic>");
myWin.document.write("</body></html>");
myWin.document.close();
//myWin.resizeTo(xx+10,yy+29);
myWin.focus();}

function wiew3(f,xx,yy){
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=yes,resizable=yes,scrollbars=no");
myWin.document.open();
myWin.document.write("<html><head><title> • ÒðàíñÐåãèîíÈíâåñò •   </title>");
myWin.document.write("<script>");
myWin.document.write("function resz(){");
myWin.document.write("window.resizeTo("+xx+"+10,"+yy+"+10)}");
myWin.document.write("</script></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0  onLoad='resz()' onclick='print();'>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0  name=pic >");
myWin.document.write("</body></html>");
myWin.document.close();
myWin.focus();}





