  function Info(url, title) {
    var av_win = window.open(url,title,'width=600,height=400,resizable=yes,scrollbars=yes,location=no,menubar=no');
    if (av_win.focus != null) av_win.focus();
  }

  function InfoSize(url, title, width, height) {
    var av_win = window.open(url,title,'width='+width+',height='+height+',resizable=yes,scrollbars=yes,location=no,menubar=no');
    if (av_win.focus != null) av_win.focus();
  }

  function Image(url, title, width, height) {
    var image_win = window.open(url,title,'width='+(width+40)+',height='+(height+40)+',innerWidth='+width+',innerHeight='+height+',resizable=yes,scrollbars=auto,location=no,menubar=no');
    if (image_win.focus != null) image_win.focus();
  }

  function ImageSrc(src, title, width, height) {
    win_width = width + 32;
    win_height = height + 32;
    var imagesrc_win = window.open('about:blank', title, 'width='+win_width+',height='+win_height+',resizable=yes,scrollbars=auto,location=no,menubar=no');
    imagesrc_win.document.write('<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="100%" height="100%" align="center" valign="center">');
    imagesrc_win.document.write('  <img src="'+src+'" width="'+width+'" height="'+height+'">');
    imagesrc_win.document.write('</td></tr></table>');
    if (imagesrc_win.focus != null) imagesrc_win.focus();
  }

  function ScriptSrc(src, title, width, height) {
    win_width = width + 0;
    win_height = height + 0;
    var scriptsrc_win = window.open('about:blank', title, 'width='+win_width+',height='+win_height+',resizable=yes,scrollbars=auto,location=no,menubar=no');
    //scriptsrc_win.document.write('<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="100%" height="100%" align="center" valign="center">');
    scriptsrc_win.document.write('  <script language="JavaScript" src="'+src+'"></script>');
    //scriptsrc_win.document.write('</td></tr></table>');
    if (scriptsrc_win.focus != null) scriptsrc_win.focus();
  }

  function Map(url, title, width, height) {
    var map_win = window.open(url,title,'width='+width+',height='+height+',resizable=yes,scrollbars=yes,location=no,menubar=no');
    av_ResizeTo(map_win, width, height);
    if (map_win.focus != null) map_win.focus();
  }

  function av_ResizeTo(av_win, width, height) {
    var width = width+50;
    var height = height+130;
    av_win.resizeTo(width, height);
  }

