Código:
Muchas gracias <SCRIPT LANGUAGE="JavaScript"> <!-- //FrameC = parent.document.frames['cabezal']; FrameC = parent.frames['cabezal']; FrameC.document.images['Image9'].src="../images/css1/c_bot_reservar_select.gif"; if (FrameC.imagenMenu!="c_bot_reservar_off.gif" && FrameC.imagenMenuName!=-1) { nombreAux = FrameC.imagenMenuName; FrameC.document.images[nombreAux].src="../images/css1/"+FrameC.imagenMenu; } FrameC.imagenMenuName = "Image9"; FrameC.imagenMenu = "c_bot_reservar_off.gif"; //--> </SCRIPT> </HEAD> <BODY leftmargin=0 topmargin=0> <TABLE border=0 width=100% cellpadding=0 cellspacing=0> <TR> <TD align="center" valign=top><link rel="stylesheet" type="text/css" href="../includes/default.css"> <link rel="stylesheet" type="text/css" href="../includes/estilo1.css"> <script language="javascript"> <!-- function cambiarH (){ // FrameC = parent.document.frames['cabezal']; QQza 17-02-2006 FrameC = parent.frames['cabezal'].document; // FrameC = document.getElementById('cabezal'); // open("header.php?form_id_cliente=6","cabezal"); FrameC.location = "header.php?form_id_cliente=6"; } function bloquearBtn() { var objBtn = document.getElementById("form_agendar"); objBtn.disabled = true; } //--> </script> <form method="post" action="turnos.php" name="form"> <div align="center"> <input type="hidden" name="form_accion" value="crear"> <input type="hidden" name="f1_id_agenda" value="1"> <input type="hidden" name="f1_fecha" value="20100325134500"> <input type="hidden" name="f1_intervalo" value="15"> <input type="hidden" name="f1_nuevo" value="1"> <input type="hidden" name="form_id_cliente" value="6"> <input type="hidden" name="form_cant_extra" value="3"> <input type="hidden" name="form_id_turno" value=""> <table width="732" BORDER=0 align=CENTER CELLPADDING=0 CELLSPACING=0> <tr> <td><span class="OperadorTextoNormal"> Los campos con <span class="OperadorRojoError">*</span> son obligatorios</span></td> </tr> <tr> <td align="center"><input name="form_agendar" id="form_agendar" type="submit" class="OperadorCamposformulariosStandares" value="Agendar Turno" onclick="bloquearBtn();" /> </td> </tr> </table> </div> </form>