function OpenImageOld( img, dida )
{
  attrib = 'width=670,height=670,menubar=no,toolbar=no,scrolling=no,screenX=50,screenY=10,top=10,left=50';
  var win = window.open( "blank.htm", 'photo', attrib );
  text = '<html><head><title>Photo Gallery</title>';
  text += '<link rel="stylesheet" type="text/css" href="../css/garessio2000.css"></head>';
  text += '<body bgcolor="#CCCCCC"><center><table border="0" cellpadding="0" cellspacing="2" width="650" height="650">'
  text += '<tr><td bgcolor="#4579B3" valign="middle" align="center"><img src="';
  text += img+'"><br><span class="testo1">'+unescape(dida)+'</span></td></tr>';
//  text += '<tr><td align="right" height="10"><form style="margin-bottom:0;"><input TYPE="button" VALUE="Chiudi" onClick="javascript:self.close(); return false;"></form></td></tr>';
  text += '<tr><td bgcolor="#cccccc" align="right" height="10"><form style="margin-bottom:0;"><button style="margin-bottom:0;width:57px;height:24px;border-width:0px;" TYPE="button" VALUE="Chiudi" onClick="javascript:self.close(); return false;"><img src="imgs/chiudi2.gif" alt="Chiudi" title="Chiudi"></button></form></td></tr>';
  text += '</table></center></body></html>';
  win.document.write(text);
  return win;
}

function OpenImage( img, dida )
{
  attrib = 'width=670,height=670,menubar=no,toolbar=no,scrolling=no,screenX=50,screenY=10,top=10,left=50';
  url = 'pict.htm?'+img+'&'+dida;
  var win = window.open( url, 'photo', attrib );
  win.focus();
}

