// JavaScript Document

//funções para o menu

function menuHome(){
	window.open("index.php","_parent");
}

function menuQuemSomos(){
	window.open("quem_somos.php","_parent");
}

function menuLancamentos(){
	window.open("lancamentos.php","_parent");
}

function menuObrasVenda(){
	window.open("obras_venda.php","_parent");
}

function menuLocacoes(){
	window.open("locacoes.php","_parent");
}

function menuRevenda(){
	window.open("revenda.php","_parent");
}

function menuCadastreImovel(){
	window.open("cadastre.php","_parent");
}

function menuConhecaNatal(){
	window.open("conheca.php","_parent");
}


function menuContato(){
	window.open("contato.php","_parent");
}



function localizacao_google(){
	window.open("localizacao.php","_parent");
}

//funções para empreendimentos

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



// banner com 3 empreendimentos

function abreBellevue(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x90986174324470181231845700469&anunciante=peres&listagemPersonalizada=nao",'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');	
}

//function abreunique(){
	//window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x0264092510897236951206626095064&anunciante=peres&listagemPersonalizada=nao",'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');	
//}

//function abrecandelaria(){
	//window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x92314826271120291206626095064&anunciante=peres&listagemPersonalizada=nao",'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');	
//}

function abreriviera(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&codigoAnuncioImovel=202_1_1_x62848307910903021210099464922&origem=peres&operacao=exibirDetalhes&cliqueFoto=false&anunciante=peres",'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');	
}

function abreBlavie(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x31341866961183831231845700462&anunciante=peres&listagemPersonalizada=nao",'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');	
}

//Abre empreendimento das logomarcas

function random_hazbun(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
	  myimages[0]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x756864837559781209753834907&anunciante=peres&listagemPersonalizada=nao"
	  myimages[1]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x62848307910903021210099464922&anunciante=peres&listagemPersonalizada=nao"
	  var ry=Math.floor(Math.random()*myimages.length);
	  window.open(myimages[ry],'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');
	  }
	 
function random_delphi(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
	  myimages[0]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x60719360611092271210271771895&anunciante=peres&listagemPersonalizada=nao"
	  myimages[1]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x81153765677628681210271771895&anunciante=peres&listagemPersonalizada=nao"
	  var ry=Math.floor(Math.random()*myimages.length);
	  window.open(myimages[ry],'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');
	  }
	 
function random_ecocil(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
	  myimages[0]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x99208143512106741209753834907&anunciante=peres&listagemPersonalizada=nao"
	  myimages[1]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x33274292585386791209753834907&anunciante=peres&listagemPersonalizada=nao"
	  var ry=Math.floor(Math.random()*myimages.length);
	  window.open(myimages[ry],'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');
	  }
	  
function random_capuche(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
	  myimages[0]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x99078088256888661210606566108&anunciante=peres&listagemPersonalizada=nao"
	  myimages[1]="http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x36619830069955841210606566108&anunciante=peres&listagemPersonalizada=nao"
	  var ry=Math.floor(Math.random()*myimages.length);
	  window.open(myimages[ry],'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=525,top=105,left=100');
	  }
	  
//popup logo MB e Bradesco
	  
	function abreantoniomontenegro(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x223049884661336681219926551834&anunciante=peres&listagemPersonalizada=nao","_blank");
}

  
	function abrebradesco(){
	window.open("http://www.bradesco.com.br/","_blank");
}

	  
//flash
function abreBellevue(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x90986174324470181231845700469&anunciante=peres&listagemPersonalizada=nao","_blank");
}


function abreLavie(){
	window.open("http://www.expoimovel.com/servlet/br.com.expoimovel.servlet.GerenciadorDetalhesAnuncioImovelServlet?operacao=exibirDetalhes&origem=peres&codigoAnuncioImovel=202_1_1_x31341866961183831231845700462&anunciante=peres&listagemPersonalizada=nao#linkImagem","_blank");
}

	  
	 