//dynamic pop-up windows with white backgrounds- dependent upon image's dimensions
<!--

function picwin(img){
  pic1= new Image();
  pic1.src=(img);
  ctrl(img);
}
function ctrl(img){
  if((pic1.width!=0)&&(pic1.height!=0)){
    viewpic(img);
  }
  else{
    winfct="ctrl('"+img+"')";
    doother=setTimeout(winfct,20);
  }
}
function viewpic(img){
  winwdth=pic1.width+20;
  winhght=pic1.height+20;
  winstr="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,left=50,top=50,width="+winwdth+",height="+winhght;
  finestra=window.open(img,"",winstr);
  finestra.document.bgColor="white"
}
-->
