
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;
 if (numold != 0) {	if (!photoW.closed) photoW.close();	 }
 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=#002D59 background='img/back.gif' text=#FFFFFF link=#FF0000><CENTER><img src=" + www + " border=1>");
 photoW.document.write("<br><FONT face=Arial,Helvetica,Verdana,Tahoma color=#FEFEDA 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;
 if (numold != 0) {	if (!photoW.closed) photoW.close();	 }
 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>Paris: ностальгические фото-мемуары</TITLE></HEAD><BODY  BGCOLOR=#002D59 background='img/back.gif' text=#FFFFFF>");
 photoW.document.write("<FONT face=Arial,Helvetica,Verdana,Tahoma color=#FEFEDA size=2>");  
 photoW.document.write(text[num]);
 photoW.document.write("</font></BODY></html>");  
 numold=num;
}

