// MENUS

function Desplegar(div)
{
	if (div == 'btn1') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		//document.getElementById('btn6').style.display='none'; 
		//document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	else if (div == 'btn2') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		//document.getElementById('btn6').style.display='none'; 
		//document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	else if (div == 'btn3') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		//document.getElementById('btn6').style.display='none'; 
		//document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	else if (div == 'btn4') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		//document.getElementById('btn6').style.display='none'; 
		//document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	else if (div == 'btn5') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		//document.getElementById('btn6').style.display='none'; 
		//document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	/*else if (div == 'btn6') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		document.getElementById('btn7').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}
	else if (div == 'btn7') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		document.getElementById('btn6').style.display='none';
		//document.getElementById('btn8').style.display='none';
	}*/
	/*else if (div == 'btn8') 
	{
		if (document.getElementById(div).style.display == 'none')
			document.getElementById(div).style.display='inline';  
		else
			document.getElementById(div).style.display='none'; 

		//document.getElementById('btn1').style.display='none'; 
		document.getElementById('btn2').style.display='none'; 
		document.getElementById('btn3').style.display='none'; 
		document.getElementById('btn4').style.display='none'; 
		document.getElementById('btn5').style.display='none'; 
		document.getElementById('btn6').style.display='none';
		document.getElementById('btn7').style.display='none';
	}*/

}


function RenderMenu()
{
	document.write("<div class=\"opcionMenuPrimerBtn\" onmouseout=\"this.className='opcionMenuPrimerBtn';\" onmouseover=\"this.className='opcionMenuOnPrimerBtn';\"><a href=\"#1\" onclick=\"Desplegar('btn1');\">Empresa</a></div>");
	document.write("<div id=\"btn1\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"presentacion.html\">Presentaci&oacute;n</a><br />&bull;&nbsp;<a href=\"areasnegocio.html\">&Aacute;reas de negocio</a><br />&bull;&nbsp;<a href=\"experiencia.html\">Experiencia:</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&ndash;&nbsp;<a href=\"proyectos.html\">Proyectos</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&ndash;&nbsp;<a href=\"clientes.html\">Clientes</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&ndash;&nbsp;<a href=\"partners.html\">Partners</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&ndash;&nbsp;<a href=\"referencias.html\">Referencias</a><br />&bull;&nbsp;<a href=\"equipoymetodo.html\">Equipo y Metodolog&iacute;a de trabajo</a><br />&bull;&nbsp;<a href=\"organigrama.html\">Organigrama</a><br />&bull;&nbsp;<a href=\"pnts.html\">PNT&rsquo;s</a><br /></div></div>");
	document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\" onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#2\" onclick=\"Desplegar('btn2');\">Cartera de Servicios</a></div>");
	document.write("<div id=\"btn2\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"servicios.html\">Servicios</a><br /></div></div>")
	document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\"onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#1\" onclick=\"Desplegar('btn3');\">Formaci&oacute;n M&eacute;dica Continuada</a></div>");
	document.write("<div id=\"btn3\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"formacion.html\">Formaci&oacute;n M&eacute;dica Continuada </a><br />&bull;&nbsp;<a href=\"acreditacion.html\">Acreditaci&oacute;n  por la Comisi&oacute;n de &nbsp;&nbsp;&nbsp;&nbsp;Formaci&oacute;n Continuada del &nbsp;&nbsp;&nbsp;&nbsp;Ministerio de Sanidad y Consumo</a><br />&bull;&nbsp;<a href=\"cursos.html\">Impartici&oacute;n de Cursos </a><br /></div></div>");
	/*document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\"onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#1\" onclick=\"Desplegar('btn4');\">Servicios de Marketing</a></div>");
	document.write("<div id=\"btn4\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"home.html\">e-Business</a><br />&bull;&nbsp;<a href=\"home.html\">Portales webs</a><br />&bull;&nbsp;<a href=\"home.html\">Marketing Multicanal</a><br />&bull;&nbsp;<a href=\"home.html\">Material multimedia</a><br />&bull;&nbsp;<a href=\"home.html\">Materiales gr&aacute;ficos</a><br />&bull;&nbsp;<a href=\"home.html\">Foros cient&iacute;ficos </a><br />&bull;&nbsp;<a href=\"home.html\">Eventos On-line</a><br />&bull;&nbsp;<a href=\"home.html\">Cobertura tecnol&oacute;gica de &nbsp;&nbsp;&nbsp;&nbsp;congresos: Webcasts</a><br />&bull;&nbsp;<a href=\"home.html\">Sesiones interactivas de trabajo en &nbsp;&nbsp;&nbsp;&nbsp;grupo: e-Communities</a><br />&bull;&nbsp;<a href=\"home.html\">Gesti&oacute;n de eventos</a><br /></div></div>");
	document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\" onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#1\" onclick=\"Desplegar('btn5');\">Servicios de Consultor&iacute;a</a></div>");
	document.write("<div id=\"btn5\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"home.html\">Consultor&iacute;a e-Business</a><br />&bull;&nbsp;<a href=\"home.html\">Marketing Multicanal</a><br />&bull;&nbsp;<a href=\"home.html\">Material multimedia</a><br />&bull;&nbsp;<a href=\"home.html\">Plataformas webs de formaci&oacute;n<br/> &nbsp;&nbsp;&nbsp;&nbsp;On-line</a><br />&bull;&nbsp;<a href=\"home.html\">Comunidades Virtuales</a><br />&bull;&nbsp;<a href=\"home.html\">Efectividad de Fuerza de Ventas</a><br />&bull;&nbsp;<a href=\"home.html\">Bases de Datos</a><br /></div></div>");*/
	document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\" onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#1\" onclick=\"Desplegar('btn4');\">Bolet&iacute;n Informativo AGEDEC</a></div>");
	document.write("<div id=\"btn4\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"ultimasnoticias.html\">&Uacute;ltimas noticias</a><br />&bull;&nbsp;<a href=\"artespecializado.html\">Art&iacute;culos especializados</a><br />&bull;&nbsp;<a href=\"artpersinvitada.html\">Art&iacute;culo personalidad invitada</a><br />&bull;&nbsp;<a href=\"noticiasempresa.html\">Noticias de empresa</a><br />&bull;&nbsp;<a href=\"entrevistas.html\">Entrevistas a expertos</a><br />&bull;&nbsp;<a href=\"revista.html\">Revista</a><br /></div></div>");
	document.write("<div class=\"opcionMenu\" onmouseout=\"this.className='opcionMenu';\" onmouseover=\"this.className='opcionMenuOn';\"><a href=\"#1\" onclick=\"Desplegar('btn5');\">Otros</a></div>");
	document.write("<div id=\"btn5\" class=\"switchcontent\" style=\"display:none\"><div class=\"marcoSubopcionMenu\">&bull;&nbsp;<a href=\"enlaces.html\">Enlaces</a><br />&bull;&nbsp;<a href=\"contacto.html\">Contacto</a><br />&bull;&nbsp;<a href=\"trabaja.html\">Trabaja con nosotros</a><br />&bull;&nbsp;<a href=\"colaboradoras.html\">Empresas colaboradoras</a><br /></div></div>");
}