function apriPagina(page, h, w)
{
    if(h!=null & w!=null)
    {
        var height=h;
        var width=w;
        var s='height='+height+', width='+width+', top='+(screen.height-height)/2+', left='+(screen.width-width)/2+', '
        s += 'scrollbars=no, resizable=yes, status=yes, titlebar=no, toolbar=no, location=no, directories=no, channelmode=no';
        win=window.open(page, 'New', s);
        if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
    } 
    else window.open(page, 'New');
}

function addBookmark(title,url) {
  if (window.sidebar) { 
     window.sidebar.addPanel(title, url,"main"); 
  } else if( document.all ) {
     window.external.AddFavorite( url, title);
  } else if( window.opera && window.print ) {
     return true;
  }
}