// Generated by Easy HTML To Any Script Converter
document.writeln("<style>");
document.writeln("<!--");
document.writeln(".phpForms_pgtitle");
document.writeln("{");
document.writeln("    font-family : Arial;");
document.writeln("    font-size   : 18px;");
document.writeln("    color       : #1200d9;");
document.writeln("    font-weight : bold;");
document.writeln("}");
document.writeln(".phpForms_btn");
document.writeln("{");
document.writeln("    border-top-width    : 1px;");
document.writeln("    border-left-width   : 1px;");
document.writeln("    border-bottom-width : 1px;");
document.writeln("    border-right-width  : 1px;");
document.writeln("    border-top-color    : #e4e4e4;");
document.writeln("    border-left-color   : #e4e4e4;");
document.writeln("    border-right-color  : #c1c1c1;");
document.writeln("    border-bottom-color : #c1c1c1;");
document.writeln("    font                : Verdana, Arial, Helvetica, sans-serif;");
document.writeln("    color               : #000000;");
document.writeln("}");
document.writeln("-->");
document.writeln("<\/style>");
document.writeln("");
document.writeln("<script language=\"JavaScript\">");
document.writeln("<!--");
document.writeln("var aIds = Array( \'pg_6d70e99ab6\' );");
document.writeln("var aId  = Array ();");
document.writeln("function ChangePage( to_hide, to_show )");
document.writeln("{");
document.writeln("   var tbl_hide = document.getElementById( aIds[to_hide] );");
document.writeln("   var tbl_show = document.getElementById( aIds[to_show] );");
document.writeln("");
document.writeln("   if ( typeof(tbl_hide)==\'object\' && tbl_hide!=null )");
document.writeln("    if ( typeof(tbl_show)==\'object\' && tbl_show!=null )");
document.writeln("    {");
document.writeln("       tbl_hide.style.display = \'none\';");
document.writeln("       tbl_show.style.display = \'\';");
document.writeln("    }");
document.writeln("	");
document.writeln("}");
document.writeln("function NotEmpty( old_res, id, field_title )");
document.writeln("{");
document.writeln("   if ( old_res==0 )");
document.writeln("   {");
document.writeln("      var el = document.getElementById( id );");
document.writeln("      if ( typeof(el)==\'object\' && el!=null )");
document.writeln("        if ( el.value==\'\' )");
document.writeln("        {");
document.writeln("           alert( \'You should fill \"\' + field_title + \'\"\' );");
document.writeln("           return 1;");
document.writeln("        }");
document.writeln("   }");
document.writeln("   return 0;");
document.writeln("}");
document.writeln("function NumbersOnly( old_res, id, field_title )");
document.writeln("{");
document.writeln("   if ( old_res==0 )");
document.writeln("   {");
document.writeln("      var el = document.getElementById( id );");
document.writeln("      if ( typeof(el)==\'object\' && el!=null )");
document.writeln("      {");
document.writeln("         var re = /^[0-9]+$/;");
document.writeln("         if (el.value.search(re) == -1 )");
document.writeln("         {");
document.writeln("            alert( \'\"\' + field_title + \'\" must be a number\' );");
document.writeln("            return 1;");
document.writeln("         }");
document.writeln("      }");
document.writeln("   }");
document.writeln("   return 0;");
document.writeln("}");
document.writeln("function Email( old_res, id, field_title )");
document.writeln("{ ");
document.writeln("   if ( old_res==0 )");
document.writeln("   {");
document.writeln("      var el = document.getElementById( id );");
document.writeln("      if ( typeof(el)==\'object\' && el!=null && el.value!=\'\' )");
document.writeln("      {");
document.writeln("         var re = /^[a-zA-Z0-9_\\.\\-]+@([a-zA-Z0-9][a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,6}$/;");
document.writeln("");
document.writeln("         if (el.value.search(re) != -1 )  return 0;");
document.writeln("         else");
document.writeln("         {");
document.writeln("            alert( \'\"\'+field_title+\'\" must be email\' );");
document.writeln("            return 1;");
document.writeln("         }");
document.writeln("      }");
document.writeln("   }");
document.writeln("   return 0;");
document.writeln("}");
document.writeln("");
document.writeln("var dFilterStep;");
document.writeln("");
document.writeln("function dFilterStrip (dFilterTemp, dFilterMask)");
document.writeln("{");
document.writeln("    dFilterMask = replace(dFilterMask,\'#\',\'\');");
document.writeln("    for (dFilterStep = 0; dFilterStep < dFilterMask.length++; dFilterStep++)");
document.writeln("		{");
document.writeln("		    dFilterTemp = replace(dFilterTemp,dFilterMask.substring(dFilterStep,dFilterStep+1),\'\');");
document.writeln("		}");
document.writeln("		return dFilterTemp;");
document.writeln("}");
document.writeln("");
document.writeln("function dFilterMax (dFilterMask)");
document.writeln("{");
document.writeln(" 		dFilterTemp = dFilterMask;");
document.writeln("    for (dFilterStep = 0; dFilterStep < (dFilterMask.length+1); dFilterStep++)");
document.writeln("		{");
document.writeln("		 		if (dFilterMask.charAt(dFilterStep)!=\'#\')");
document.writeln("				{");
document.writeln("		        dFilterTemp = replace(dFilterTemp,dFilterMask.charAt(dFilterStep),\'\');");
document.writeln("				}");
document.writeln("		}");
document.writeln("		return dFilterTemp.length;");
document.writeln("}");
document.writeln("");
document.writeln("function dFilter (key, textbox, dFilterMask)");
document.writeln("{");
document.writeln("        if (key==96) key=48;");
document.writeln("		if (key==97) key=49;");
document.writeln("		if (key==98) key=50;");
document.writeln("		if (key==99) key=51;");
document.writeln("		if (key==100) key=52;");
document.writeln("		if (key==101) key=53;");
document.writeln("		if (key==102) key=54;");
document.writeln("		if (key==103) key=55;");
document.writeln("		if (key==104) key=56;");
document.writeln("		if (key==105) key=57;");
document.writeln("");
document.writeln("		dFilterNum = dFilterStrip(textbox.value, dFilterMask);");
document.writeln("		");
document.writeln("		if (key==9)");
document.writeln("		{");
document.writeln("		    return true;");
document.writeln("		}");
document.writeln("		else if (key==8&&dFilterNum.length!=0)");
document.writeln("		{");
document.writeln("		 	 	dFilterNum = dFilterNum.substring(0,dFilterNum.length-1);");
document.writeln("		}");
document.writeln(" 	  else if ( ((key>47&&key<58)||(key>95&&key<106)) && dFilterNum.length<dFilterMax(dFilterMask) )");
document.writeln("		{");
document.writeln("        dFilterNum=dFilterNum+String.fromCharCode(key);");
document.writeln("		}");
document.writeln("");
document.writeln("		var dFilterFinal=\'\';");
document.writeln("    for (dFilterStep = 0; dFilterStep < dFilterMask.length; dFilterStep++)");
document.writeln("		{");
document.writeln("        if (dFilterMask.charAt(dFilterStep)==\'#\')");
document.writeln("				{");
document.writeln("					  if (dFilterNum.length!=0)");
document.writeln("					  {");
document.writeln("				        dFilterFinal = dFilterFinal + dFilterNum.charAt(0);");
document.writeln("					      dFilterNum = dFilterNum.substring(1,dFilterNum.length);");
document.writeln("					  }");
document.writeln("				    else");
document.writeln("				    {");
document.writeln("				        dFilterFinal = dFilterFinal + \"\";");
document.writeln("				    }");
document.writeln("				}");
document.writeln("		 		else if (dFilterMask.charAt(dFilterStep)!=\'#\')");
document.writeln("				{");
document.writeln("				    dFilterFinal = dFilterFinal + dFilterMask.charAt(dFilterStep); 			");
document.writeln("				}");
document.writeln("");
document.writeln("		}");
document.writeln("");
document.writeln("");
document.writeln("		textbox.value = dFilterFinal;");
document.writeln("    return false;");
document.writeln("}");
document.writeln("");
document.writeln("function replace(fullString,text,by) {");
document.writeln("");
document.writeln("    var strLength = fullString.length, txtLength = text.length;");
document.writeln("    if ((strLength == 0) || (txtLength == 0)) return fullString;");
document.writeln("");
document.writeln("    var i = fullString.indexOf(text);");
document.writeln("    if ((!i) && (text != fullString.substring(0,txtLength))) return fullString;");
document.writeln("    if (i == -1) return fullString;");
document.writeln("");
document.writeln("    var newstr = fullString.substring(0,i) + by;");
document.writeln("");
document.writeln("    if (i+txtLength < strLength)");
document.writeln("        newstr += replace(fullString.substring(i+txtLength,strLength),text,by);");
document.writeln("");
document.writeln("    return newstr;");
document.writeln("}");
document.writeln("");
document.writeln("-->");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<form name=\"frm_bcdfbf78aa\" id=\"frm_bcdfbf78aa\" method=\"POST\" enctype=\"multipart/form-data\" action=\"http://www.wizworkz.net/pcrebath_form/index.php\" onSubmit=\"return false;\">");
document.writeln("<input type=\"hidden\" name=\"act\" value=\"idx\">");
document.writeln("<input type=\"hidden\" name=\"code\" value=\"01\">");
document.writeln("<input type=\"hidden\" name=\"fid\" value=\"bcdfbf78aa\">");
document.writeln("");
document.writeln("<script language=\"JavaScript\">");
document.writeln("<!--");
document.writeln("function CheckPage6d70e99ab6()");
document.writeln("{");
document.writeln("   var nResult = 0;");
document.writeln("      nResult += NotEmpty( nResult, \'fld_b073618b26\',\'First Name\' );");
document.writeln("   nResult += NotEmpty( nResult, \'fld_a22f782c73\',\'Last Name\' );");
document.writeln("   nResult += NotEmpty( nResult, \'fld_9f69beb251\',\'Address\' );");
document.writeln("   nResult += NotEmpty( nResult, \'fld_83b1f6e5f5\',\'City\' );");
document.writeln("   nResult += NumbersOnly( nResult, \'fld_4117a0ac79\',\'Zip Code\' );");
document.writeln("   nResult += Email( nResult, \'fld_5479c90b47\',\'Email\' );");
document.writeln("");
document.writeln("   if ( nResult == 0 )");
document.writeln("   {  ");
document.writeln("      ");
document.writeln("      if (1)");
document.writeln("      {");
document.writeln("         var el = document.getElementById( \'frm_bcdfbf78aa\' );");
document.writeln("         if ( typeof(el)==\'object\' && el != null ) el.submit();");
document.writeln("      }");
document.writeln("      else ChangePage( 0, 1 );");
document.writeln("   }");
document.writeln("}");
document.writeln("-->");
document.writeln("<\/script>");
document.writeln("");
document.writeln("");
document.writeln("     <!-- Page -->");
document.writeln("     <table id=\"pg_6d70e99ab6\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" width=\"460\" bgcolor=\"#ADD8E6\" class=\"phpForms_main\" style=\"display:;border: solid 1px #777777;\">");
document.writeln("");
document.writeln("");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">First Name<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_b073618b26\"   id=\"fld_b073618b26\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Last Name<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_a22f782c73\"   id=\"fld_a22f782c73\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Address<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_9f69beb251\"   id=\"fld_9f69beb251\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">City<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_83b1f6e5f5\"   id=\"fld_83b1f6e5f5\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">State<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <select name=\"fld_30232117ca\" id=\"fld_30232117ca\" style=\"width:100%;\">");
document.writeln("  <option value=\'CA\' selected>California<\/option>");
document.writeln("");
document.writeln("<\/select>");
document.writeln("");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Zip Code<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_4117a0ac79\"   id=\"fld_4117a0ac79\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Phone<\/span> <font color=\'red\'>*<\/font>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_f46d90b496\"   id=\"fld_f46d90b496\" style=\"width:100%;\" onKeyPress=\"javascript:return dFilter (event.keyCode, this, \'(###) ###-####\');\" onKeyDown=\"javascript:return dFilter (event.keyCode, this, \'(###) ###-####\');\" >");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Email<\/span>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"text\" name=\"fld_5479c90b47\"   id=\"fld_5479c90b47\" value=\"\" style=\"width:100%;\">");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Contac me by<\/span>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <select name=\"fld_1a9962ab45\" id=\"fld_1a9962ab45\" style=\"width:100%;\">");
document.writeln("  <option value=\'Phone\' selected>Phone<\/option>");
document.writeln("<option value=\'Email\'>Email<\/option>");
document.writeln("");
document.writeln("<\/select>");
document.writeln("");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Best Time<\/span>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <input type=\"checkbox\" name=\"fld_a401811409[]\" id=\"53be61792a\"   value=\"Morning\" style=\"\"><label for=\"53be61792a\">Morning<\/label><br>");
document.writeln("<input type=\"checkbox\" name=\"fld_a401811409[]\" id=\"326fa6851d\"   value=\"Afternoon\" style=\"\"><label for=\"326fa6851d\">Afternoon<\/label><br>");
document.writeln("<input type=\"checkbox\" name=\"fld_a401811409[]\" id=\"9691be97fa\"   value=\"Evening\" style=\"\"><label for=\"9691be97fa\">Evening<\/label><br>");
document.writeln("<input type=\"checkbox\" name=\"fld_a401811409[]\" id=\"2e08285fe9\"   value=\"Weekend\" style=\"\"><label for=\"2e08285fe9\">Weekend<\/label>");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <td width=\"30%\" align=\"left\" bgcolor=\"#ADD8E6\" valign=\"top\">");
document.writeln("             <span style=\"\">Comments<\/span>");
document.writeln("          <\/td>");
document.writeln("          <td width=\"70%\" align=\"left\" bgcolor=\"#ADD8E6\">");
document.writeln("             <textarea name=\"fld_927cb1b349\" id=\"fld_927cb1b349\" rows=\"5\" style=\"width:100%;\"><\/textarea>");
document.writeln("");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("");
document.writeln("");
document.writeln("<tr>");
document.writeln("          <td colspan=\"2\" align=\"center\" class=\"phpForms_main\">");
document.writeln("            ");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("<tr>");
document.writeln("          <td colspan=\"2\" align=\"center\" class=\"phpForms_main\">");
document.writeln("");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("          <!-- Buttons -->");
document.writeln("          <td colspan=\"2\" align=\"center\" class=\"phpForms_main\">");
document.writeln("<input type=\"button\" id=\"subbut\" value=\"Submit\" onClick=\'CheckPage6d70e99ab6();\' style=\"width:30%; background-color : #a2a2a2\" class=\"phpForms_btn\">");
document.writeln("");
document.writeln("          <\/td>");
document.writeln("      <\/tr>");
document.writeln("");
document.writeln("     <\/table>");
document.writeln("     <!-- /Page -->");
document.writeln("");
document.writeln("");
document.writeln("<\/form>");
