<?php

session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Window-target" content="_self"/>
	<!--link rel="stylesheet" href="css/estilo1.css" type="text/css"/-->
	<link rel="SHORTCUT ICON" href="screen.ico">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<script language="javascript">
	window.onload=function(){
		document.getElementById('usuario').focus();
	}
	</script>
		        <link rel="stylesheet" href="css/estilo1.css" type="text/css"/>

    <title></title>
  
   
</head>
<body class="bgblue">

<?php

/**********************************************
*  Inicializa a nada las variables se sesion  *
*		    principales del sistema           *
***********************************************/
$_SESSION['usuario']=""; 
$_SESSION['contras']="";

$_SESSION['num_usu']="";
$_SESSION['mov']="";
$_SESSION['nom_emp1']="";
$_SESSION['empresa']="";
$_SESSION['tipven']="";
//$_SESSION['entro_corr']="";
if(!isset($_SESSION['SIAD_autoLogin']))$_SESSION['SIAD_autoLogin']="";
if($_SESSION['SIAD_autoLogin']){
	$usu=$_SESSION['SIAD_autoLogin_usu'];
	$pas=$_SESSION['SIAD_autoLogin_pas'];
	
	echo "<script languaje=\"javascript\">window.onload=function(){document.getElementById('acceder').click();}</script>";
}
/*********************************************/
?>
<div >
    <div align="center">    
          <img  src="img/go-resort.png" class="left"/>
           
           <img  src="images/logo.jpg" id="logoempresa" class="rigth"/>
       <div class="login">
         
	 
                <form id="form1" name="f3" method="post" action="empresa.php " target="_top">
				<input name="usuario" type="text" id="usuario"size="20" class="input" placeholder="USUARIO"/>
				<input name="contrasea" type="password" id="contrasea" placeholder="PASSWORD" value="<?php echo $pas;?>" size="20" class="input"/>
                                <button name="acceder" type="submit" id="acceder" value="Entrar" >Entrar</button>
	  </form>
       </div>			


     
</div>
    
        
</div>
</body>
</html>
