var SepWin;
function OpenSepWin(url, width, height, alt) {
   if (SepWin) SepWin.close();
   if (alt) 
      WinHeight = height+20;
   else{
      alt='';
      WinHeight = height;
   }
      
   SepWin=window.open (url, 'SepWin', 'width='+width+',height='+WinHeight+',resizable=0');
   SepWin.document.open();
   SepWin.document.writeln("<html><BODY leftmargin=0 topmargin=0><img src="+url+" width="+width+" height="+height+" border=0><br><center>"+alt+"</center></BODY></html>");
   SepWin.document.title = alt;
   SepWin.document.close();
   SepWin.focus();
}

var TTWin;
function OpenTTWin(url, width, height) {
        if (TTWin) TTWin.close();
        TTWin=window.open (url, "TTWin", "width="+width+",height="+height+",resizable=1,scrollbars=1");
        TTWin.focus();
}

var MapWin;
function OpenMap(url, width, height, scroll) {
     if (!scroll) scroll = 0;
     if (MapWin) {MapWin.close();}
     MapWin=window.open (url, "MapWin", "width="+width+",height="+height+",resizable=1, scrollbars="+scroll);
     MapWin.focus();
}

