
var fecha = new Date();
var anio = fecha.getFullYear();
window.status = 'netRecobro ' + anio;

function dw(x)
{
	document.write(x)	
}

function pintarCabTabla()
{
	var raiz = "/paginas/";
	var raizImg = "/img/";
	
	var tbl = "";
	tbl += "<table border='0' width='990' cellspacing='0' cellpadding='0' align='center'>";
	tbl += "<tr>";
	tbl += "	<td id='ti' style='height:35px; width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "	<td id='tc'>";
	tbl += "		<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
	tbl += "		<tr>";
	tbl += "			<td style='position:relative; padding-left:25px; z-index:100;' height='35' width='320' nowrap='nowrap'><div id='logo' style='cursor:pointer; background-repeat:no-repeat; position:absolute; top:66px; width:306px; height:110px;' onClick=\"javascript:irA_pagina('http://www.netrecobro.es');\"></div></td>";
	//tbl += "			<td class='textoTop' width='320' nowrap valign='bottom' onClick=\"javascript:irA_pagina('http://www.netrecobro.es');\">netrecobro.es</td>";
	tbl += "			<td width='100%'>&nbsp;</td>";
	tbl += "			<td nowrap='nowrap' class='ico_Home' style='width:19px;'>&nbsp;</td>";
	tbl += "			<td style='position:relative; vertical-align: bottom; padding-bottom:2px;' nowrap='nowrap' align='right'><a href=\"javascript:irA_pagina('"+ raiz +"inicio.html', 'self');\" class='enlaces0'>inicio</a></td>";
	tbl += "			<td nowrap='nowrap' valign='bottom' class='pipe0'>&nbsp;</td>";
	tbl += "			<td nowrap='nowrap' class='ico_mapaWeb' style='width:22px;'>&nbsp;</td>";
	tbl += "			<td style='position:relative; vertical-align: bottom; padding-bottom:2px;' nowrap='nowrap' align='right'><a href=\"javascript:irA_pagina('"+ raiz +"mapa_web.html', 'self');\" class='enlaces0'>mapa web</a></td>";
	tbl += "			<td nowrap='nowrap' valign='bottom' class='pipe0'>&nbsp;</td>";
	tbl += "			<td nowrap='nowrap' class='ico_Contacto' style='width:18px;'>&nbsp;</td>";
	tbl += "			<td style='position:relative; vertical-align: bottom; padding-bottom:2px;' nowrap='nowrap' align='right'><a href=\"javascript:irA_pagina('"+ raiz +"contacto.html', 'self');\" class='enlaces0'>contacto</a></td>";
	tbl += "			<td nowrap='nowrap' valign='bottom' class='pipe0'>&nbsp;</td>";
	tbl += "			<td nowrap='nowrap' class='ico_Omnisoft' style='width:15px;'>&nbsp;</td>";
	tbl += "			<td style='position:relative; vertical-align: bottom; padding-bottom:2px; padding-right:10px;' nowrap='nowrap' align='right'><a href=\"javascript:irA_pagina('http://www.omnisoft.es', 'blank');\" class='enlaces0'>omnisoft.es</a></td>";
	tbl += "		</tr>";
	tbl += "		</table>";
	tbl += "	</td>";
	tbl += "	<td id='td' style='height:35px; width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "</tr>";
	tbl += "<tr>";
	tbl += "	<td id='mi' style='width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "	<td id='mc' width='100%;' nowrap='nowrap'>";
			
	tbl += "		<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
	tbl += "		<tr>";
	tbl += "			<td id='tbi' style='height:35px; width:35px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "			<td id='tbc' style='height:35px; width:100%; background-repeat:repeat;'></td>";
	tbl += "			<td id='tbd' style='height:35px; width:35px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "		</tr>";
	tbl += "		</table>";
			
	tbl += "		<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
	tbl += "		<tr>";
	tbl += "			<td id='mbi' style='width:8px; background-repeat:no-repeat;background-position: middle right;' nowrap='nowrap'></td>";
	tbl += "			<td class='mbc'>";
	
	dw(tbl);
	
	// cargamos las imagenes escritas en el documento
	filtro('ti', raizImg + 'topleft.png'); filtro('tc', raizImg + 'topcenter.png');
	filtro('td', raizImg + 'topright.png'); filtro('mi', raizImg + 'middleleft.png');
	filtro('tbi', raizImg + 'top_bln_left.png'); filtro('tbc', raizImg + 'top_bln_center.png');
	filtro('tbd', raizImg + 'top_bln_right.png'); filtro('mbi', raizImg + 'middle_bln_left.png');
	filtro('logo', raizImg + 'logo_netrecobro.png');
}

