// JavaScript Document

// FUNÇÃO MENU - Escreve o menu superior

function menu(){
	document.write("<a href='index.html' target='_self' class='linkprincipal'> home </a>| <a href='novidades.html' target='_self' class='linkprincipal'>novidades</a>  |  <a href='materias.html' target='_self' class='linkprincipal'>imprensa</a>  |  <a href='videos.html' target='_self' class='linkprincipal'>vídeos</a>  |  <a href='formulario.php' target='_self' class='linkprincipal'>contato </a> |  <a href='localizacao.html' target='_self' class='linkprincipal'>localização</a>");	
}

// FUNÇÃO JANELA - Abre um pop-up das imagens clicadas

function abrir(URL,tipo) {
		
	if(tipo == 1){
				tamx=300;
				tamy=400;
	}
				else
			{
				tamx=400;
				tamy=300;
			}


X = window.open('','', 'width='+tamx+', height='+tamy+', top='+((screen.height/2)-(tamy/2))+', left='+((screen.width/2)-(tamx/2))+', scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no, topmargin=0, leftmargin=0');

X.document.write("<body leftmargin='0' topmargin='0'>"); 
X.document.write("<img src='"+URL+"' width='"+tamx+"' height='"+tamy+"' />");
}


function menu_principal(){
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="739"><!-- fwtable fwsrc="menu.png" fwbase="menu.gif" fwstyle="Generic" fwdocid = "2076664055" fwnested="0" --><tr><td><img src="up/spacer.gif" width="8" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="83" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="11" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="133" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="12" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="190" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="12" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="131" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="11" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="62" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="10" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="66" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="7" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="3" height="1" border="0" alt=""></td><td><img src="up/spacer.gif" width="1" height="1" border="0" alt=""></td></tr><tr><td colspan="13"><img name="menu_r1_c1" src="up/menu_r1_c1.jpg" width="736" height="9" border="0" alt=""></td><td rowspan="3"><img src="up/spacer.gif" width="3" height="36" border="0" alt=""></td><td><img src="up/spacer.gif" width="1" height="9" border="0" alt=""></td></tr><tr><td><img name="menu_r2_c1" src="up/menu_r2_c1.jpg" width="8" height="16" border="0" alt=""></td><td><a href="anima.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c2\',\'\',\'up/menu_r2_c2_f2.jpg\',\'menu_r2_c2\',\'\',\'up/menu_up_r2_c2.jpg\',1);"><img name="menu_r2_c2" src="up/menu_r2_c2.jpg" width="83" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c3" src="up/menu_r2_c3.jpg" width="11" height="16" border="0" alt=""></td><td><a href="drpaulo.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c4\',\'\',\'up/menu_up_r2_c4.jpg\',1);"><img name="menu_r2_c4" src="up/menu_r2_c4.jpg" width="133" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c5" src="up/menu_r2_c5.jpg" width="12" height="16" border="0" alt=""></td><td><a href="convivendo.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c6\',\'\',\'up/menu_up_r2_c6.jpg\',1);"><img name="menu_r2_c6" src="up/menu_r2_c6.jpg" width="190" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c7" src="up/menu_r2_c7.jpg" width="12" height="16" border="0" alt=""></td><td><a href="medicina_integrativa.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c8\',\'\',\'up/menu_up_r2_c8.jpg\',1);"><img name="menu_r2_c8" src="up/menu_r2_c8.jpg" width="131" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c9" src="up/menu_r2_c9.jpg" width="11" height="16" border="0" alt=""></td><td><a href="nutricao.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c10\',\'\',\'up/menu_up_r2_c10.jpg\',1);"><img name="menu_r2_c10" src="up/menu_r2_c10.jpg" width="62" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c11" src="up/menu_r2_c11.jpg" width="10" height="16" border="0" alt=""></td><td><a href="eventos.html" target="_self" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage(\'menu_r2_c12\',\'\',\'up/menu_up_r2_c12.jpg\',1);"><img name="menu_r2_c12" src="up/menu_r2_c12.jpg" width="66" height="16" border="0" alt=""></a></td><td><img name="menu_r2_c13" src="up/menu_r2_c13.jpg" width="7" height="16" border="0" alt=""></td><td><img src="up/spacer.gif" width="1" height="16" border="0" alt=""></td></tr><tr><td colspan="13"><img name="menu_r3_c1" src="up/menu_r3_c1.jpg" width="736" height="11" border="0" alt=""></td><td><img src="up/spacer.gif" width="1" height="11" border="0" alt=""></td></tr></table>');
	
}
			

