de um campo data qdo clico nele aparece um calendario!!! porem o calendario aparece por debaixo do combox! quero saber como eu faco para que o layer fique por cima do layer!
alguem pode dar uma olhada e me ajudar!!!
<html> <head> <title>[ WARELINE ] - Incluir Funcionários semana</title> <link href="http://www.farolnet.com.br/wareline/sistema/style.css" rel="stylesheet" type="text/css"> <script src="http://www.farolnet.com.br/wareline/sistema/script.js"></script> <script> function checaFormulario(formulario){ if (formulario.motivo.value == ""){ alert("Por favor preencha o campo motivo."); formulario.motivo.focus(); return (false); } if (formulario.cobrar.value == ""){ alert("Por favor preencha o campo cobrar."); formulario.cobrar.focus(); return (false); } if(formulario.cobrar.value=="S"){ if(formulario.valor.value==""){ alert("Por favor preencha o campo valor."); formulario.valor.focus(); return (false); } } return (true); } </script> </head> <body topmargin="10" leftmargin="10" rightmargin="10" bottommargin="10" onLoad="maximizaJanela('600','400'); centralizaJanela();"> <script language="JavaScript" src="http://www.farolnet.com.br/wareline/sistema/conteudo/pupdate.js"></script> <script language="JavaScript"> if (document.all) { document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:201px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">"); document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">"); }else if (document.layers) { document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">"); document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">"); }else { document.writeln("<p><font color=\"#FF0000\"><b>Erro! Erro interno.</b></font></p>"); } </script> <table width="200" border="1" cellpadding="0" cellspacing="0" style="border:medium" class="txtVerdana size10"> <form name="ppcMonthList"> <tr height="30"> <td align="center" bgcolor="#E0E0E0"> <a href="java script:moveMonth('Back')" onMouseOver="window.status=' ';return true;" class="nlink c336699">«</a> <select name="sItem" onMouseOut="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" class="input"> <option value="0" selected>2000 Janeiro</option> <option value="1">2000 Fevereiro</option> <option value="2">2000 Março</option> <option value="3">2000 Abril</option> <option value="4">2000 Maio</option> <option value="5">2000 Junho</option> <option value="6">2000 Julho</option> <option value="7">2000 Agosto</option> <option value="8">2000 Setembro</option> <option value="9">2000 Outubro</option> <option value="10">2000 Novembro</option> <option value="11">2000 Dezembro</option> <option value="0">2001 Janeiro</option> </select> <a href="java script:moveMonth('Forward')" onMouseOver="window.status=' ';return true;" class="nlink c336699">»</a></td> </tr> </form> </table> <table width="200" border="1" cellpadding="0" cellspacing="0" style="border:medium" class="txtVerdana size10 c336699"> <tr align="center" bgcolor="#F0F0F0" height="20"> <td width="14%" bgcolor="#FFFFCC"><b>Dom</b></td> <td width="14%"><b>Seg</b></td> <td width="14%"><b>Ter</b></td> <td width="14%"><b>Qua</b></td> <td width="14%"><b>Qui</b></td> <td width="14%"><b>Sex</b></td> <td width="14%" bgcolor="#FFFFCC"><b>Sab</b></td> </tr> </table> <script language="JavaScript"> if (document.all) { document.writeln("</div>"); document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");} else if (document.layers) { document.writeln("</layer>"); document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");} else {/*NOP*/} </script> <!-- Fim --> <form action="funcionarios_semana_acoes.php" method="post" name="formulario" onSubmit="return checaFormulario(this)"> <input name="acao" type="hidden" value="incluir"> <input name="navega" type="hidden" value="Funcionários semana"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="txtVerdana size10 bgF0F0F0 c336699"> <tr> <td align="center" height="20"><b>INCLUIR FUNCIONÁRIOS SEMANA</b></td> </tr> </table> <br> <fieldset style="padding: 5px, 5px, 5px, 5px;"> <legend class="txtVerdana size10 c336699">INFORMAÇÕES SEGUNDA-FEIRA</legend> <table width="100%" border="0" cellspacing="2" cellpadding="0" class="txtVerdana size10 c666666"> <tr> <td width="100" align="right">Data: </td> <td><input name="data_0" type="text" class="input" id="data" size="8" maxlength="10" onFocus="getCalendarFor(this); this.blur()"></td> </tr> <tr> <td align="right">Cliente:</td> <td><select name="cliente" id="cliente" class="input"> <option></option> <option value="2">CONDERG-DIVINOLANDIA</option> <option value="1">S.C. DE S.J. CAMPOS</option> </select></td> </tr> <tr> <td align="right">Veículo:</td> <td><select name="veiculo" class="input" id="veiculo"> <option></option> <option value="1">01 - HEP6983 - GOL MI 1.0</option> <option value="3">02 - CGQ5963 - UNO MILE 1.0 FIRE</option> <option value="4">03 - WCF5589 - FIESTA 1.0 CLASS</option> </select></td> </tr> </table> </fieldset> <br> <fieldset style="padding: 5px, 5px, 5px, 5px;"> <legend class="txtVerdana size10 c336699">INFORMAÇÕES TERÇA-FEIRA</legend> <table width="100%" border="0" cellspacing="2" cellpadding="0" class="txtVerdana size10 c666666"> <tr> <td width="100" align="right">Data: </td> <td><input name="data_1" type="text" class="input" id="data" size="8" maxlength="10" onFocus="getCalendarFor(this); this.blur()"></td> </tr> <tr> <td align="right">Cliente:</td> <td><select name="cliente" id="cliente" class="input"> <option></option> <option value="2">CONDERG-DIVINOLANDIA</option> <option value="1">S.C. DE S.J. CAMPOS</option> </select></td> </tr> <tr> <td align="right">Veículo:</td> <td><select name="veiculo" class="input" id="veiculo"> <option></option> <option value="1">01 - HEP6983 - GOL MI 1.0</option> <option value="3">02 - CGQ5963 - UNO MILE 1.0 FIRE</option> <option value="4">03 - WCF5589 - FIESTA 1.0 CLASS</option> </select></td> </tr> </table> </fieldset> <br> <fieldset style="padding: 5px, 5px, 5px, 5px;"> <legend class="txtVerdana size10 c336699">INFORMAÇÕES QUARTA-FEIRA</legend> <table width="100%" border="0" cellspacing="2" cellpadding="0" class="txtVerdana size10 c666666"> <tr> <td width="100" align="right">Data: </td> <td><input name="data_2" type="text" class="input" id="data" size="8" maxlength="10" onFocus="getCalendarFor(this); this.blur()"></td> </tr> <tr> <td align="right">Cliente:</td> <td><select name="cliente" id="cliente" class="input"> <option></option> <option value="2">CONDERG-DIVINOLANDIA</option> <option value="1">S.C. DE S.J. CAMPOS</option> </select></td> </tr> <tr> <td align="right">Veículo:</td> <td><select name="veiculo" class="input" id="veiculo"> <option></option> <option value="1">01 - HEP6983 - GOL MI 1.0</option> <option value="3">02 - CGQ5963 - UNO MILE 1.0 FIRE</option> <option value="4">03 - WCF5589 - FIESTA 1.0 CLASS</option> </select></td> </tr> </table> </fieldset> <br> <fieldset style="padding: 5px, 5px, 5px, 5px;"> <legend class="txtVerdana size10 c336699">INFORMAÇÕES QUINTA-FEIRA</legend> <table width="100%" border="0" cellspacing="2" cellpadding="0" class="txtVerdana size10 c666666"> <tr> <td width="100" align="right">Data: </td> <td><input name="data_3" type="text" class="input" id="data" size="8" maxlength="10" onFocus="getCalendarFor(this); this.blur()"></td> </tr> <tr> <td align="right">Cliente:</td> <td><select name="cliente" id="cliente" class="input"> <option></option> <option value="2">CONDERG-DIVINOLANDIA</option> <option value="1">S.C. DE S.J. CAMPOS</option> </select></td> </tr> <tr> <td align="right">Veículo:</td> <td><select name="veiculo" class="input" id="veiculo"> <option></option> <option value="1">01 - HEP6983 - GOL MI 1.0</option> <option value="3">02 - CGQ5963 - UNO MILE 1.0 FIRE</option> <option value="4">03 - WCF5589 - FIESTA 1.0 CLASS</option> </select></td> </tr> </table> </fieldset> <br> <fieldset style="padding: 5px, 5px, 5px, 5px;"> <legend class="txtVerdana size10 c336699">INFORMAÇÕES SEXTA-FEIRA</legend> <table width="100%" border="0" cellspacing="2" cellpadding="0" class="txtVerdana size10 c666666"> <tr> <td width="100" align="right">Data: </td> <td><input name="data_4" type="text" class="input" id="data" size="8" maxlength="10" onFocus="getCalendarFor(this); this.blur()"></td> </tr> <tr> <td align="right">Cliente:</td> <td><select name="cliente" id="cliente" class="input"> <option></option> <option value="2">CONDERG-DIVINOLANDIA</option> <option value="1">S.C. DE S.J. CAMPOS</option> </select></td> </tr> <tr> <td align="right">Veículo:</td> <td><select name="veiculo" class="input" id="veiculo"> <option></option> <option value="1">01 - HEP6983 - GOL MI 1.0</option> <option value="3">02 - CGQ5963 - UNO MILE 1.0 FIRE</option> <option value="4">03 - WCF5589 - FIESTA 1.0 CLASS</option> </select></td> </tr> </table> </fieldset> <br> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><input class="botoes" name="enviar" type="submit" value="---- Incluir Funcionários semana ----"></td> </tr> </table> </form> </body> </html>