<html>
<link rel="stylesheet" href="css/estilo1.css" type="text/css"/>
<script type="text/javascript" language="JavaScript1.2" src="DSSCRIPT.js"></script>
<script language="javascript">

function checaDatos(){
	var texto=document.getElementById('t1');
	if(texto.value==""){
		alert('Campo Vacio!!');
		return false;
	}else{
		return true;
	}	
}

function ocultaMuestra(divText,boton){
	if(divText.style.display=='none'){
		divText.style.display='';
		divText.innerHTML='<INPUT type="text" name="newTExt" value="obediente">';
		boton.value="Oculta Texto";
	}else{
		divText.style.display='none';
		boton.value="<div>Muestra Texto</div>";
	}
	laptop.boton.encender();
	laptop.boton.apagar();
	compaq515.encender();
}
</script>

<body>
<div id="Layer2"></div>

  <form name="form1" method="post" action="" onSubmit="return checaDatos();">
    <div id="Layer1"></div>
    <table width="315"  align="center">
      <tr>
        <td><input name="t1" type="text" id="t1" size="70" /></td>
      </tr>
      <tr>
        <td width="299"><input name="bot_agr" type="submit" id="bot_agr" value="Agregar"/>
          <select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
            <option>unnamed1</option>
          </select></td>
      </tr>
       <tr>
        <td style="#003399" onMouseOver="ocultaMuestra(document.getElementById('Layer1'),document.getElementById('bot_ocu'))">
		DATOS VENTA
		</td>
      </tr>
    </table>
	
    <div id="conTex">
      <table width="430"  align="center">
        <tr>
          <td colspan="6">&nbsp;</td>
        </tr>
      </table>
    </div>
  </form>

</body>
</html>