<%@ Language=VBScript %>
<% 
Response.Buffer=true
dim str_titulo,str_password, lon_ancho_titulo

str_empresa= Request.Cookies("sieps")("empresa")
str_nombre_empresa=Request.Cookies("sieps")("nombre_empresa")
%>
<html>
<head>
<title>Sieps - Acceso Candidato</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style type="text/css">
<!--
.style1 {	font-family: "Trebuchet MS";
	font-weight: bold;
	color: #FFFFFF;
	font-size: 18px;
}
.style3 {font-size: 14; }
.style9 {
	color: #FFFFFF;
	font-weight: bold;
}
.formularios {
	font-family: "Trebuchet MS";
	font-weight: bold;
	color: #666666;
	text-decoration: none;
}
.class555 {
	font-family: "Trebuchet MS";
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
-->
</style>

<!--#INCLUDE FILE="uti_utilerias_cliente.asp"-->

<script LANGUAGE="javascript">
<!--
function iniciar()
{
	var image1
	image1= new Image;
	image1.scr="images/btn_aceptar_1.gif";
	image2= new Image;
	image2.scr="images/btn_cancelar_1.gif";

	document.form1.TXT_USUARIO.focus;
}

function validar()
{
	
	var str_valida
	
	str_valida =valida_espacio(document.form1.TXT_USUARIO.value)
	if (str_valida==true){
		alert("Clave de usuario no válida...");
		document.form1.TXT_USUARIO.focus();
		return (false);
	}

	str_valida =valida_espacio(document.form1.TXT_PASSWORD.value)
	if (str_valida==true){
		alert("Password no válido...");
		document.form1.TXT_PASSWORD.focus();
		return (false);
	}

	document.form1.submit();
	
}

-->
</script>


<link REL="stylesheet" TYPE="text/css" HREF="stylesheet.css">
<meta name="Microsoft Theme" content="none, default"><meta name="Microsoft Border" content="none, default">
<style type="text/css">
<!--
.style1 {font-family: "Trebuchet MS";
	font-weight: bold;
	color: #FFFFFF;
	font-size: 18px;
}
.style3 {font-size: 14; }
.style9 {	color: #FFFFFF;
	font-weight: bold;
}
.style10 {	color: #FFFFFF;
	font-weight: bold;
}
.style10 {color: #FFFFFF;
	font-weight: bold;
}
.style11 {	color: #FFFFFF;
	font-weight: bold;
}
.style11 {color: #FFFFFF;
	font-weight: bold;
}
.style12 {	color: #FFFFFF;
	font-weight: bold;
}
.style12 {color: #FFFFFF;
	font-weight: bold;
}
.style13 {font-family: "Trebuchet MS";
	font-weight: bold;
	color: #FFFFFF;
	font-size: 18px;
}
.style13 {font-family: "Trebuchet MS";
	font-weight: bold;
	color: #FFFFFF;
	font-size: 18px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body class="body" onLoad="iniciar()" topmargin="6" bottommargin="6" leftmargin="6" rightmargin="6" bgColor="slategray">
<form method="post" ACTION="idx_uti_valida_password_usuario.asp" id="form1" name="form1">

<table height="100%" width="100%" Align="center" valign="center" border="1" cellspacing="0" cellpadding="0" background bgColor="gainsboro" borderColorDark="white" borderColorLight="black">
	<tr>
		<td height="100%" width="100%" Align="middle" valign="center"><table width="550" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bckenter.jpg">
          <tr>
            <td height="231" valign="top"><table width="550" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="70"><table width="550" border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td width="180" height="46">&nbsp;</td>
                        <td><div align="center">
                            <p><br>
                            </p>
                        </div></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="30"><div align="center"><span class="style13">Ingresar al sistema como Candidato<br>
                  </span></div></td>
                </tr>
                <tr>
                  <td height="185"><table width="400" border="0" align="center" cellpadding="0" cellspacing="5">
                      <tr>
                        <td><div align="right" class="style9">Empresa:</div></td>
                        <td><iframe src=http://manemployee.no-ip.org/idx_empresa.asp
      width="300" height="36" frameborder="0" scrolling= "No" allowtransparency>
                        <p align="left">Su navegador no es apto para el SIEPS, le recomendamos Internet Explorer 6.0 o superior.</p>
                        </iframe></td>
                      </tr>
                      <tr>
                        <td width="100"><div align="right"><span class="style12"><span class="style11">Clave:</span></span></div></td>
                        <td><input name="TXT_USUARIO" type="text" class="formularios" tabindex="1" size="40"></td>
                      </tr>
                      <tr>
                        <td class="style3"><div align="right"><span class="style10">Password:</span></div></td>
                        <td><p>
                          <input name="TXT_PASSWORD" type="password" class="formularios" tabindex="2" onKeyPress="javascript: if (window.event.keyCode== 13) {validar();}" size="40">
                        </p>                        </td>
                      </tr>
                      <tr>
                        <td height="40" class="style3">&nbsp;</td>
                        <td><img alt="Entrar al sistema" border="0" name="pic_aceptar" onClick="validar()" onMouseOut="document.pic_aceptar.src='images/btn_aceptar_0.gif'" onMouseOver="document.pic_aceptar.src='images/btn_aceptar_1.gif'" src="images/btn_aceptar_0.gif" width="82" height="28"> <img src="images/btn_cancelar_0.gif" alt="" width="82" height="28" border="0" usemap="#Map2">
                          <map name="Map2">
                            <area shape="rect" coords="1,1,81,27" href="index.asp">
                          </map>
                        </td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td height="65">&nbsp;</td>
          </tr>
        </table></td>
	</tr>
</table>
</form>

</body>
</html>

