<%@ page import="com.ejie.p06b.general.P06BPaginas,com.ejie.p06b.util.P06BParametros,com.ejie.p06b.general.P06BConstantes" %>
<script>
	var rutaCabecera;	//Parametro a pasar desde cada jsp que indique la ruta del mismo
	rutaCabecera = "<a class='migaja' href='"+'<%=P06BPaginas.P06B_JSP_PAGINA_PORTAL_INJSP%>'+"'>\\"+'<p06b:p06bResEtiquetasTag resource="pantallas.inicio.titulo"/>'+"<\/a>";
	
	function imprimirCD(servlet){
		var h=650;
		var w=900;
		var url = '';		
		LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
		TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
		settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',menubar=no,resizable=yes,scrollbars=yes,titlebar=yes,toolbar=no'
		window.open(servlet+"?tipoPDF="+'<%=P06BConstantes.P06B_CARTASDECPDF%>',"PDF",settings);
	}
</script>
<script>
	function flecha_on(nombre){
		eval("document['" + nombre + "']").src = "<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOn.gif";
	}
	function flecha_off(nombre){
		eval("document['" + nombre + "']").src = "<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif";
	}
 HM_DOM = (document.getElementById) ? true : false;
 HM_NS4 = (document.layers) ? true : false;
 HM_IE = (document.all) ? true : false;
 HM_IE4 = HM_IE && !HM_DOM;
 HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
 HM_IE4M = HM_IE4 && HM_Mac;
 HM_IsMenu = (HM_DOM || HM_NS4 || (HM_IE4 && !HM_IE4M));
 HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";
 if(window.event + "" == "undefined") event = null;
 function HM_f_PopUp(){return false};
 function HM_f_PopDown(){
 alert (HM_BrowserString);
 return false};
 popUp = HM_f_PopUp;
 popDown = HM_f_PopDown;
HM_PG_MenuWidth = 245;
HM_PG_FontFamily = "Verdana"; 
HM_PG_FontSize = (HM_IE || HM_DOM) ? "11" : "8"; 
HM_PG_FontBold = 1;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "white"; 
HM_PG_FontColorOver = "#005D99";
HM_PG_BGColor =  "#849CB4"; 
HM_PG_BGColorOver = "#E2E2E2"; 
HM_PG_ItemPadding = 2;
 HM_PG_BorderWidth = 1;
 HM_PG_BorderColor = "#AAAAAA";
 HM_PG_BorderStyle = "solid" ;
 HM_PG_SeparatorSize = 1;
 HM_PG_SeparatorColor = "#FFFFFF";
 HM_PG_ImageSrc = "<%=P06BPaginas.P06B_STYLES_PATH%>/p06bMenu/images/triangle.gif";
 HM_PG_ImageSrcLeft = "<%=P06BPaginas.P06B_STYLES_PATH%>/p06bMenu/images/triL.gif";
 HM_PG_ImageSize = 5;
 HM_PG_ImageHorizSpace = 0;
 HM_PG_ImageVertSpace = 2;
 HM_PG_KeepHilite = true; 
 HM_PG_ClickStart = 0;
 HM_PG_ClickKill = false;
 HM_PG_ChildOverlap = 0;
 HM_PG_ChildOffset = 0;
 HM_PG_ChildPerCentOver = null;
 HM_PG_TopSecondsVisible = .2;
 HM_PG_StatusDisplayBuild =0;
 HM_PG_StatusDisplayLink = 0;
 HM_PG_UponDisplay = null;
 HM_PG_UponHide = null;
 HM_PG_RightToLeft = false;//HM_PG_CreateTopOnly = 1;
 HM_PG_ShowLinkCursor = 1;
 //HM_a_TreesToBuild = [1,2];
//Esto correspondía al antiguo HM_Loader.js