function pintarPieTabla()
{
	var raizImg = "/img/";
	
	var tbl = "";
	tbl += "			</td>";              
	tbl += "			<td id='mbd' style='width:8px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "		</tr>";
	tbl += "		</table>";
		
	tbl += "		<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
	tbl += "		<tr>";
	tbl += "			<td id='bbi' style='height:40px; width:35px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "			<td width='200' id='bbc' style='width:100%; background-repeat:repeat;'></td>";
	tbl += "			<td id='bbd' style='height:40px; width:35px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "		</tr>";
	tbl += "		</table>";
	
	tbl += "	</td>";
	tbl += "	<td id='md' style='width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "</tr>";
	tbl += "<tr>";
	tbl += "	<td id='bi' style='height:35px; width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "	<td width='200' id='bc' STYLE='width:100%; background-repeat:repeat;'></td>";
	tbl += "	<td id='bd' style='height:35px; width:40px; background-repeat:no-repeat;' nowrap='nowrap'></td>";
	tbl += "</tr>";
	tbl += "</table>";
	
	dw(tbl);
	
	// cargamos las imagenes escritas en el documento
	filtro('md', raizImg + 'middleright.png'); filtro('bi', raizImg + 'bottomleft.png');
	filtro('bc', raizImg + 'bottomcenter.png'); filtro('bd', raizImg + 'bottomright.png');
	filtro('mbd', raizImg + 'middle_bln_right.png'); filtro('bbi', raizImg + 'bottom_bln_left.png');
	filtro('bbc', raizImg + 'bottom_bln_center.png'); filtro('bbd', raizImg + 'bottom_bln_right.png');
}

function pintarMenuIzquierdo(nLink, nRaiz)
{
	var raiz = "";
	
	if(typeof nRaiz == 'undefined')
	{
		raiz = "";
	}
	else
	{
		for(i=0; i < nRaiz; i++)
		{
			raiz += "../";
		}	
	}

	var claseTexto = "";
	var texto_on = "textoMenu_on";
	var texto_off = "textoMenu_off";
	
	var lineaSeparacion = "<li class='lineaMenu'>&nbsp;</li>";
	
	var tbl = "";
	tbl += "<div class='fondoCuerpoMI'>";
	tbl += "	<ul class='ulTipo'>";
	
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'n_solucion') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"nuestra_solucion.html');\">";
	tbl += "			<div style='padding-left:20px;'>nuestra soluci&oacute;n</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'caracteristicas') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"caracteristicas.html');\">";
	tbl += "			<div style='padding-left:20px;'>caracter&iacute;sticas</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'requerimientos') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"requerimientos.html');\">";
	tbl += "			<div style='padding-left:20px;'>requerimientos</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'funcionalidades') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"funcionalidades.html');\">";
	tbl += "			<div style='padding-left:20px;'>funcionalidades</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'ventajas') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"ventajas.html');\">";
	tbl += "			<div style='padding-left:20px;'>ventajas</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'va_dirigida') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"va_dirigida.html');\">";
	tbl += "			<div style='padding-left:20px;'>&iquest;a qui&eacute;n va dirigida?</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
	
		claseTexto = (nLink == 'partner') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"partner.html');\">";
	tbl += "			<div style='padding-left:20px;'>partners</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'q_somos') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"quienes_somos.html');\">";
	tbl += "			<div style='padding-left:20px;'>&iquest;qui&eacute;nes somos?</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
		
	claseTexto = (nLink == 'contacto') ? texto_on : texto_off;
	tbl += "		<li class='"+ claseTexto +"' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\" onClick=\"javascript:irA_pagina('"+ raiz +"contacto.html');\">";
	tbl += "			<div style='padding-left:20px;'>contacto</div>";
	tbl += "		</li>";
	tbl += lineaSeparacion;
	
	tbl += "	</ul>";
	tbl += "</div>";
	
	dw(tbl);
}

