// Janela pop-up 1 (base)
function AbreUrl(width,height,url,scroll,nJanela,left,top)
	{
	if(scroll==""){scroll=0}
	var configuracao = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",status=0,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=" + scroll + ",titlebar=0"
    window.open(url,nJanela,configuracao)
	}

// Janela pop-up 2 (base)
function open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

// Adicionar à favoritos menu
function favoritos()
	{
	window.external.AddFavorite("http://www.guiamatao.com/","GuiaMatao.com");
	}

// Janela pop-up indique o site menu
function indique()
	{
		AbreUrl(300,280,'http://www.guiamatao.com/indique.asp',0,'indique',250,100)
	}