if(HM_IsMenu) {
 HM_Array1 = [
 [90,
 "",
 "",
"White",
"#849CB4",
"#849CB4",
"#E2E2E2",
"",
"White",
 0,
 0,
 0, 
 1,
 1,
 1,
 "null",
 "null",
],["Euskara","/p06b/P06RedireccionadorServlet?lenguaje=eu&id=1",1,0,0],
["English","/p06b/P06RedireccionadorServlet?lenguaje=en&id=1",1,0,0]]

HM_Array2 =[
 [],  
['<p06b:p06bResEtiquetasTag resource="menu.opcion.test"/>','<%=P06BPaginas.P06B_JSP_TEST_INJSP%>',1,0,1]
]

HM_Array3 =[
 [],  
['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.buscaCorredor"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDORBUSCAR_INJSP%>?fromMenu=true',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.nuevoCorredor"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDOR_INJSP%>?fromMenu=true',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.comunicarDGSFP"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDORCOMUNICARDGSFP_INJSP%>?fromMenu=true',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.comunicarDGSFP"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDORCOMUNICARDGSFP2_INJSP%>',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.revisarAltasBajasTramitagune"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDORBUSCAR_INJSP%>?fromMenu=true&accion=buscar&TramitePendiente=<%=P06BConstantes.P06B_BUSQCORR_TRAMITEPENDIENTE_REVISARALTASBAJASTRAMITAGUNE%>',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.incorporaModTramitagune"/>','<%=P06BPaginas.P06B_JSP_SERVLETCORREDORBUSCAR_INJSP%>?fromMenu=true&accion=buscar&TramitePendiente=<%=P06BConstantes.P06B_BUSQCORR_TRAMITEPENDIENTE_INCORPORARMODTRAMITAGUNE%>&objetivo=<%=P06BConstantes.P06B_BUSQCORR_TRAMITEPENDIENTE_INCORPORARMODTRAMITAGUNE%>',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.atencionPeticiones"/>','<%=P06BPaginas.P06B_JSP_SERVLETATENCIONPETICIONESLISTADO_INJSP%>?<%=P06BConstantes.P06B_FILTRO_APT%>=<%=P06BConstantes.P06B_FILTRO_APT_ERRORORECOGIDA%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.atencionPeticiones"/>','<%=P06BPaginas.P06B_JSP_SERVLETATENCIONPETICIONESLISTADO_INJSP%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.encargadosAtencionDefensaCliente"/>','<%=P06BPaginas.P06B_JSP_SERVLETATENCIONDEFENSACLIENTE_INJSP%>?accion=<%=P06BConstantes.P06B_ACCION_RECUPERAR%>',1,0,1]
]

HM_Array4 =[
 [],  
['<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC.buscaDEC"/>','<%=P06BPaginas.P06B_JSP_SERVLETDECBUSCAR_INJSP%>?fromMenu=true',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC.pdtesEnvio"/>','<%=P06BPaginas.P06B_JSP_PDTESENVIODEC_INJSP%>',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.cartasDEC"/>','<%=P06BPaginas.P06B_JSP_IMPRIMIRCARTASDEC_INJSP%>',1,0,1],
//['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.cartasDEC"/>','<%=P06BPaginas.P06B_JSP_SERVLETTESTPDF_INJSP%>?tipoPDF=<%=P06BConstantes.P06B_CARTASDECPDF%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC.datosDireccion"/>','<%=P06BPaginas.P06B_JSP_SERVLETDATOSDIRECCION_INJSP%>?accion=<%=P06BConstantes.P06B_ACCION_RECUPERAR%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores.cartasDEC"/>','javascript:imprimirCD("<%=P06BPaginas.P06B_JSP_SERVLETTESTPDF_INJSP%>");',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC.informeEurostat"/>','<%=P06BPaginas.P06B_JSP_INFORMERESUMENDEC_INJSP%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC.modificarPeriodos"/>','<%=P06BPaginas.P06B_JSP_SERVLETPRDMODIFICAR_INJSP%>?accion=cambio',1,0,1]
]


HM_Array5 =[
 [],  
['<p06b:p06bResEtiquetasTag resource="menu.opcion.seguimiento.informeOtroEurostat"/>','<%=P06BPaginas.P06B_JSP_INFORMEOTRORESUMENDEC_INJSP%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.seguimiento.informeOtroEurostatDet"/>','<%=P06BPaginas.P06B_JSP_INFORMEDETALLENEGOCIO_INJSP%>',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.seguimiento.carterasegurosintermediadaramosnovida"/>','<%=P06BPaginas.P06B_JSP_CRITERIOEJERTC_INJSP%>?pestana=1',1,0,1],
['<p06b:p06bResEtiquetasTag resource="menu.opcion.seguimiento.estructuradelaorganizacionmediospersonales"/>','<%=P06BPaginas.P06B_JSP_CRITERIOEJERTC_INJSP%>?pestana=0',1,0,1]
]

HM_Array6 =[
 [],  
['<p06b:p06bResEtiquetasTag resource="menu.opcion.balance.balanceagregadoabreviado"/>','<%=P06BPaginas.P06B_JSP_CRITERIOEJERTC_INJSP%>?pestana=2',1,0,1]
]



}
document.write("<script SRC='<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/js/HM_Script"+ HM_BrowserString +".js'><\/script>");
 </script>
<table style="border-spacing:0;border-width:0;width:750px;margin:0 auto">
    <tr class="cabecerabuscador"> 
      <td class="cabecerabuscador" style="width:80px;padding:0">&nbsp;&nbsp;<p06b:p06bResEtiquetasTag resource="menu.titulo"/></td><td class="cabecerabuscador" style="width:12px;padding:0">
		<TABLE style="border-width:0;width:100%">
			<TR>
				<%if(((String)P06BParametros.get("test.hayEnMenu")).equals("true") && ((String)P06BParametros.get("test.hayEnMenu")).equals("false")){%>
				<TD><div id="Menu2" style="position: relative; left: 0; top: 0"></div></TD>
				<TD style="width:23%;"><A class="cabecerabuscador"  ONMOUSEOUT="popDown('HM_Menu2');flecha_off('Test')" ONMOUSEOVER="popUp('HM_Menu2',event,'Menu2');flecha_on('Test')"><img id="Test" src="<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif" style="border:0" alt="">&nbsp;<p06b:p06bResEtiquetasTag resource="menu.opcion.test"/></A></TD>
				<TD class="cabecerabuscador">&nbsp;</TD>
				<%}%>
				
				<TD><div id="Menu3" style="position: relative; left: 0; top: 0"></div></TD>
				<TD style="width:27%;"><A class="cabecerabuscador"  ONMOUSEOUT="popDown('HM_Menu3');flecha_off('Corredores')" ONMOUSEOVER="popUp('HM_Menu3',event,'Menu3');flecha_on('Corredores')"><img id="Corredores" src="<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif" style="border:0" alt="">&nbsp;<p06b:p06bResEtiquetasTag resource="menu.opcion.corredores"/></A></TD>
				<TD class="cabecerabuscador">&nbsp;</TD>
					
				<TD><div id="Menu4" style="position: relative; left: 0; top: 0"></div></TD>
				<TD style="width:23%;"><A class="cabecerabuscador"  ONMOUSEOUT="popDown('HM_Menu4');flecha_off('DEC')" ONMOUSEOVER="popUp('HM_Menu4',event,'Menu4');flecha_on('DEC')"><img id="DEC" src="<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif" style="border:0" alt="">&nbsp;<p06b:p06bResEtiquetasTag resource="menu.opcion.DEC"/></A></TD>
				<TD class="cabecerabuscador">&nbsp;</TD>
				
				<TD><div id="Menu5" style="position: relative; left: 0; top: 0"></div></TD>
				<TD style="width:27%;"><A class="cabecerabuscador"  ONMOUSEOUT="popDown('HM_Menu5');flecha_off('Seguimiento')" ONMOUSEOVER="popUp('HM_Menu5',event,'Menu5');flecha_on('Seguimiento')"><img id="Seguimiento" src="<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif" style="border:0" alt="">&nbsp;<p06b:p06bResEtiquetasTag resource="menu.opcion.seguimiento"/></A></TD>
				<TD class="cabecerabuscador">&nbsp;</TD>
					
				<TD><div id="Menu6" style="position: relative; left: 0; top: 0"></div></TD>
				<TD style="width:23%;"><A class="cabecerabuscador"  ONMOUSEOUT="popDown('HM_Menu6');flecha_off('Balance')" ONMOUSEOVER="popUp('HM_Menu6',event,'Menu6');flecha_on('Balance')"><img id="Balance" src="<%=P06BPaginas.P06B_STYLES_PATH%>/p06Menu/images/flechaOff.gif" style="border:0" alt="">&nbsp;<p06b:p06bResEtiquetasTag resource="menu.opcion.balance"/></A></TD>
				<TD class="cabecerabuscador">&nbsp;</TD>
				
			</TR>
		</TABLE>
	</td>
	<td class="cabecerabuscadorFecha" style="width:160px;height:12px;padding:0;text-align:right"><p06b:p06bFechaTag/>&nbsp;&nbsp;</td>
	</tr>
<!-- fin fila buscador-->
</table>