function pintarMenuDerecho(nLink, nRaiz)
{
	var raiz = "";
	
	if(typeof nRaiz == 'undefined')
	{
		raiz = "";
	}
	else
	{
		for(i=0; i < nRaiz; i++)
		{
			raiz += "../";
		}	
	}
	
	var claseTexto = "";
	var texto_on = "textoMenuDer_on";
	var texto_off = "textoMenuDer_off";
	
	var lineaSeparacion = "<li class='lineaMenu'>&nbsp;</li>";
	
	var tbl = "";

	tbl += "<ul class='ulTipo'>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'com_bilateral') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/com_bilateral.html', 'self');\" title='Comunicaci&oacute;n bilateral con el cliente' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Comunicaci&oacute;n bilateral con el cliente</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'ges_telefonica') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/ges_telefonica.html', 'self');\" title='Gesti&oacute;n telef&oacute;nica' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Gesti&oacute;n telef&oacute;nica</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'ges_expediente') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/ges_expediente.html', 'self');\" title='Gesti&oacute;n de los expedientes de deuda' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Gesti&oacute;n de los expedientes de deuda</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'vinculo_expediente') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/vinculo_expediente.html', 'self');\" title='Vinculaci&oacute;n din&aacute;mica de expedientes' onMouseOver=\"overOutColorMenu(this, 'over');\" onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Vinculaci&oacute;n din&aacute;mica de expedientes</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'agenda') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/agenda.html', 'self');\" title='Agenda para los gestores' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Agenda para los gestores</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'calculo_intereses') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/calculo_intereses.html', 'self');\" title='C&aacute;lculo de intereses on-line' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>C&aacute;lculo de intereses on-line</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'promesa_pago') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/promesa_pago.html', 'self');\" title='Gesti&oacute;n de promesas de pago' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Gesti&oacute;n de promesas de pago</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'procesos_comunicacion') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/procesos_comunicacion.html', 'self');\" title='Automatizaci&oacute;n de procesos de comunicaci&oacute;n multicanal (correo postal, SMS, e-mail)' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Automatizaci&oacute;n de procesos de comunicaci&oacuten multicanal (correo postal, SMS, e-mail)</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'workflow') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/workflow.html', 'self');\" title='Workflow de tareas' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Workflow de tareas</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	
	claseTexto = (nLink == 'herramientas_analisis') ? texto_on : texto_off;
	tbl += "	<li class='"+ claseTexto +"' onClick=\"javascript:irA_pagina('../funcionalidad/herramientas_analisis.html', 'self');\" title='Herramientas de an&aacute;lisis' onMouseOver=\"overOutColorMenu(this, 'over');\"  onMouseOut=\"overOutColorMenu(this, 'out');\">";
	tbl += "		<div style='padding-right:5px; padding-left:5px;'>Herramientas de an&aacute;lisis</div>";
	tbl += "	</li>";
	tbl += lineaSeparacion;
	tbl += "</ul>";
	
	dw(tbl);

}

function encenderPastilla(objId, modo)
{
	var claseTD = "pst_";
	
	var tblPestania = document.getElementById(objId.id);
	tdsPestania = tblPestania.getElementsByTagName("TD");

	if(modo == 'over') 
	{
		for(i=0; i < 3; i++)
		{	
			tdsPestania[i].className = claseTD + i + "_over";  // 'tdCab0, tdCab1, tdCab2'
		}
	}
	else 
	{
		for(i=0; i < 3; i++)
		{
			tdsPestania[i].className = claseTD + i; // 'tdCab0_off, tdCab1_off, tdCab2_off'
		}
	}
}

