	function cambiaAmitmxPYMES(){
		document.getElementById("contenidoDiv").removeChild(document.getElementById("contenidoFormulario"));
		var divP = 
			'<div id="contenidoFormulario">'+
			'<form action="http://facturas.telmex.com.ec/j_spring_security_check" method="post" name="frmMiTmx" id="frmMiTmx">'+
			'	<div id="acceso">'+
			'		<br />'+
			'		<!-- HOGAR color: #FFE991 -->'+
			'		<!-- PYMES color: #D0EDC2 -->'+
			'		<iframe height="90" width="165" scrolling="no" id="ifracceso" name="ifracceso" align="top" marginheight="0" marginwidth="0" frameborder="0" src="http://facturas.telmex.com.ec/acceso_portal.do?color=D0EDC2"></iframe>'+
			'	</div>'+
			'<!-- '+
			'<label class="txt_general_formas" for="USR">Correo electr&oacute;nico:<br \/>'+
			'<input type="text" name="j_username" id="j_username" size="20" class="frm_input" style="width:150px; color: #000; background-color:#D0EDC2" tabindex="2" \/><\/label>'+
			'<br \/>'+
			'<a href="#" class="txt_general_naranja" tabindex="4" style="text-decoration:underline; margin-left:15px" onClick="return(fLoginMiTmx(document.getElementById(frmMiTmx),msgMiTelmex));">'+
			'<div style="float:right;"><\/div>'+
			'<\/a>'+
			'<br \/>'+
			'<table width="100%" border="0" cellspacing="0" cellpadding="0">'+
			'<tr>'+
			'<td><div style="float:left;">'+
			'<label class="txt_general_formas" for="CVEACC">Contrase&ntilde;a:<\/label>'+
			'<\/div><\/td>'+
			'<td>&nbsp;<\/td>'+
			'<\/tr>'+
			'<tr>'+
			'<td>'+
			'<input type="password" name="j_password" id="j_password" size="20" class="frm_input" style="background-color:#D0EDC2; width:100px" tabindex="3" \/><\/td>'+
			'<td><a href="#" class="txt_general_naranja" tabindex="4" style="text-decoration:underline; margin-left:15px" onClick="return(fLoginMiTmx(\'frmMiTmx\'));"><span style="float:right;"><img src="images\/_bot_entrar.gif" alt="" width="56" height="19"><\/span><\/a><\/td>'+
			'<\/tr>'+
			'<\/table>'+
			'<div id="msgMiTelmex" class="txt_error" style="padding:3px;height:10px">Texto para msg de error<\/div><br \/>'+
			'-->'+
			'<p><a href="javascript:void(0)" onclick="url(\'http://facturas.telmex.com.ec/registro.do?method=clienteRedirigir&mtR3c=1&td0c=2\');" class="lnk_general_azul"><strong>Reg&iacute;strate<\/strong><\/a><br \/>'+
			'<span><a href="javascript:void(0)" onclick="url(\'http://facturas.telmex.com.ec/recuperarContrasenaConsulta.do?method=mostrarPaginaContrasena&td0c=2\')" class="lnk_general_azul">Recuperar contrase&ntilde;a<\/a><br \/>'+
			'<a href="javascript:void(0)" onclick="url(\'http://www.telmex.com/ec/hogar/in_mitelmex.html\')" class="lnk_general_azul">&iquest;Qu&eacute; es Mi Telmex?<\/a><\/span><br\/><br\/>'+
			'<a onMouseDown="cambiaAmitmxHOGAR();" class="lnk_general_azul" style="cursor:pointer"><strong>Si eres cliente HOGAR, entrar aqu&iacute;<\/strong><\/a><br\/>'+
			'<\/p>'+
			'<input type="hidden" id="fcAcceso" name="fcAcceso" value="portal">'+
			'<\/form>'+
			'<\/div>';
			
		document.getElementById("contenidoDiv").innerHTML=divP;
	}
	
	function cambiaAmitmxHOGAR(){
		document.getElementById("contenidoDiv").removeChild(document.getElementById("contenidoFormulario"));
		var divH =
			'<div id="contenidoFormulario">'+
			'<form action="http://facturas.telmex.com.ec/j_spring_security_check" method="post" name="frmMiTmx" id="frmMiTmx">'+
			'	<div id="acceso">'+
			'		<br />'+
			'		<!-- HOGAR color: #FFE991 -->'+
			'		<!-- PYMES color: #D0EDC2 -->'+
			'		<iframe height="90" width="165" scrolling="no" id="ifracceso" name="ifracceso" align="top" marginheight="0" marginwidth="0" frameborder="0" src="http://facturas.telmex.com.ec/acceso_portal.do?color=FFE991"></iframe>'+
			'	</div>'+
			'<!-- '+
			'<label class="txt_general_formas" for="USR">Correo electr&oacute;nico:<br \/>'+
			'<input type="text" name="j_username" id="j_username" size="20" class="frm_input" style="width:150px; color: #000; background-color:#FFE991" tabindex="2" \/><\/label>'+
			'<br \/>'+
			'<a href="#" class="txt_general_naranja" tabindex="4" style="text-decoration:underline; margin-left:15px" onClick="return(fLoginMiTmx(document.getElementById(frmMiTmx),msgMiTelmex));">'+
			'<div style="float:right;"><\/div>'+
			'<\/a>'+
			'<br \/>'+
			'<table width="100%" border="0" cellspacing="0" cellpadding="0">'+
			'<tr>'+
			'<td><div style="float:left;">'+
			'<label class="txt_general_formas" for="CVEACC">Contrase&ntilde;a:<\/label>'+
			'<\/div><\/td>'+
			'<td>&nbsp;<\/td>'+
			'<\/tr>'+
			'<tr>'+
			'<td>'+
			'<input type="password" name="j_password" id="j_password" size="20" class="frm_input" style="background-color:#FFE991; width:100px" tabindex="3" \/><\/td>'+
			'<td><a href="#" class="txt_general_naranja" tabindex="4" style="text-decoration:underline; margin-left:15px" onClick="return(fLoginMiTmx(\'frmMiTmx\'));"><span style="float:right;"><img src="images\/_bot_entrar.gif" alt="Entrar" width="56" height="19"><\/span><\/a><\/td>'+
			'<\/tr>'+
			'<\/table>'+
			'<div id="msgMiTelmex" class="txt_error" style="padding:3px;height:10px">Texto para msg de error<\/div><br \/>'+
			'-->'+
			'<p><a href="javascript:void(0)" onclick="url(\'http://facturas.telmex.com.ec/registro.do?method=clienteRedirigir&mtR3c=1&td0c=1\')" class="lnk_general_azul"><strong>Reg&iacute;strate<\/strong><\/a><br \/>'+
			'<span><a href="javascript:void(0)" onclick="url(\'http://facturas.telmex.com.ec/recuperarContrasenaConsulta.do?method=mostrarPaginaContrasena&td0c=1\')" class="lnk_general_azul">Recuperar contrase&ntilde;a<\/a><br \/>'+
			'<a href="javascript:void(0)" onclick="url(\'http://www.telmex.com/ec/hogar/in_mitelmex.html\')" class="lnk_general_azul">&iquest;Qu&eacute; es Mi Telmex?<\/a><\/span><br\/><br\/>'+
			'<a onMouseDown="cambiaAmitmxPYMES();" class="lnk_general_azul" style="cursor:pointer"><strong>Si Ud. es cliente PYMES, entrar aqu&iacute;<\/strong><\/a><br\/>'+
			'<\/p>'+
			'<input type="hidden" id="fcAcceso" name="fcAcceso" value="portal">'+
			'<\/form>'+
			'<\/div>';

		document.getElementById("contenidoDiv").innerHTML=divH;
	}