window.defaultStatus=" Condomínio Novo Leblon"

function hidestatus(){
window.status=" Condomínio Novo Leblon"
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
// ---------------------------------------------------------------------------------------------------------------

da = new Date() // Create a Date Object set to the today date 
dy = da.getFullYear() // Get full year (as opposed to last two digits only) 
dm = da.getMonth() + 1 // Get month and correct it (getMonth() returns 0 to 11) 
dd = da.getDate() // Get date within month 
if ( dy < 1970 ) dy = dy + 100; // We still have to fix the millennium bug 
ys = new String(dy) // Convert year, month and date to strings 
ms = new String(dm)   
ds = new String(dd)   
if ( ms.length == 1 ) ms = "0" + ms; // Add leading zeros to month and date if required 
if ( ds.length == 1 ) ds = "0" + ds;   
// ---------------------------------------------------------------------------------------------------------------

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
// ---------------------------------------------------------------------------------------------------------------
// drop-dow menu
function changeLocation(menuObj)
{
   var i = menuObj.selectedIndex;

   if(i > 0)
   {
      window.location = menuObj.options[i].value;
   }
}
// ---------------------------------------------------------------------------------------------------------------

function cabecalho(nivel,origem,topx) {
var table_open, table_close, principal, contato, login
var dir = "";
if (nivel==1) { dir = "../"; }

table_open  = '<TABLE WIDTH=780 align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#666666">';
table_open += '<TR><TD width="780" height="45" background="'+dir+'images/top1.gif">';
table_open += '<div class="icons">';

switch(origem){
case "home":
principal = '<div><img src="'+dir+'images/ico_home_on.gif" border="0" alt="Página Principal" title="Página Principal" align="middle" /></div>';
contato = '<div><a href="'+dir+'faleconosco.asp"><img onmouseover="MM_swapImage(\'a2\',\'\',\''+dir+'images/ico_mail_act.gif\',1);" onmouseout="MM_swapImgRestore()" src="'+dir+'images/ico_mail_off.gif" border="0" alt="Fale Conosco&#13;Sua opinião é muito importante!" title="Fale Conosco&#13;Sua opinião é muito importante!" align="middle" name="a2" /></a></div>';
  break;
case "contato":
principal = '<div><a href="'+dir+'index.html"><img onmouseover="MM_swapImage(\'a1\',\'\',\''+dir+'images/ico_home_act.gif\',1)" onmouseout="MM_swapImgRestore()" src="'+dir+'images/ico_home_off.gif" border="0" alt="Página Principal" title="Página Principal" align="middle" name="a1" /></a></div>';
contato = '<div><img src="'+dir+'images/ico_mail_on.gif" border="0" alt="Fale Conosco&#13;Sua opinião é muito importante!" title="Fale Conosco&#13;Sua opinião é muito importante!" align="middle" /></div>';
  break;
default : 
principal = '<div><a href="'+dir+'index.html"><img onmouseover="MM_swapImage(\'a1\',\'\',\''+dir+'images/ico_home_act.gif\',1)" onmouseout="MM_swapImgRestore()" src="'+dir+'images/ico_home_off.gif" border="0" alt="Página Principal" title="Página Principal" align="middle" name="a1" /></a></div>';
contato = '<div><a href="'+dir+'faleconosco.asp"><img onmouseover="MM_swapImage(\'a2\',\'\',\''+dir+'images/ico_mail_act.gif\',1);" onmouseout="MM_swapImgRestore()" src="'+dir+'images/ico_mail_off.gif" border="0" alt="Fale Conosco&#13;Sua opinião é muito importante!" title="Fale Conosco&#13;Sua opinião é muito importante!" align="middle" name="a2" /></a></div>';
}

login = '<div><a href="http://www.amc.com.br/novoleblon/default.asp?a=" onclick="NewWindow(this.href,\'login\',\'320\',\'220\');return false"><img onmouseover="MM_swapImage(\'a3\',\'\',\''+dir+'images/ico_login_act.gif\',1);" onmouseout="MM_swapImgRestore()" src="'+dir+'images/ico_login_off.gif" border="0" alt="Login&#13;acesso restrito" title="Login&#13;acesso restrito" align="middle" name="a3" /></a></div>';

table_close  = '</div>';
table_close += '</TD></TR>';
table_close += '<TR><TD><img src="'+dir+'images/top2.gif" width="780" height="7" border="0"></TD></TR>';
table_close += '<TR><TD width="780" height="30" bgcolor="#F55300">';

table_close += '<TABLE WIDTH=780 align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FF8800">';
table_close += '<TR>';
table_close += '<TD><IMG SRC="'+dir+'images/spacer.gif" WIDTH=378 HEIGHT=1></TD>';

var m1on = 'menu1on';
var m1off = 'menu1';
if (origem=='condominio') {
  m1on = 'menu1';
  m1off = 'menu1on';}
var m2on = 'menu2on';
var m2off = 'menu2';
if (origem=='administracao') {
  m2on = 'menu2';
  m2off = 'menu2on';}
var m3on = 'menu3on';
var m3off = 'menu3';
if (origem=='infraestrutura') {
  m3on = 'menu3';
  m3off = 'menu3on';}
var m4on = 'menu4on';
var m4off = 'menu4';
if (origem=='atividades') {
  m4on = 'menu4';
  m4off = 'menu4on';}

table_close += '<TD><a href="'+dir+'condominio/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'b1\',\'\',\''+dir+'images/'+m1on+'.gif\',1);"><IMG SRC="'+dir+'images/'+m1off+'.gif" WIDTH=90 HEIGHT=30 BORDER=0 ALT="" name="b1"></A></TD>';
table_close += '<TD><a href="'+dir+'administracao/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'b2\',\'\',\''+dir+'images/'+m2on+'.gif\',1)"> <IMG SRC="'+dir+'images/'+m2off+'.gif" WIDTH=106 HEIGHT=30 BORDER=0 ALT="" name="b2"></A></TD>';
table_close += '<TD><a href="'+dir+'infraestrutura/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'b3\',\'\',\''+dir+'images/'+m3on+'.gif\',1)"> <IMG SRC="'+dir+'images/'+m3off+'.gif" WIDTH=114 HEIGHT=30 BORDER=0 ALT="" name="b3"></A></TD>';
table_close += '<TD><a href="'+dir+'atividades/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'b4\',\'\',\''+dir+'images/'+m4on+'.gif\',1)"> <IMG SRC="'+dir+'images/'+m4off+'.gif" WIDTH=82 HEIGHT=30 BORDER=0 ALT="" name="b4"></A></TD>';
table_close += '<TD><IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1></TD>';
table_close += '</TR>';
table_close += '</TABLE>';
table_close += '</TD></TR>';
table_close += '<TR><TD><img src="'+dir+'images/top4.gif" width="780" height="4" border="0"></TD></TR>';
table_close += '<TR><TD><img src="'+dir+'images/'+topx+'.jpg" width="780" height="201" border="0"></TD></TR>';
//table_close += '<TR><TD><img src="'+dir+'images/top6.gif" width="780" height="30" border="0"></TD></TR>';

table_close += '<TR><TD width="780" height="30" background="'+dir+'images/top6.gif">';
table_close += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" id="marquee" width="780" height="30">';
table_close += '<param name="movie" value="'+dir+'marquee.swf">';
table_close += '<param name="bgcolor" value="#FFFFFF">';
table_close += '<param name="quality" value="high">';
table_close += '<param name="menu" value="false">';
table_close += '<param name="wmode" value="transparent">';
table_close += '<param name="allowscriptaccess" value="samedomain">';
table_close += '<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="marquee" width="780" height="30" src="'+dir+'marquee.swf" bgcolor="#FFFFFF" quality="high" menu="false" wmode="transparent" swliveconnect="true" allowscriptaccess="samedomain">';
table_close += '<noembed></noembed>';
table_close += '</embed>';
table_close += '</object>';
table_close += '</TD></TR>';

table_close += '<TR><TD width="780" height="39" background="'+dir+'images/top7.gif">';
table_close += '<table width="780" height="39" valign="top" border="0" align="left" cellpadding="0" cellspacing="0">';
table_close += '<tr valign="middle">';
table_close += '<td align="left" width="26"></td>';

table_close += '<td align="left">';
table_close += '<img src="'+dir+'images/top7links.gif" width="44" height="39" border="0" hspace="0">';
table_close += '</td>';
table_close += '<td align="left" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; font-style:normal; font-weight:normal; color:#666666; text-align:left;">';
table_close += '<form name="linksForm" onsubmit="return false;" style="margin:0 0 5px 0;">';
table_close += '<select name="linksMenu" onChange="changeLocation(this)" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; width:150px;">';
table_close += '<option style="background-color:#eeeeee;" selected></option>';
// LINKS - INÍCIO
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'condominio/telefones.html">Telefones</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'administracao/sindicos.html">Síndicos</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Fala,%20morador!">Fala, morador!</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Entrevistas">Entrevistas</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'fotos.html">Galeria de fotos</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'atividades/calendariodeeventos.asp">Calendário de eventos</option>';
// LINKS -FIM
table_close += '</select>';
table_close += '</form>';
table_close += '</td>';
table_close += '<td align="left" width="31"></td>';

table_close += '<td align="left">';
table_close += '<img src="'+dir+'images/top7horarios.gif" width="64" height="39" border="0" hspace="0">';
table_close += '</td>';
table_close += '<td align="left" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; font-style:normal; font-weight:normal; color:#666666; text-align:left;">';
table_close += '<form name="horariosForm" onsubmit="return false;" style="margin:0 0 5px 0;">';
table_close += '<select name="horariosMenu" onChange="changeLocation(this)" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; width:140px;">';
table_close += '<option style="background-color:#eeeeee;" selected></option>';
// HORÁRIOS - INÍCIO
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'condominio/onibus.html">Ônibus</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'condominio/balsa.html">Balsa</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'infraestrutura/secretaria.html">Secretaria</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'infraestrutura/fazendinha.html">Fazendinha</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'infraestrutura/saunas.html">Saunas</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'condominio/escolinhas.html">Escolinhas</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'infraestrutura/ginasio.html">Ginásio</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'infraestrutura/parqueaquatico.html">Parque aquático</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'atividades/futebolsocaite.html">Futebol soçaite</option>';
// HORÁRIOS -FIM
table_close += '</select>';
table_close += '</form>';
table_close += '</td>';
table_close += '<td align="left" width="31"></td>';
table_close += '<td align="left">';
table_close += '<img src="'+dir+'images/top7hotsites.gif" width="66" height="39" border="0" hspace="0">';
table_close += '</td>';
table_close += '<td align="left" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; font-style:normal; font-weight:normal; color:#666666; text-align:left;">';
table_close += '<form name="hotsitesForm" onsubmit="return false;" style="margin:0 0 5px 0;">';
table_close += '<select name="hotsitesMenu" onChange="window.open(this.options[this.selectedIndex].value);	this.selectedIndex=0" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; width:190px;">';
table_close += '<option style="background-color:#eeeeee;" selected></option>';
// HOT SITES - INÍCIO
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="http://www.amc.com.br/publishing/novoleblon.asp">Informativo Novo Leblon</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="http://www.bandadonovoleblon.com.br">Banda do Novo Leblon</option>';
table_close += '<option style="background-color:#fcfbfc; color:#333333;" value="http://www.arraiadonovoleblon.com.br/">Arraiá do Novo Leblon</option>';
table_close += '<option style="background-color:#eeeeee; color:#333333;" value="http://www.amc.com.br/esportes/futebol/brasileirao/brasileirao.asp">Brasileirão de Futebol Soçaite</option>';
// HOT SITES - FIM
table_close += '</select>';
table_close += '</form>';
table_close += '</td>';
table_close += '<td align="left" width="38"></td>';
table_close += '</tr>';
table_close += '</table>';
table_close += '</TD></TR>';
table_close += '</TABLE>';

document.write(table_open + principal + contato + login + table_close)
}
// ---------------------------------------------------------------------------------------------------------------

function coluna1(pFrom,p1,p2) {
var str = '';	
str += '<table width="200" height="100%" valign="top" border="0" align="center" cellpadding="0" cellspacing="0">';
str += '<tr valign="top">';
str += '<td height="5">';
str += '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="350" id="Nexus">';
str += '<PARAM NAME="flashvars" value="Copyright=(c) Cool Focus [www.coolfocus.com]">';
str += '<PARAM NAME="movie" VALUE="Nexus.swf"> ';
str += '<PARAM NAME="menu" VALUE="false"> ';
str += '<PARAM NAME="quality" VALUE="best"> ';
str += '<PARAM NAME="scale" VALUE="noscale"> ';
str += '<PARAM NAME="salign" VALUE="LT"> ';
str += '<PARAM NAME="bgcolor" VALUE="#606060">'; 
str += '<PARAM NAME="wmode" VALUE="window"> ';
str += '<EMBED src="Nexus.swf" flashvars="Copyright=(c) Cool Focus [www.coolfocus.com]" menu="false" quality="best" scale="noscale" salign="LT" BGCOLOR="#606060" WMODE="window" WIDTH="200" HEIGHT="350" SWLIVECONNECT="TRUE" NAME="Nexus" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>';
str += '</OBJECT>';
str += '</td></tr>';
str += '<tr valign="top"><td height="15"></td></tr>';

str += '<tr valign="bottom"><td>';
str += '<a class="opacityit" href="http://www.novoleblon.com.br/faleconosco.asp">';
str += '<img src="http://www.novoleblon.com.br/images/selo_faleconosco.jpg" width=180 height=80 border=0 hspace="10" alt="Fale Conosco&#13;Sua opinião é muito importante!">';
str += '</a>';
str += '</td></tr>';
str += '<tr valign="bottom"><td height="15"></td></tr>';

str += '</table>';
document.write(str);
}
// ---------------------------------------------------------------------------------------------------------------

function coluna2header(titulo) {
document.write(
'<table width="370" valign="top" border="0" align="center" cellpadding="0" cellspacing="0">',
'<tr valign="top"><td height="5"></td></tr>',
'<tr valign="top">',
'<td width="370" height="30" valign="middle" style="background-image:url(../images/header2bg.gif);font-family:Geneva, Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#FF8800; text-align:left; text-indent:35px;">',
titulo,
'</td>',
'</tr>',
'</table>'
)
}
// ---------------------------------------------------------------------------------------------------------------
// página principal
function coluna2capa(capa_bg,diretorio,winTitulo) {
var foto = '';	
if (capa_bg.length > 0) {	
foto += '<TABLE width="370" height="180" cellSpacing=0 cellPadding=0 align="center" border=0 style="margin:0";>';
foto += '<TR><TD align="center" valign="middle">';
if (capa_bg=="capa_bg+") {	
  foto += '<a class="opacityit" href="javascript:openFrameless(\'images/'+diretorio+'/fotos.html\',\''+winTitulo+'\')">'; }
foto += '<img src="images/'+diretorio+'/capa.jpg" width="370" height="180" border="0" align="absmiddle" alt="">';
if (capa_bg=="capa_bg+") {	
  foto += '</a>'; }
foto += '</TD></TR>';
foto += '</TABLE>';
document.write(foto);
}
}
// ---------------------------------------------------------------------------------------------------------------

function coluna2foto(capa_bg,diretorio,winTitulo) {
var foto = '';	
if (capa_bg.length > 0) {	
foto += '<TABLE width="190" height="151" cellSpacing=0 cellPadding=0 align="left" border=0 background="../images/'+capa_bg+'.gif" style="margin:0 5px 4px 0";>';
foto += '<TBODY>';
foto += '<TR><TD align="center" valign="middle">';
if (capa_bg=="capa_bg+") {	
  foto += '<a class="opacityit" href="javascript:openFrameless(\'images/'+diretorio+'/fotos.html\',\''+winTitulo+'\')">'; }
foto += '<img src="images/'+diretorio+'/capa.jpg" width="180" height="135" border="0" align="absmiddle" alt="">';
if (capa_bg=="capa_bg+") {	
  foto += '</a>'; }
foto += '</TD></TR>';
foto += '</TBODY>';
foto += '</TABLE>';
document.write(foto);
}
}
// ---------------------------------------------------------------------------------------------------------------

function coluna3(nivel,pFrom,p1,p2) {
var dir = "";
if (nivel==1) { dir = "../"; }
//                                 N   O   T   Í   C   I   A   S
var str = '';	
str += '<TD width="180" height="100%" valign="top" bgcolor="#EEEEEE">';
str += '<table width="180" valign="top" border="0" align="center" cellpadding="0" cellspacing="0">';
str += '<tr valign="top"><td height="5"></td></tr>';
str += '<tr valign="top">';
str += '<td width="180" height="30" valign="middle" style="background-image:url('+dir+'images/header3bg.gif);font-family:Geneva, Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#FF8800; text-align:left; text-indent:35px;">';
str += 'NOTÍCIAS';
str += '</td>';
str += '</tr>';
str += '</table>';
str += '<table width="180" valign="top" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:10px 0 0 0;">';
str += '<tr valign="top">';
str += '<td width="8"><img src="'+dir+'images/TopLeftGreyBorderRounded.gif"></td>';
str += '<td width="164" background="'+dir+'images/TopCenterGreyBorderRounded.gif" style="background-repeat: repeat-x; background-position: center bottom;"></td>';
str += '<td width="8"><img src="'+dir+'images/TopRightGreyBorderRounded.gif"></td>';
str += '</tr>';
str += '</table>';
document.write(str);

show_noticias(nivel);

var str = '';	
str += '<img src="'+dir+'images/divider.png" width="165" height="2" border="0" align="absmiddle">';
str += '<br><br style="line-height:8px;">';
//str += '<br><br style="line-height:8px;">';
//str += '<a href="#" class="links">';
//str += '<img src="../images/white_arrow-trans.png" width="27" height="14" border="0" align="absmiddle">&nbsp;mais notícias...';
//str += '</a>';
str += '</td>';
str += '</tr>';
str += '</table>';

str += '<table width="180" valign="top" border="0" align="center" cellpadding="2" cellspacing="0" style="margin:0px; background-color:#E1E1E1; border-left:1px solid #cccccc;; border-right:1px solid #cccccc;">';
str += '<tr valign="top">';
str += '<td width="30" align="left">';
str += '<img src="'+dir+'images/spacer.gif" width="1" height="3" border="0"><br>';
str += '<img src="'+dir+'images/white_arrow-trans.png" width="27" height="14" border="0" align="absmiddle">';
str += '</td>';
str += '<td width="138" align="left" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; font-style:normal; font-weight:normal; color:#666666; text-align:left;">';
str += '<form name="editoriasForm" onsubmit="return false;" style="margin:0 0 5px 0;">';
str += '<select name="editoriasMenu" onChange="changeLocation(this)" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; width:135px;">';
str += '<option style="background-color:#eeeeee; color:#666666;" selected>+ notícias sobre...</option>';
// EDITORIAS - INÍCIO
str += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'noticias/noticias.asp?de=ACNL">ACNL</option>';
str += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Administração">Administração</option>';
str += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Cultura">Cultura</option>';
str += '<option style="background-color:#eeeeee; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Esportes">Esportes</option>';
//str += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Fala, morador!">Fala, morador!</option>';
str += '<option style="background-color:#fcfbfc; color:#333333;" value="'+dir+'noticias/noticias.asp?de=Social">Social</option>';
// EDITORIAS - FIM
str += '</select>';
str += '</form>';
str += '</td>';
str += '</tr>';
str += '</table>';

str += '<table width="180" valign="top" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0px 0 0 0;">';
str += '<tr valign="top">';
str += '<td width="8"><img src="'+dir+'images/BottomLeftGreyBorderRounded.gif"></td>';
str += '<td width="164" background="'+dir+'images/BottomCenterGreyBorderRounded.gif" style="background-repeat: repeat-x; background-position: center bottom;"></td>';
str += '<td width="8"><img src="'+dir+'images/BottomRightGreyBorderRounded.gif"></td>';
str += '</tr>';
str += '<tr valign="top"><td height="15"></td></tr>';
str += '</table>';

str += '<table width="180" valign="top" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0px 0 0 0;">';
str += '<tr valign="top"><td>';
str += '<a class="opacityit" href="http://www.amc.com.br/publishing/novoleblon.asp" target="_blank">';
str += '<img src="'+dir+'images/selo_informativo.jpg" width=178 height=79 style="border:1px solid #999999;"  alt="Leia a versão digital do&#13;Informativo Novo Leblon">';
str += '</a>';
str += '</td></tr>';
str += '<tr valign="top"><td height="15"></td></tr>';
str += '</table>';

str += '</td>';
document.write(str);
//                                 N   O   T   Í   C   I   A   S   - - -   f   i   m
}
// ---------------------------------------------------------------------------------------------------------------

function top_menu() {
document.write(
'<table width="100%" height="37" border="0" cellspacing="0" cellpadding="0" style="background: url(images/top_menu_bg.gif) repeat-x;">',
  '<tr><td>',
'<table width="775" align="center" border="0" cellspacing="0" cellpadding="0">',
  '<tr>',
    '<td align="center">',		
'<div id="fillwater_id" style=" width:640;border-right:1px solid #d0d0d0;">This text is replaced by the Flash movie.</div>',
'<script type="text/javascript">',
   'var fo = new FlashObject("top_menu123.fmp.swf", "fillwater", "640", "37", "6", "#000000");',
    'fo.addParam("menu","false");',
    'fo.addParam("quality","best");',
    'fo.addParam("salign","LT");',
    'fo.addParam("scale","noscale");',
    'fo.addParam("wmode", "transparent");',
    'fo.write("fillwater_id");',
'</script>',
	'</td>',
  '</tr>',
'</table>',
	'</td>',
  '</tr>',
'</table>'
)
}
// ---------------------------------------------------------------------------------------------------------------

function top_menu_nivel(nivel) {
var dir = "";
if (nivel==1) { dir = "../"; }
document.write(
'<table width="100%" height="37" border="0" cellspacing="0" cellpadding="0" style="background: url('+dir+'images/top_menu_bg.gif) repeat-x;">',
  '<tr><td>',
'<table width="775" align="center" border="0" cellspacing="0" cellpadding="0">',
  '<tr>',
    '<td align="center">',		
'<div id="fillwater_id" style=" width:640;border-right:1px solid #d0d0d0;">This text is replaced by the Flash movie.</div>',
'<script type="text/javascript">',
   'var fo = new FlashObject("top_menu123.swf", "fillwater", "640", "37", "6", "#000000");',
    'fo.addParam("menu","false");',
    'fo.addParam("quality","best");',
    'fo.addParam("salign","LT");',
    'fo.addParam("scale","noscale");',
    'fo.addParam("wmode", "transparent");',
    'fo.write("fillwater_id");',
'</script>',
	'</td>',
  '</tr>',
'</table>',
	'</td>',
  '</tr>',
'</table>'
)
}
// ---------------------------------------------------------------------------------------------------------------

function fotos_menu() {
document.write(
'<OBJECT ID=collapse menu classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH=130 HEIGHT=248 STYLE="">',
'<PARAM NAME="flashvars" value="Copyright=[www.dreamingsoft.com]">',
'<PARAM NAME="movie" VALUE="fotos_menu123.swf">',
'<PARAM NAME="menu" VALUE="false">',
'<PARAM NAME="quality" VALUE="best">',
'<PARAM NAME="scale" VALUE="noscale">',
'<PARAM NAME="salign" VALUE="LT">',
'<PARAM NAME="wmode" VALUE="window">',
'<param name="bgcolor" value="#B9DCFF">',
'<EMBED src="fotos_menu123.swf" menu="false" quality="best" scale="noscale" salign="LT" WIDTH=130 HEIGHT=248 bgcolor="B9DCFF" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>',
'</OBJECT>'
)
}

// ---------------------------------------------------------------------------------------------------------------

function fotos_menuCoolFocus() {
document.write(
'<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="130" HEIGHT="350" id="XPanel">',
'<PARAM NAME="flashvars" value="Copyright=(c) Cool Focus [www.coolfocus.com]">',
'<PARAM NAME="movie" VALUE="XPanel.swf">',
'<PARAM NAME="menu" VALUE="false">',
'<PARAM NAME="quality" VALUE="best">',
'<PARAM NAME="scale" VALUE="noscale">',
'<PARAM NAME="salign" VALUE="LT">', 
'<PARAM NAME="bgcolor" VALUE="#FFFFFF">',
'<PARAM NAME="wmode" VALUE="transparent">',
'<EMBED src="XPanel.swf" flashvars="Copyright=(c) Cool Focus [www.coolfocus.com]" menu="false" quality="best" scale="noscale" salign="LT" BGCOLOR="#FFFFFF" WMODE="window" WIDTH="130" HEIGHT="350" SWLIVECONNECT="TRUE" NAME="XPanel" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>',
'</OBJECT>'
)
}
// ---------------------------------------------------------------------------------------------------------------

function fotos_ini() {
document.write(
'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH=540 HEIGHT=319>',
'<PARAM NAME=movie VALUE="images/fotos_ini.swf">',
'<PARAM NAME=menu VALUE=false>',
'<PARAM NAME=quality VALUE=high>', 
'<PARAM NAME=wmode VALUE=transparent>',
'<PARAM NAME=scale VALUE=noscale>',
'<EMBED src=images/fotos_ini.swf menu=false quality=high wmode=transparent scale=noscale WIDTH=540 HEIGHT=319 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>',
'</OBJECT>'
)
}

// ---------------------------------------------------------------------------------------------------------------

function typewriter() {
document.write(
'<span id="typewriterbg" style="position:absolute; left:249px; top:502px;">',
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="320" height="20" id="typewriter" align="middle">',
'<param name="allowScriptAccess" value="sameDomain" />',
'<param name="movie" value="typewriter.swf" />',
'<param name="quality" value="high" />',
'<PARAM NAME=wmode VALUE=transparent />',
'<param name="bgcolor" value="#ffffff" />',
'<embed src="typewriter.swf" quality="high" bgcolor="#ffffff" width="320" height="20" name="typewriter" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />',
'</object>',
'</span>'
)
}

// ---------------------------------------------------------------------------------------------------------------
today=new Date();
y0=today.getFullYear();
if (y0 > 2006) {
	y0 = '2006-' + y0 }

function rodape(nivel) {
var dir = "";
if (nivel==1) { dir = "../"; }
document.write(
'<TABLE WIDTH=780 HEIGHT="40" align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#333333">',
'  <TR>',
'    <TD width="122" align="left">',
'    </TD>',
'    <TD align="center" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size:9px; font-style:normal; color:#CCCCCC; text-align:center">Copyright &copy; ' + ys + ' Condomínio Novo Leblon. Todos os direitos reservados.',
'    </TD>',
'    <TD width="122" align="right">',
'<a class="opacityit" href="http://www.amc.com.br/design/index.html" target="_blank">',
'<img src="'+dir+'images/logo_amc.gif" width="104" height="22" border="0" hspace="9" align="absmiddle" alt="Desenvolvido pela AMC Comunicação"></a>',
'    </TD>',
'  </TR>',
'</TABLE>'
)
}
// ---------------------------------------------------------------------------------------------------------------
// Open a window with the right dimension for an image
function display(myimage) {
 html = "<HTML><HEAD><TITLE>Mel Britto :: Site Oficial :: Clipping</TITLE>" +
  "</HEAD><BODY LEFTMARGIN=0 " +
  "MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER>" +
  "<IMG SRC='" + myimage + "' BORDER=0 NAME=image " +
  "onload='window.resizeTo(document.image.width,document.image.height)'></CENTER>" +
  "</BODY></HTML>";
 popup=window.open
   ('','image','status=no,toolbar=no,resizable=no,scrollbars=no,menubar=no');
//   ('','image','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,status=0');
 popup.document.open();
 popup.document.write(html);
 popup.document.focus();
 popup.document.close();
 };
// <a href="javascript:display('../images/jsht.gif')">Javascript HowTo 1</a>
// ---------------------------------------------------------------------------------------------------------------

function samba_caprichosos2007() {
document.write(
'<table border="0" cellpadding="0" cellspacing="0" width="100%">',
  '<tr><td>',
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="205" height="20" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >',
'<param name="movie" value="audio/mp3player.swf?file=audio/caprichosos2007.mp3" />',
'<embed allowScriptAccess="never" src="audio/mp3player.swf?file=audio/caprichosos2007.mp3" menu="false" quality="high" width="205" height="20" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"  wmode="transparent" border="0" />',
'</object>',
  '</td></tr>',
'</table>'
)
}

// ---------------------------------------------------------------------------------------------------------------

// Amazing Frameless Popup Window - Version I
// (C) 2000 www.CodeLifter.com
// Free for all users, but leave in this  header

// set the popup window width and height

var windowW=471 // wide
var windowH=440 // high

// set the screen position where the popup should appear

//var windowX = 260 // from left
//var windowY = 100 // from top
var windowX = (screen.width/2)-(windowW/2);
var windowY = (screen.height/2)-(windowH/2);

// set the url of the page to show in the popup

var urlPop = "images/tenis/fotos.html"

// set the title of the page

var title =  "Condomínio Novo Leblon :: Atividades :: Esportes :: Tênis"

// set this to true if the popup should close
// upon leaving the launching page; else, false

var autoclose = true

// ============================
// do not edit below this line
// ============================

s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false

function openFrameless(urlPopUp,titulo){
var urlPop = urlPopUp;
var title =  "Condomínio Novo Leblon :: " + titulo;
  if (beIE){
    NFW = window.open("","popFrameless","fullscreen,"+s)     
    NFW.blur()
    window.focus()       
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
    var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
    NFW.document.open();
    NFW.document.write(frameString)
    NFW.document.close()
  } else {
    NFW=window.open(urlPop,"popFrameless","scrollbars,"+s)
    NFW.blur()
    window.focus() 
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
  }   
  NFW.focus()   
  if (autoclose){
    window.onunload = function(){NFW.close()}
  }
}

// ---------------------------------------------------------------------------------------------------------------
// informativo
function listNav(selObj) {
var h = selObj.options[selObj.selectedIndex].value;
if ( h != "") {
//location.href = h;
var imageWin=window.open(h,'','fullscreen=no');
    imageWin.focus();
}
}
function ultimaEdicao(id) {
var pdf = "nl" + id + ".pdf";
var imageWin=window.open(pdf,'','fullscreen=no');
    imageWin.focus();
}

// ---------------------------------------------------------------------------------------------------------------
var win= null;
function NewWindow(mypage,myname,w,h){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=no,';
settings +='toolbar=no,';
settings +='menubar=no,';
settings +='status=no,';
settings +='location=no,';
settings +='resizable=no';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
} 
function MM_openBrWindow(theURL,winName,features) { 
window.open(theURL,winName,features);
}
// ---------------------------------------------------------------------------------------------------------------

function FLVplayer() {
document.write(
'<center>',

'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" width="298" height="241" id="theMediaPlayer">',
'<param name=movie value="http://www.novoleblon.com.br/flvplayer.swf">',
'<param name=quality value="high">',
'<param name=bgcolor value="#FFFFFF">',
'<param name=allowFullScreen value="false">',
'<param name=swLiveConnect value="true">',
'<param name=allowScriptAccess value="sameDomain">',
'<param name="FlashVars" value="file=http://www.novoleblon.com.br/images/principal/bianchini.flv&width=298&height=241&displaywidth=298&displayheight=241&autostart=true&backcolor=0x000000&frontcolor=0xCCCCCC&lightcolor=0x557722&shownavigation=false&repeat=true&volume=80">',

'<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="298" height="241" bgcolor="#FFFFFF" name="theMediaPlayer" src="http://www.novoleblon.com.br/flvplayer.swf" flashvars="file=http://www.novoleblon.com.br/images/principal/bianchini.flv&width=298&height=241&displaywidth=298&displayheight=241&autostart=false&backcolor=0x000000&frontcolor=0xCCCCCC&lightcolor=0x557722&shownavigation=false&repeat=true&volume=80">',
'</embed>',
'</object>',

'</center>'
);	
}
// ---------------------------------------------------------------------------------------------------------------

function flash(url,largura,altura,transparente) {
		document.write ("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+largura+"' height='"+altura+"'>");
		document.write ("<param name='movie' value='"+url+"' />");
		document.write ("<param name='quality' value='high' />");
		document.write ("<param name='menu' value='false' />");
		if (transparente) {
			document.write ("<param name='wmode' value='transparent' />");
			document.write ("<embed src='"+url+"' quality='high' wmode='transparent' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+largura+"' height='"+altura+"'></embed>")
				} else {
					document.write ("<embed src='"+url+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+largura+"' height='"+altura+"'></embed>")
					}
		document.write ("</object>");
}

//-----------------------------------------------------------------------