function pintarPastillas(past0, past1, past2, past3, past4)
{
	this.raiz = "/pdf/";
	this.p_texto;
	this.p_texto2;
	this.p_enlace;
	this.p_target;
	this.p_properties;
		
	this.pintar_Tabla_Pastillas = function(num)
	{
		var tbl = "";
		
		tbl += "<div style='padding-bottom:15px;' onClick=\"javascript:irA_pagina('"+ this.p_enlace +"', '"+ this.p_target +"', '"+ this.p_properties +"')\">";
		tbl += "	<table id='p"+ num +"' border='0' cellpadding='0' cellspacing='0' width='100%' style='cursor:pointer;' onMouseOver=\"javascript:encenderPastilla(this, 'over');\" onMouseOut=\"javascript:encenderPastilla(this, 'out');\">";
		tbl += "	<tr>";
		tbl += "		<td class='pst_0' nowrap='nowrap'>&nbsp;</td>";
		tbl += "		<td class='pst_1'>";
		tbl += "			<div class='textoPastillaGrande'>"+ this.p_texto +"</div>";
		tbl += "			<div class='textoPastillaPequenio'>"+ this.p_texto2 +"</div>";
		tbl += "		</td>";
		tbl += "		<td class='pst_2' nowrap='nowrap'>&nbsp;</td>";
		tbl += "	</tr>";
		tbl += "	</table>";
		tbl += "</div>";

		dw(tbl);
	}
	
	if(past0 != '0')
	{
		this.p_texto = "NOTICIAS";
		this.p_texto2 = "Notas y Prensa";
		this.p_enlace = "/paginas/noticias.html";
		this.p_target = "self";
		this.p_properties = "top=50, left=50, width=800, height=600, menubars=no, resizable=yes";
		this.pintar_Tabla_Pastillas(0);
	}
	
	if(past1 != '0')
	{
		this.p_texto = "EVENTOS";
		this.p_texto2 = "Congreso Cr&eacute;dito y Recobro";
		this.p_enlace = "/paginas/eventos.html";
		this.p_target = "self";
		this.p_properties = "top=50, left=50, width=800, height=600, menubars=no, resizable=yes";
		this.pintar_Tabla_Pastillas(1);
	}	
	
	if(past2 != '0')
	{
		this.p_texto = "INFO";
		this.p_texto2 = "Presentaci&oacute;n netRecobro";
		this.p_enlace = raiz + "netRecobro.pdf";
		this.p_target = "blank";
		this.p_properties = "top=50, left=50, width=800, height=600, menubars=no, resizable=yes";
		this.pintar_Tabla_Pastillas(2);
	}
	if(past3 != '0')
	{
		this.p_texto = "CASO DE &Eacute;XITO";
		this.p_texto2 = "Verifica-Altitude-Omnisoft";
		this.p_enlace = "/paginas/caso_exito.html";
		this.p_target = "self";
		this.p_properties = "top=50, left=50, width=800, height=600, menubars=no, resizable=yes";
		this.pintar_Tabla_Pastillas(3);
	}
	if(past4 != '0')
	{
		this.p_texto = "DOSSIER DE PRENSA";
		this.p_texto2 = "";
		this.p_enlace = "/paginas/dossier_prensa.html";
		this.p_target = "self";
		this.p_properties = "top=50, left=50, width=800, height=600, menubars=no, resizable=yes";
		this.pintar_Tabla_Pastillas(4);
	}
}

