function esconderDiv(layer){ document.getElementById(layer).style.display = 'none'; }
function mostrarDiv(layer){ document.getElementById(layer).style.display = 'block'; }
function popupSignos(SIGNO) { eval("page=window.open('horoscopo-diario.html?signo='+SIGNO, 'SIGNO', 'toolbar=0, scrollbars=0, location=0, statusbar=0, menubar=0, resizable=0, width=505, height=580');"); }
function popUp(URL,nome,w,h) { eval("page=window.open(URL, nome, 'toolbar=0, scrollbars=1, location=0, statusbar=0, menubar=0, resizable=0, width="+w+", height="+h+"');"); }

function adicionarFavoritos(){
    var url="http://www.horoscoposigno.com";
    var title="HoróscopoSigno.com - Tudo sobre horóscopo e signo.";
    if (window.sidebar) window.sidebar.addPanel(title, url,"");
    else if(window.opera && window.print){
        var mbm = document.createElement('a');
        mbm.setAttribute('rel','sidebar');
        mbm.setAttribute('href',url);
        mbm.setAttribute('title',title);
        mbm.click();
    } else if(document.all){window.external.AddFavorite(url, title);}
}
