
//abre janela
 function abrirjanela(endereco, largura, altura, rel_esquerda, rel_topo, rolagem)
{
      var now1 = new Date();
      var mName1 = now1.getMonth() + 1;
      var dName1 = now1.getDate();
      var dayNr1 = now1.getDate();
      var yearNr1=now1.getYear();
      var nHours1 = now1.getHours();
      var nMinutes1 = now1.getMinutes();
      var nSeconds1 = now1.getSeconds();
      var nome_janela = dName1+mName1+yearNr1+nHours1+nMinutes1+nSeconds1;
	  
      pop1 = window.open(endereco, nome_janela,'toolbar=0,scrollbars='+rolagem+',location=0,directories=0,copyhistory=0,status=0,menubar=0,resizable=0,width='+largura+',height='+altura+',z-lock,screenX=90,screenY=100, Left='+rel_esquerda+', Top='+rel_topo);
      //if (popJoca.open) { popJoca.focus();}
}

function AbrirJanela1(FileNameToOpen,largura,altura)

         {
                newWindowa = window.open(FileNameToOpen,'newwin', 'width='+largura+',height='+altura+',toolbar=no, scrollbars=no, location=no')

                if (newWindowa.open)

                   {
                         newWindowa.focus()

                 }

        }

function OpenWindow(FileNameToOpen,largura,altura,nome)

         {
                newWindow = window.open(FileNameToOpen,''+nome+'', 'width='+largura+',height='+altura+',toolbar=no, scrollbars=no, location=no')

                if (newWindow.open)

                   {
                         newWindow.focus()

                 }

        }
		
function hv(signo)
{
  url="http://www.horoscopovirtual.com.br/horoscopo/?signo="+signo+"&parceiro=gauchinho";
  window.open(url,"hv", "resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,toolbar=no,scrollbars=no,maximized=yes,copyhistory=no,width=370,height=405");
}

		