function pintarEnlacesPie()
{
	var raiz = "/pdf/";
	
	var tbl = "";
	tbl += "<div style='width:960; border-bottom:1px solid #404040; margin:auto; margin-bottom:10px; text-align:center;'>";
	tbl += "<table border='0' width='960' cellspacing='0' cellpadding='0' align='center' style='border-bottom:1px solid #666666; padding-top:2px;'>";
	tbl += "<tr>";
	tbl += "	<td nowrap class='textoPie'><a href='#' class='enlacesPie' onClick=\"javascript:irA_pagina('http://www.netrecobro.es');\"></a> netRecobro es una marca registrada | Omnisoft Inform&aacute;tica, S.A. :: Avda. Brasilia 3-5. 28028 - Madrid </td>";
	tbl += "	<td width='100%'>&nbsp;</td>";
	//tbl += "	<td nowrap='nowrap'><a href='#' class='enlacesPie' onClick=\"javascript:irA_pagina('http://www.netrecobro.es');\">Aviso Legal</a></td>";
	//tbl += "	<td class='textoPie' nowrap>&nbsp;&nbsp;|&nbsp;&nbsp;</td>";
	tbl += "	<td nowrap='nowrap'><a href=\"javascript:irA_pagina('/paginas/contacto.html');\" class='enlacesPie'>contacto</a></td>";
	tbl += "	<td class='textoPie' nowrap>&nbsp;&nbsp;|&nbsp;&nbsp;</td>";
	tbl += "	<td nowrap='nowrap'><a href=\"javascript:irA_pagina('http://www.omnisoft.es', 'blank');\" class='enlacesPie'>omnisoft.es</a></td>";
	//tbl += "	<td class='textoPie' nowrap>&nbsp;&nbsp;|&nbsp;&nbsp;</td>";
	//tbl += "	<td nowrap='nowrap'><a href='#' class='enlacesPie' onClick=\"irA_pagina('http://www.netrecobro.es');\">gesMuestras</a></td>";
	//tbl += "	<td class='textoPie' nowrap>&nbsp;&nbsp;|&nbsp;&nbsp;</td>";
	//tbl += "	<td nowrap='nowrap'><a href='#' class='enlacesPie' onClick=\"irA_pagina('http://www.netrecobro.es');\">Broker SMS</a></td>";
	//tbl += "	<td class='textoPie' nowrap>&nbsp;&nbsp;|&nbsp;&nbsp;</td>";
	//tbl += "	<td nowrap='nowrap'><a href='#' class='enlacesPie' onClick=\"irA_pagina('http://www.netrecobro.es');\">Geco</a></td>";
	tbl += "</tr>";
	tbl += "</table></div>";
	
	tbl += "<div class='fondoPie' style='width:960;'>";
	tbl += "<table border='0' width='100%' cellspacing='5' cellpadding='0' align='center' style='border:1px solid #666666;'>";
	tbl += "<tr>";
	tbl += "	<td class='textoPie' nowrap='nowrap' width='100%'>&nbsp;</td>";
	tbl += "	<td class='textoPie1' nowrap='nowrap' align='right'>Conforme con:</td>";
	/*
	tbl += "	<td nowrap='nowrap'><a class='enlacesPie1' href=\"javascript:irA_pagina('http://jigsaw.w3.org/css-validator/validator?uri="+ location.href +"', 'blank');\" title='CSS V&aacute;lido'>CSS 2.1</td>";
	tbl += "	<td class='textoPie1' nowrap>&nbsp;|&nbsp;</td>";
    tbl += "	<td nowrap='nowrap'><a class='enlacesPie1' href=\"javascript:irA_pagina('http://validator.w3.org/check?uri="+ location.href +"', 'blank');\" title='Valid HTML 4.01 Transitional'>HTML 4.01</a></td>";
	tbl += "	<td class='textoPie' nowrap='nowrap'>&nbsp;</td>";
	tbl += "	<td nowrap='nowrap' class='logoISO' onClick=\"javascript:irA_pagina('"+ raiz +"OmnisoftISO.pdf', 'blank', 'top=50, left=50, width=800, height=600, menubars=no, resizable=yes')\" title='Certificado Applus'>&nbsp;</td>";
	*/
	tbl += "	<td nowrap='nowrap'><div class='logoW3C_css' onClick=\"javascript:irA_pagina('http://jigsaw.w3.org/css-validator/validator?uri="+ location.href +"', 'blank');\" title='CSS V&aacute;lido'>&nbsp;</div></td>";
	tbl += "	<td class='textoPie1' nowrap>&nbsp;|&nbsp;</td>";
    tbl += "	<td nowrap='nowrap'><div class='logoW3C_html4' onClick=\"javascript:irA_pagina('http://validator.w3.org/check?uri="+ location.href +"', 'blank');\" title='Valid HTML 4.01 Transitional'>&nbsp;</div></td>";
	tbl += "	<td class='textoPie' nowrap='nowrap'>&nbsp;</td>";
	tbl += "	<td nowrap='nowrap' class='logoISO' onClick=\"javascript:irA_pagina('"+ raiz +"OmnisoftISO.pdf', 'blank', 'top=50, left=50, width=800, height=600, menubars=no, resizable=yes')\" title='Certificado Applus'>&nbsp;</td>";
	tbl += "	<td class='textoPie' nowrap='nowrap'>&nbsp;</td>";
	tbl += "</tr>";
	tbl += "</table></div><br>";
	
	dw(tbl);
}

function filtro(objIMG, srcIMG)
{
	var browser=navigator.appName;
	
	if(document.getElementById(objIMG)) // si existe
	{
		if(browser == 'Microsoft Internet Explorer')
		{
			document.getElementById(objIMG).style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + srcIMG + "', sizingMethod='crop')";
		}
		else
		{
			document.getElementById(objIMG).style.backgroundImage = 'url(' + srcIMG + ')';
		}
	}
}

function overOutColorMenu(obj, modo)
{
	var claseActual = obj.className;
	claseActual = claseActual.substring(0, claseActual.indexOf("_"));

	if(modo == 'over')
	{
		if(obj.className.indexOf('on') == -1) // cambiamos aquellos cuyo estilo sea 'off'
		{
			obj.className = claseActual + "_over";
		}
	}
	else
	{
		if(obj.className.indexOf('on') == -1) // cambiamos aquellos cuyo estilo sea 'off'
		{
			obj.className = claseActual + "_off";
		}
	}
}

function irA_pagina(pagina, tipo, propiedades)
{
	if(propiedades == undefined) // si no tiene propiedades se eligen unas generales por defecto
	{
		propiedades = 'top=50, left=50, width=850, height=600, toolbar=yes, menubar=yes, directories=yes, location=yes, status=yes, resizable=yes, scrollbars=yes';
	}
	if(tipo == 'blank')
	{
		window.open(pagina, '', propiedades);
	}
	else
	{
		location.href = pagina;	
	}
}
