function launch(newURL, newName, newFeatures, orgName) {
        var remote = open(newURL, newName, newFeatures);
        if (remote.opener == null)
            remote.opener = window;
        remote.opener.name = orgName;
        return remote;
}

function carregaMapaSite() {
        myRemote = launch("mapasite.jhtml",
                    "myRemote",
                    "height=340,width=350,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0,z-lock=0",
                    "myWindow");
}

function WindowBanner(xhtml,x,y){
 window.open(xhtml,'', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,noresize,width=' + x +',height=' +y)
}

function mostraTitulo(txt)
{
    if (document.all) parent.topo.nomePagina.innerHTML = txt;
    else
        {
                if (document.layers)
                {
                        texto="<font face='arial' color='#ffd000' size='4'>"+txt+"</font>"   
                        parent.topo.document.nomePagina.document.open();
                parent.topo.document.nomePagina.document.write("<center>"+texto+"</center>");
                parent.topo.document.nomePagina.document.close();
        }
        }
}

function scroll_status (seed)
{
        var msg = "Glamourcon is a celebration of vintage and modern pin-up art and glamour....check out our New Dates!! See you there!";
        var msg = " ELECTRO - Mendes Faria, Unipessoal, Lda. ";
        var out = " ";
        var c   = 1;
        if (150 < seed) {
                seed--;
                var cmd="scroll_status(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 150 && 0 < seed) {
                for (c=0 ; c < seed ; c++) {
                        out+=" ";
                }
                out+=msg;
                seed--;
                var cmd="scroll_status(" + seed + ")";
                window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scroll_status(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scroll_status(150)",100);
                }
        }
}




