
DW=(navigator.appName=="Netscape")?14:20
DH=(navigator.appName=="Netscape")?16:24
var ntop=1; 
var nleft=10;
var numold=0;
var photoW;
text=new Array();
text[0]="";

function nullpic()
{ 
 if (numold != 0) {	 if (!photoW.closed) { photoW.close();}	 }
}

function loadpic(num,pic,width,height)
{ 
 width=width + DW;
 height=height + DH;
 www="pic/" + pic;
 nullpic();
 photoW=window.open('',num,'width='+width+',height='+height+',top='+ntop+',left='+nleft+',resizable=0,dependent=0,copyhistory=yes,directories=no');
 photoW.document.write("<html><HEAD><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'>");
 photoW.document.write("<TITLE>Картинка #" +num+ "</TITLE></HEAD><BODY bgcolor='#9797EF' text='#FFFFFF'><CENTER><img src=" + www + " border=0>");
 photoW.document.write("<br><FONT face=Arial,Helvetica,Verdana,Tahoma  size=2>");  
 photoW.document.write(text[num]);
 photoW.document.write("</font></CENTER></BODY></html>");  
 numold=num;
}
function loadpic0(num,width,height)
{
 width=width + DW;
 height=height + DH;
  nullpic();
 photoW=window.open('',num,'width='+width+',height='+height+',top='+ntop+',left='+nleft+',resizable=0,dependent=0,copyhistory=yes,directories=no');
 photoW.document.write("<html><HEAD><TITLE>ВУОКСА 2000!</TITLE></HEAD><BODY  bgcolor='#9797EF' text='#FFFFFF'></body>");
 photoW.document.write("<FONT face=Arial,Helvetica,Verdana,Tahoma  size=2>");  
 photoW.document.write(text[num]);
 photoW.document.write("</font></BODY></html>");  
 numold=num;
}

