function winopen (nm, fx, fy) {
 sw=screen.width-8; sh=screen.height-55;
 s='no';
 if (fx>sw) { x=0; s='yes'; fx=sw; } else x=Math.round((sw-fx)/2);
 if (fy>sh) { y=0; s='yes'; fy=sh; } else y=Math.round((sh-fy)/2);
 abc=window.open('popup.php?nm='+nm,'ViewPic','top='+y+',left='+x+',width='+fx+',height='+fy+',scrollbars='+s);
}

function opw (filename, x, y) {
 abc=window.open('popup.php?n='+filename,'xyz','top=10,left=10,width='+x+',height='+y+',scrollbar=none');
}

mz=((navigator.appName=='Netscape')&&(document.getElementById))?(1):(0);
ie=(document.all&&!window.opera)?(1):(0);
op=(window.opera)?(1):(0);

br=(ie==1)?('inline'):('');

function glow(who)
{
 if (document.getElementById(who).className!='over2') 
      { document.getElementById(who).className='over2'; 
      }
 else { (document.getElementById(who).className='over');
      }
}
