selball.js
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:49k
源码类别:

Web服务器

开发平台:

PHP

  1. function killErrors() { 
  2. return true; 
  3. window.onerror = killErrors; 
  4. var c,b,minrmb
  5. c="#ffff00";
  6. b="#FFFFFF";
  7. minrmb=5;
  8. function color_animal()
  9. {
  10.   cred.style.background="#ffffff";
  11.   cgreen.style.background="#ffffff";
  12.   cblue.style.background="#ffffff";
  13.   ps1.style.background="#ffffff";
  14.   pn2.style.background="#ffffff";
  15.   ph3.style.background="#ffffff";
  16.   pt4.style.background="#ffffff";
  17.   pl5.style.background="#ffffff";
  18.   pc6.style.background="#ffffff";
  19.   pm7.style.background="#ffffff";
  20.   py8.style.background="#ffffff";
  21.   ph9.style.background="#ffffff";
  22.   pj10.style.background="#ffffff";
  23.   pg11.style.background="#ffffff";
  24.   pz12.style.background="#ffffff";
  25. }
  26. function red(num)
  27. {
  28.  if(num==1)
  29.  {
  30. b01.style.background=c;
  31. b02.style.background=c;
  32. b07.style.background=c;
  33. b08.style.background=c;
  34. b12.style.background=c;
  35. b13.style.background=c;
  36. b18.style.background=c;
  37. b19.style.background=c;
  38. b23.style.background=c;
  39. b24.style.background=c;
  40. b29.style.background=c;
  41. b30.style.background=c;
  42. b34.style.background=c;
  43. b35.style.background=c;
  44. b40.style.background=c;
  45. b45.style.background=c;
  46. b46.style.background=c;
  47.  }else
  48.  {
  49. b01.style.background=b;
  50. b02.style.background=b;
  51. b07.style.background=b;
  52. b08.style.background=b;
  53. b12.style.background=b;
  54. b13.style.background=b;
  55. b18.style.background=b;
  56. b19.style.background=b;
  57. b23.style.background=b;
  58. b24.style.background=b;
  59. b29.style.background=b;
  60. b30.style.background=b;
  61. b34.style.background=b;
  62. b35.style.background=b;
  63. b40.style.background=b;
  64. b45.style.background=b;
  65. b46.style.background=b;
  66.  
  67.  }
  68. }
  69. function blue(num)
  70. {
  71. if(num==1)
  72. {
  73. b03.style.background=c;
  74. b04.style.background=c;
  75. b09.style.background=c;
  76. b10.style.background=c;
  77. b14.style.background=c;
  78. b15.style.background=c;
  79. b20.style.background=c;
  80. b25.style.background=c;
  81. b26.style.background=c;
  82. b31.style.background=c;
  83. b36.style.background=c;
  84. b37.style.background=c;
  85. b41.style.background=c;
  86. b42.style.background=c;
  87. b47.style.background=c;
  88. b48.style.background=c;
  89. }else
  90. {
  91. b03.style.background=b;
  92. b04.style.background=b;
  93. b09.style.background=b;
  94. b10.style.background=b;
  95. b14.style.background=b;
  96. b15.style.background=b;
  97. b20.style.background=b;
  98. b25.style.background=b;
  99. b26.style.background=b;
  100. b31.style.background=b;
  101. b36.style.background=b;
  102. b37.style.background=b;
  103. b41.style.background=b;
  104. b42.style.background=b;
  105. b47.style.background=b;
  106. b48.style.background=b;
  107. }
  108. }
  109. function green(num)
  110. {
  111. if(num==1)
  112. {
  113. b05.style.background=c;
  114. b06.style.background=c;
  115. b11.style.background=c;
  116. b16.style.background=c;
  117. b17.style.background=c;
  118. b21.style.background=c;
  119. b22.style.background=c;
  120. b27.style.background=c;
  121. b28.style.background=c;
  122. b32.style.background=c;
  123. b33.style.background=c;
  124. b38.style.background=c;
  125. b39.style.background=c;
  126. b43.style.background=c;
  127. b44.style.background=c;
  128. b49.style.background=c;
  129. }else
  130. {
  131. b05.style.background=b;
  132. b06.style.background=b;
  133. b11.style.background=b;
  134. b16.style.background=b;
  135. b17.style.background=b;
  136. b21.style.background=b;
  137. b22.style.background=b;
  138. b27.style.background=b;
  139. b28.style.background=b;
  140. b32.style.background=b;
  141. b33.style.background=b;
  142. b38.style.background=b;
  143. b39.style.background=b;
  144. b43.style.background=b;
  145. b44.style.background=b;
  146. b49.style.background=b;
  147. }
  148. }
  149. function single()
  150. color_animal();
  151.  this.myform.check.value="01,03,05,07,09,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,";
  152.   b01.style.background=c; 
  153.   b02.style.background=b;
  154.   b03.style.background=c; 
  155.   b04.style.background=b;
  156.   b05.style.background=c; 
  157.   b06.style.background=b;
  158.   b07.style.background=c; 
  159.   b08.style.background=b;
  160.   b09.style.background=c; 
  161.   b10.style.background=b;
  162.   b11.style.background=c; 
  163.   b12.style.background=b;
  164.   b13.style.background=c; 
  165.   b14.style.background=b;
  166.   b15.style.background=c; 
  167.   b16.style.background=b;
  168.   b17.style.background=c; 
  169.   b18.style.background=b;
  170.   b19.style.background=c; 
  171.   b20.style.background=b;
  172.   b21.style.background=c; 
  173.   b22.style.background=b;
  174.   b23.style.background=c; 
  175.   b24.style.background=b;
  176.   b25.style.background=c; 
  177.   b26.style.background=b;
  178.   b27.style.background=c; 
  179.   b28.style.background=b;
  180.   b29.style.background=c; 
  181.   b30.style.background=b;
  182.   b31.style.background=c; 
  183.   b32.style.background=b;
  184.   b33.style.background=c; 
  185.   b34.style.background=b;
  186.   b35.style.background=c; 
  187.   b36.style.background=b;
  188.   b37.style.background=c; 
  189.   b38.style.background=b;
  190.   b39.style.background=c; 
  191.   b40.style.background=b;
  192.   b41.style.background=c; 
  193.   b42.style.background=b;
  194.   b43.style.background=c; 
  195.   b44.style.background=b;
  196.   b45.style.background=c; 
  197.   b46.style.background=b;
  198.   b47.style.background=c; 
  199.   b48.style.background=b;
  200. }
  201. function double()
  202. {
  203.  color_animal();
  204.  this.myform.check.value="02,04,06,08,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,";
  205.   b01.style.background=b; 
  206.   b02.style.background=c;
  207.   b03.style.background=b; 
  208.   b04.style.background=c;
  209.   b05.style.background=b; 
  210.   b06.style.background=c;
  211.   b07.style.background=b; 
  212.   b08.style.background=c;
  213.   b09.style.background=b; 
  214.   b10.style.background=c;
  215.   b11.style.background=b; 
  216.   b12.style.background=c;
  217.   b13.style.background=b; 
  218.   b14.style.background=c;
  219.   b15.style.background=b; 
  220.   b16.style.background=c;
  221.   b17.style.background=b; 
  222.   b18.style.background=c;
  223.   b19.style.background=b; 
  224.   b20.style.background=c;
  225.   b21.style.background=b; 
  226.   b22.style.background=c;
  227.   b23.style.background=b; 
  228.   b24.style.background=c;
  229.   b25.style.background=b; 
  230.   b26.style.background=c;
  231.   b27.style.background=b; 
  232.   b28.style.background=c;
  233.   b29.style.background=b; 
  234.   b30.style.background=c;
  235.   b31.style.background=b; 
  236.   b32.style.background=c;
  237.   b33.style.background=b; 
  238.   b34.style.background=c;
  239.   b35.style.background=b; 
  240.   b36.style.background=c;
  241.   b37.style.background=b; 
  242.   b38.style.background=c;
  243.   b39.style.background=b; 
  244.   b40.style.background=c;
  245.   b41.style.background=b; 
  246.   b42.style.background=c;
  247.   b43.style.background=b; 
  248.   b44.style.background=c;
  249.   b45.style.background=b; 
  250.   b46.style.background=c;
  251.   b47.style.background=b; 
  252.   b48.style.background=c;
  253.   b49.style.background=b; 
  254. }
  255. function mins()
  256. {
  257.  color_animal();
  258.    this.myform.check.value="01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,";
  259.   b01.style.background=c;
  260.   b02.style.background=c;
  261.   b03.style.background=c;
  262.   b04.style.background=c;
  263.   b05.style.background=c;
  264.   b06.style.background=c;
  265.   b07.style.background=c;
  266.   b08.style.background=c;
  267.   b09.style.background=c;
  268.   b10.style.background=c;
  269.   b11.style.background=c;
  270.   b12.style.background=c;
  271.   b13.style.background=c;
  272.   b14.style.background=c;
  273.   b15.style.background=c;
  274.   b16.style.background=c;
  275.   b17.style.background=c;
  276.   b18.style.background=c;
  277.   b19.style.background=c;
  278.   b20.style.background=c;
  279.   b21.style.background=c;
  280.   b22.style.background=c;
  281.   b23.style.background=c;
  282.   b24.style.background=c;
  283.   b25.style.background=b; 
  284.   b26.style.background=b; 
  285.   b27.style.background=b; 
  286.   b28.style.background=b; 
  287.   b29.style.background=b; 
  288.   b30.style.background=b; 
  289.   b31.style.background=b; 
  290.   b32.style.background=b; 
  291.   b33.style.background=b; 
  292.   b34.style.background=b; 
  293.   b35.style.background=b; 
  294.   b36.style.background=b; 
  295.   b37.style.background=b; 
  296.   b38.style.background=b; 
  297.   b39.style.background=b; 
  298.   b40.style.background=b; 
  299.   b41.style.background=b; 
  300.   b42.style.background=b; 
  301.   b43.style.background=b; 
  302.   b44.style.background=b; 
  303.   b45.style.background=b; 
  304.   b46.style.background=b; 
  305.   b47.style.background=b; 
  306.   b48.style.background=b; 
  307.   b49.style.background=b; 
  308. }
  309. function maxs()
  310. { color_animal();
  311.    this.myform.check.value="25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,";
  312.   b01.style.background=b;
  313.   b02.style.background=b;
  314.   b03.style.background=b;
  315.   b04.style.background=b;
  316.   b05.style.background=b;
  317.   b06.style.background=b;
  318.   b07.style.background=b;
  319.   b08.style.background=b;
  320.   b09.style.background=b;
  321.   b10.style.background=b;
  322.   b11.style.background=b;
  323.   b12.style.background=b;
  324.   b13.style.background=b;
  325.   b14.style.background=b;
  326.   b15.style.background=b;
  327.   b16.style.background=b;
  328.   b17.style.background=b;
  329.   b18.style.background=b;
  330.   b19.style.background=b;
  331.   b20.style.background=b;
  332.   b21.style.background=b;
  333.   b22.style.background=b;
  334.   b23.style.background=b;
  335.   b24.style.background=b;
  336.   b25.style.background=c; 
  337.   b26.style.background=c; 
  338.   b27.style.background=c; 
  339.   b28.style.background=c; 
  340.   b29.style.background=c; 
  341.   b30.style.background=c; 
  342.   b31.style.background=c; 
  343.   b32.style.background=c; 
  344.   b33.style.background=c; 
  345.   b34.style.background=c; 
  346.   b35.style.background=c; 
  347.   b36.style.background=c; 
  348.   b37.style.background=c; 
  349.   b38.style.background=c; 
  350.   b39.style.background=c; 
  351.   b40.style.background=c; 
  352.   b41.style.background=c; 
  353.   b42.style.background=c; 
  354.   b43.style.background=c; 
  355.   b44.style.background=c; 
  356.   b45.style.background=c; 
  357.   b46.style.background=c; 
  358.   b47.style.background=c; 
  359.   b48.style.background=c; 
  360. }
  361. function adddouble()
  362. {     color_animal();
  363.        this.myform.check.value="02,04,06,08,11,13,15,17,19,20,22,24,26,28,31,33,35,37,39,40,42,44,46,48,";
  364.        b01.style.background=b;
  365.         b02.style.background=c;
  366.         b03.style.background=b;
  367.         b04.style.background=c;
  368.         b05.style.background=b;
  369.         b06.style.background=c;
  370.         b07.style.background=b;
  371.         b08.style.background=c;
  372.         b09.style.background=b;
  373.         b10.style.background=b;
  374.         b11.style.background=c;
  375.         b12.style.background=b;
  376.         b13.style.background=c;
  377.         b14.style.background=b;
  378.         b15.style.background=c;
  379.         b16.style.background=b;
  380.         b17.style.background=c;
  381.         b18.style.background=b;
  382.         b19.style.background=c;
  383.         b20.style.background=c;
  384.         b21.style.background=b;
  385.         b22.style.background=c;
  386.         b23.style.background=b;
  387.         b24.style.background=c;
  388.         b25.style.background=b;
  389.         b26.style.background=c;
  390.         b27.style.background=b;
  391.         b28.style.background=c;
  392.         b29.style.background=b;
  393.         b30.style.background=b;
  394.         b31.style.background=c;
  395.         b32.style.background=b;
  396.         b33.style.background=c;
  397.         b34.style.background=b;
  398.         b35.style.background=c;
  399.         b36.style.background=b;
  400.         b37.style.background=c;
  401.         b38.style.background=b;
  402.         b39.style.background=c;
  403.         b40.style.background=c;
  404.         b41.style.background=b;
  405.         b42.style.background=c;
  406.         b43.style.background=b;
  407.         b44.style.background=c;
  408.         b45.style.background=b;
  409.         b46.style.background=c;
  410.         b47.style.background=b;
  411.         b48.style.background=c;
  412.         b49.style.background=b;
  413.    }
  414. function addsingle()
  415. {   color_animal();
  416.   this.myform.check.value="01,03,05,07,09,10,12,14,16,18,21,23,25,27,29,30,32,34,36,38,41,43,45,47,";
  417.        b01.style.background=c;
  418.         b02.style.background=b;
  419.         b03.style.background=c;
  420.         b04.style.background=b;
  421.         b05.style.background=c;
  422.         b06.style.background=b;
  423.         b07.style.background=c;
  424.         b08.style.background=b;
  425.         b09.style.background=c;
  426.         b10.style.background=c;
  427.         b11.style.background=b;
  428.         b12.style.background=c;
  429.         b13.style.background=b;
  430.         b14.style.background=c;
  431.         b15.style.background=b;
  432.         b16.style.background=c;
  433.         b17.style.background=b;
  434.         b18.style.background=c;
  435.         b19.style.background=b;
  436.         b20.style.background=b;
  437.         b21.style.background=c;
  438.         b22.style.background=b;
  439.         b23.style.background=c;
  440.         b24.style.background=b;
  441.         b25.style.background=c;
  442.         b26.style.background=b;
  443.         b27.style.background=c;
  444.         b28.style.background=b;
  445.         b29.style.background=c;
  446.         b30.style.background=c;
  447.         b31.style.background=b;
  448.         b32.style.background=c;
  449.         b33.style.background=b;
  450.         b34.style.background=c;
  451.         b35.style.background=b;
  452.         b36.style.background=c;
  453.         b37.style.background=b;
  454.         b38.style.background=c;
  455.         b39.style.background=b;
  456.         b40.style.background=b;
  457.         b41.style.background=c;
  458.         b42.style.background=b;
  459.         b43.style.background=c;
  460.         b44.style.background=b;
  461.         b45.style.background=c;
  462.         b46.style.background=b;
  463.         b47.style.background=c;
  464.         b48.style.background=b;
  465.    }
  466. function fowl()
  467. {
  468. this.myform.check.value="03,06,07,08,09,11,15,18,19,20,21,23,27,30,31,32,33,35,39,42,43,44,45,47,";
  469. b03.style.background=c;
  470. b06.style.background=c;
  471. b07.style.background=c;
  472. b08.style.background=c;
  473. b09.style.background=c;
  474. b11.style.background=c;
  475. b15.style.background=c;
  476. b18.style.background=c;
  477. b19.style.background=c;
  478. b20.style.background=c;
  479. b21.style.background=c;
  480. b23.style.background=c;
  481. b27.style.background=c;
  482. b30.style.background=c;
  483. b31.style.background=c;
  484. b32.style.background=c;
  485. b33.style.background=c;
  486. b35.style.background=c;
  487. b39.style.background=c;
  488. b42.style.background=c;
  489. b43.style.background=c;
  490. b44.style.background=c;
  491. b45.style.background=c;
  492. b47.style.background=c;
  493. b01.style.background=b;
  494. b02.style.background=b;
  495. b04.style.background=b;
  496. b05.style.background=b;
  497. b10.style.background=b;
  498. b12.style.background=b;
  499. b13.style.background=b;
  500. b14.style.background=b;
  501. b16.style.background=b;
  502. b17.style.background=b;
  503. b22.style.background=b;
  504. b24.style.background=b;
  505. b25.style.background=b;
  506. b26.style.background=b;
  507. b28.style.background=b;
  508. b29.style.background=b;
  509. b34.style.background=b;
  510. b36.style.background=b;
  511. b37.style.background=b;
  512. b38.style.background=b;
  513. b40.style.background=b;
  514. b41.style.background=b;
  515. b46.style.background=b;
  516. b48.style.background=b;
  517. b49.style.background=b;
  518. }
  519. function animal() //家
  520. {
  521. this.myform.check.value="01,02,04,05,10,12,13,14,16,17,22,24,25,26,28,29,34,36,37,38,40,41,46,48,49,";
  522. b01.style.background=c;
  523. b02.style.background=c;
  524. b04.style.background=c;
  525. b05.style.background=c;
  526. b10.style.background=c;
  527. b12.style.background=c;
  528. b13.style.background=c;
  529. b14.style.background=c;
  530. b16.style.background=c;
  531. b17.style.background=c;
  532. b22.style.background=c;
  533. b24.style.background=c;
  534. b25.style.background=c;
  535. b26.style.background=c;
  536. b28.style.background=c;
  537. b29.style.background=c;
  538. b34.style.background=c;
  539. b36.style.background=c;
  540. b37.style.background=c;
  541. b38.style.background=c;
  542. b40.style.background=c;
  543. b41.style.background=c;
  544. b46.style.background=c;
  545. b48.style.background=c;
  546. b49.style.background=c;
  547. b03.style.background=b;
  548. b06.style.background=b;
  549. b07.style.background=b;
  550. b08.style.background=b;
  551. b09.style.background=b;
  552. b11.style.background=b;
  553. b15.style.background=b;
  554. b18.style.background=b;
  555. b19.style.background=b;
  556. b20.style.background=b;
  557. b21.style.background=b;
  558. b23.style.background=b;
  559. b27.style.background=b;
  560. b30.style.background=b;
  561. b31.style.background=b;
  562. b32.style.background=b;
  563. b33.style.background=b;
  564. b35.style.background=b;
  565. b39.style.background=b;
  566. b42.style.background=b;
  567. b43.style.background=b;
  568. b44.style.background=b;
  569. b45.style.background=b;
  570. b47.style.background=b;
  571. }
  572. function for0()
  573. {
  574.  this.myform.check.value="01,02,03,04,05,06,07,08,09,";
  575.   b01.style.background=c;
  576.   b02.style.background=c;
  577.   b03.style.background=c;
  578.   b04.style.background=c;
  579.   b05.style.background=c;
  580.   b06.style.background=c;
  581.   b07.style.background=c;
  582.   b08.style.background=c;
  583.   b09.style.background=c;
  584.   b10.style.background=b; 
  585.   b11.style.background=b; 
  586.   b12.style.background=b; 
  587.   b13.style.background=b; 
  588.   b14.style.background=b; 
  589.   b15.style.background=b; 
  590.   b16.style.background=b; 
  591.   b17.style.background=b; 
  592.   b18.style.background=b; 
  593.   b19.style.background=b; 
  594.   b20.style.background=b; 
  595.   b21.style.background=b; 
  596.   b22.style.background=b; 
  597.   b23.style.background=b; 
  598.   b24.style.background=b; 
  599.   b25.style.background=b; 
  600.   b26.style.background=b; 
  601.   b27.style.background=b; 
  602.   b28.style.background=b; 
  603.   b29.style.background=b; 
  604.   b30.style.background=b; 
  605.   b31.style.background=b; 
  606.   b32.style.background=b; 
  607.   b33.style.background=b; 
  608.   b34.style.background=b; 
  609.   b35.style.background=b; 
  610.   b36.style.background=b; 
  611.   b37.style.background=b; 
  612.   b38.style.background=b; 
  613.   b39.style.background=b; 
  614.   b40.style.background=b; 
  615.   b41.style.background=b; 
  616.   b42.style.background=b; 
  617.   b43.style.background=b; 
  618.   b44.style.background=b; 
  619.   b45.style.background=b; 
  620.   b46.style.background=b; 
  621.   b47.style.background=b; 
  622.   b48.style.background=b; 
  623.   b49.style.background=b; 
  624. }
  625. function for1()
  626. {
  627.  this.myform.check.value="10,11,12,13,14,15,16,17,18,19,";
  628.   b01.style.background=b;
  629.   b02.style.background=b;
  630.   b03.style.background=b;
  631.   b04.style.background=b;
  632.   b05.style.background=b;
  633.   b06.style.background=b;
  634.   b07.style.background=b;
  635.   b08.style.background=b;
  636.   b09.style.background=b;
  637.   b10.style.background=c; 
  638.   b11.style.background=c; 
  639.   b12.style.background=c; 
  640.   b13.style.background=c; 
  641.   b14.style.background=c; 
  642.   b15.style.background=c; 
  643.   b16.style.background=c; 
  644.   b17.style.background=c; 
  645.   b18.style.background=c; 
  646.   b19.style.background=c; 
  647.   b20.style.background=b;
  648.   b21.style.background=b;
  649.   b22.style.background=b;
  650.   b23.style.background=b;
  651.   b24.style.background=b;
  652.   b25.style.background=b;
  653.   b26.style.background=b;
  654.   b27.style.background=b;
  655.   b28.style.background=b;
  656.   b29.style.background=b;
  657.   b30.style.background=b;
  658.   b31.style.background=b;
  659.   b32.style.background=b;
  660.   b33.style.background=b;
  661.   b34.style.background=b;
  662.   b35.style.background=b;
  663.   b36.style.background=b;
  664.   b37.style.background=b;
  665.   b38.style.background=b;
  666.   b39.style.background=b;
  667.   b40.style.background=b;
  668.   b41.style.background=b;
  669.   b42.style.background=b;
  670.   b43.style.background=b;
  671.   b44.style.background=b;
  672.   b45.style.background=b;
  673.   b46.style.background=b;
  674.   b47.style.background=b;
  675.   b48.style.background=b;
  676.   b49.style.background=b;
  677. }
  678. function for2()
  679. {
  680.  this.myform.check.value="20,21,22,23,24,25,26,27,28,29,";
  681.   b01.style.background=b;
  682.   b02.style.background=b;
  683.   b03.style.background=b;
  684.   b04.style.background=b;
  685.   b05.style.background=b;
  686.   b06.style.background=b;
  687.   b07.style.background=b;
  688.   b08.style.background=b;
  689.   b09.style.background=b;
  690.   b10.style.background=b;
  691.   b11.style.background=b;
  692.   b12.style.background=b;
  693.   b13.style.background=b;
  694.   b14.style.background=b;
  695.   b15.style.background=b;
  696.   b16.style.background=b;
  697.   b17.style.background=b;
  698.   b18.style.background=b;
  699.   b19.style.background=b;
  700.   b20.style.background=c; 
  701.   b21.style.background=c; 
  702.   b22.style.background=c; 
  703.   b23.style.background=c; 
  704.   b24.style.background=c; 
  705.   b25.style.background=c; 
  706.   b26.style.background=c; 
  707.   b27.style.background=c; 
  708.   b28.style.background=c; 
  709.   b29.style.background=c; 
  710.   b30.style.background=b;
  711.   b31.style.background=b;
  712.   b32.style.background=b;
  713.   b33.style.background=b;
  714.   b34.style.background=b;
  715.   b35.style.background=b;
  716.   b36.style.background=b;
  717.   b37.style.background=b;
  718.   b38.style.background=b;
  719.   b39.style.background=b;
  720.   b40.style.background=b;
  721.   b41.style.background=b;
  722.   b42.style.background=b;
  723.   b43.style.background=b;
  724.   b44.style.background=b;
  725.   b45.style.background=b;
  726.   b46.style.background=b;
  727.   b47.style.background=b;
  728.   b48.style.background=b;
  729.   b49.style.background=b;
  730. }
  731. function for3()
  732. {
  733.  this.myform.check.value="30,31,32,33,34,35,36,37,38,39,";
  734.   b01.style.background=b;
  735.   b02.style.background=b;
  736.   b03.style.background=b;
  737.   b04.style.background=b;
  738.   b05.style.background=b;
  739.   b06.style.background=b;
  740.   b07.style.background=b;
  741.   b08.style.background=b;
  742.   b09.style.background=b;
  743.   b10.style.background=b;
  744.   b11.style.background=b;
  745.   b12.style.background=b;
  746.   b13.style.background=b;
  747.   b14.style.background=b;
  748.   b15.style.background=b;
  749.   b16.style.background=b;
  750.   b17.style.background=b;
  751.   b18.style.background=b;
  752.   b19.style.background=b;
  753.   b20.style.background=b;
  754.   b21.style.background=b;
  755.   b22.style.background=b;
  756.   b23.style.background=b;
  757.   b24.style.background=b;
  758.   b25.style.background=b;
  759.   b26.style.background=b;
  760.   b27.style.background=b;
  761.   b28.style.background=b;
  762.   b29.style.background=b;
  763.   b30.style.background=c; 
  764.   b31.style.background=c; 
  765.   b32.style.background=c; 
  766.   b33.style.background=c; 
  767.   b34.style.background=c; 
  768.   b35.style.background=c; 
  769.   b36.style.background=c; 
  770.   b37.style.background=c; 
  771.   b38.style.background=c; 
  772.   b39.style.background=c; 
  773.   b40.style.background=b;
  774.   b41.style.background=b;
  775.   b42.style.background=b;
  776.   b43.style.background=b;
  777.   b44.style.background=b;
  778.   b45.style.background=b;
  779.   b46.style.background=b;
  780.   b47.style.background=b;
  781.   b48.style.background=b;
  782.   b49.style.background=b;
  783. }
  784. function for4()
  785. {
  786.  this.myform.check.value="40,41,42,43,44,45,46,47,48,49,";
  787.   b01.style.background=b;
  788.   b02.style.background=b;
  789.   b03.style.background=b;
  790.   b04.style.background=b;
  791.   b05.style.background=b;
  792.   b06.style.background=b;
  793.   b07.style.background=b;
  794.   b08.style.background=b;
  795.   b09.style.background=b;
  796.   b10.style.background=b;
  797.   b11.style.background=b;
  798.   b12.style.background=b;
  799.   b13.style.background=b;
  800.   b14.style.background=b;
  801.   b15.style.background=b;
  802.   b16.style.background=b;
  803.   b17.style.background=b;
  804.   b18.style.background=b;
  805.   b19.style.background=b;
  806.   b20.style.background=b;
  807.   b21.style.background=b;
  808.   b22.style.background=b;
  809.   b23.style.background=b;
  810.   b24.style.background=b;
  811.   b25.style.background=b;
  812.   b26.style.background=b;
  813.   b27.style.background=b;
  814.   b28.style.background=b;
  815.   b29.style.background=b;
  816.   b30.style.background=b;
  817.   b31.style.background=b;
  818.   b32.style.background=b;
  819.   b33.style.background=b;
  820.   b34.style.background=b;
  821.   b35.style.background=b;
  822.   b36.style.background=b;
  823.   b37.style.background=b;
  824.   b38.style.background=b;
  825.   b39.style.background=b;
  826.   b40.style.background=c; 
  827.   b41.style.background=c; 
  828.   b42.style.background=c; 
  829.   b43.style.background=c; 
  830.   b44.style.background=c; 
  831.   b45.style.background=c; 
  832.   b46.style.background=c; 
  833.   b47.style.background=c; 
  834.   b48.style.background=c; 
  835.   b49.style.background=c; 
  836. }
  837. function end0()
  838. {
  839. this.myform.check.value="10,20,30,40,";
  840. b10.style.background=c;
  841. b20.style.background=c;
  842. b30.style.background=c;
  843. b40.style.background=c;
  844. b01.style.background=b;
  845. b02.style.background=b;
  846. b03.style.background=b;
  847. b04.style.background=b;
  848. b05.style.background=b;
  849. b06.style.background=b;
  850. b07.style.background=b;
  851. b08.style.background=b;
  852. b09.style.background=b;
  853. b11.style.background=b;
  854. b12.style.background=b;
  855. b13.style.background=b;
  856. b14.style.background=b;
  857. b15.style.background=b;
  858. b16.style.background=b;
  859. b17.style.background=b;
  860. b18.style.background=b;
  861. b19.style.background=b;
  862. b21.style.background=b;
  863. b22.style.background=b;
  864. b23.style.background=b;
  865. b24.style.background=b;
  866. b25.style.background=b;
  867. b26.style.background=b;
  868. b27.style.background=b;
  869. b28.style.background=b;
  870. b29.style.background=b;
  871. b31.style.background=b;
  872. b32.style.background=b;
  873. b33.style.background=b;
  874. b34.style.background=b;
  875. b35.style.background=b;
  876. b36.style.background=b;
  877. b37.style.background=b;
  878. b38.style.background=b;
  879. b39.style.background=b;
  880. b41.style.background=b;
  881. b42.style.background=b;
  882. b43.style.background=b;
  883. b44.style.background=b;
  884. b45.style.background=b;
  885. b46.style.background=b;
  886. b47.style.background=b;
  887. b48.style.background=b;
  888. b49.style.background=b;
  889. }
  890. function end1()
  891. {
  892. this.myform.check.value="01,11,21,31,41,";
  893. b01.style.background=c;
  894. b11.style.background=c;
  895. b21.style.background=c;
  896. b31.style.background=c;
  897. b41.style.background=c;
  898. b02.style.background=b;
  899. b03.style.background=b;
  900. b04.style.background=b;
  901. b05.style.background=b;
  902. b06.style.background=b;
  903. b07.style.background=b;
  904. b08.style.background=b;
  905. b09.style.background=b;
  906. b10.style.background=b;
  907. b12.style.background=b;
  908. b13.style.background=b;
  909. b14.style.background=b;
  910. b15.style.background=b;
  911. b16.style.background=b;
  912. b17.style.background=b;
  913. b18.style.background=b;
  914. b19.style.background=b;
  915. b20.style.background=b;
  916. b22.style.background=b;
  917. b23.style.background=b;
  918. b24.style.background=b;
  919. b25.style.background=b;
  920. b26.style.background=b;
  921. b27.style.background=b;
  922. b28.style.background=b;
  923. b29.style.background=b;
  924. b30.style.background=b;
  925. b32.style.background=b;
  926. b33.style.background=b;
  927. b34.style.background=b;
  928. b35.style.background=b;
  929. b36.style.background=b;
  930. b37.style.background=b;
  931. b38.style.background=b;
  932. b39.style.background=b;
  933. b40.style.background=b;
  934. b42.style.background=b;
  935. b43.style.background=b;
  936. b44.style.background=b;
  937. b45.style.background=b;
  938. b46.style.background=b;
  939. b47.style.background=b;
  940. b48.style.background=b;
  941. b49.style.background=b;
  942. }
  943. function end2()
  944. {
  945. this.myform.check.value="02,12,22,32,42,";
  946. b02.style.background=c;
  947. b12.style.background=c;
  948. b22.style.background=c;
  949. b32.style.background=c;
  950. b42.style.background=c;
  951. b01.style.background=b;
  952. b03.style.background=b;
  953. b04.style.background=b;
  954. b05.style.background=b;
  955. b06.style.background=b;
  956. b07.style.background=b;
  957. b08.style.background=b;
  958. b09.style.background=b;
  959. b11.style.background=b;
  960. b10.style.background=b;
  961. b13.style.background=b;
  962. b14.style.background=b;
  963. b15.style.background=b;
  964. b16.style.background=b;
  965. b17.style.background=b;
  966. b18.style.background=b;
  967. b19.style.background=b;
  968. b21.style.background=b;
  969. b20.style.background=b;
  970. b23.style.background=b;
  971. b24.style.background=b;
  972. b25.style.background=b;
  973. b26.style.background=b;
  974. b27.style.background=b;
  975. b28.style.background=b;
  976. b29.style.background=b;
  977. b31.style.background=b;
  978. b30.style.background=b;
  979. b33.style.background=b;
  980. b34.style.background=b;
  981. b35.style.background=b;
  982. b36.style.background=b;
  983. b37.style.background=b;
  984. b38.style.background=b;
  985. b39.style.background=b;
  986. b41.style.background=b;
  987. b40.style.background=b;
  988. b43.style.background=b;
  989. b44.style.background=b;
  990. b45.style.background=b;
  991. b46.style.background=b;
  992. b47.style.background=b;
  993. b48.style.background=b;
  994. b49.style.background=b;
  995. }
  996. function end3()
  997. {
  998. this.myform.check.value="03,13,23,33,43,";
  999. b03.style.background=c;
  1000. b13.style.background=c;
  1001. b23.style.background=c;
  1002. b33.style.background=c;
  1003. b43.style.background=c;
  1004. b01.style.background=b;
  1005. b02.style.background=b;
  1006. b04.style.background=b;
  1007. b05.style.background=b;
  1008. b06.style.background=b;
  1009. b07.style.background=b;
  1010. b08.style.background=b;
  1011. b09.style.background=b;
  1012. b11.style.background=b;
  1013. b12.style.background=b;
  1014. b10.style.background=b;
  1015. b14.style.background=b;
  1016. b15.style.background=b;
  1017. b16.style.background=b;
  1018. b17.style.background=b;
  1019. b18.style.background=b;
  1020. b19.style.background=b;
  1021. b21.style.background=b;
  1022. b22.style.background=b;
  1023. b20.style.background=b;
  1024. b24.style.background=b;
  1025. b25.style.background=b;
  1026. b26.style.background=b;
  1027. b27.style.background=b;
  1028. b28.style.background=b;
  1029. b29.style.background=b;
  1030. b31.style.background=b;
  1031. b32.style.background=b;
  1032. b30.style.background=b;
  1033. b34.style.background=b;
  1034. b35.style.background=b;
  1035. b36.style.background=b;
  1036. b37.style.background=b;
  1037. b38.style.background=b;
  1038. b39.style.background=b;
  1039. b41.style.background=b;
  1040. b42.style.background=b;
  1041. b40.style.background=b;
  1042. b44.style.background=b;
  1043. b45.style.background=b;
  1044. b46.style.background=b;
  1045. b47.style.background=b;
  1046. b48.style.background=b;
  1047. b49.style.background=b;
  1048. }
  1049. function end4()
  1050. {
  1051. this.myform.check.value="04,14,24,34,44,";
  1052. b04.style.background=c;
  1053. b14.style.background=c;
  1054. b24.style.background=c;
  1055. b34.style.background=c;
  1056. b44.style.background=c;
  1057. b01.style.background=b;
  1058. b02.style.background=b;
  1059. b03.style.background=b;
  1060. b05.style.background=b;
  1061. b06.style.background=b;
  1062. b07.style.background=b;
  1063. b08.style.background=b;
  1064. b09.style.background=b;
  1065. b11.style.background=b;
  1066. b12.style.background=b;
  1067. b13.style.background=b;
  1068. b10.style.background=b;
  1069. b15.style.background=b;
  1070. b16.style.background=b;
  1071. b17.style.background=b;
  1072. b18.style.background=b;
  1073. b19.style.background=b;
  1074. b21.style.background=b;
  1075. b22.style.background=b;
  1076. b23.style.background=b;
  1077. b20.style.background=b;
  1078. b25.style.background=b;
  1079. b26.style.background=b;
  1080. b27.style.background=b;
  1081. b28.style.background=b;
  1082. b29.style.background=b;
  1083. b31.style.background=b;
  1084. b32.style.background=b;
  1085. b33.style.background=b;
  1086. b30.style.background=b;
  1087. b35.style.background=b;
  1088. b36.style.background=b;
  1089. b37.style.background=b;
  1090. b38.style.background=b;
  1091. b39.style.background=b;
  1092. b41.style.background=b;
  1093. b42.style.background=b;
  1094. b43.style.background=b;
  1095. b40.style.background=b;
  1096. b45.style.background=b;
  1097. b46.style.background=b;
  1098. b47.style.background=b;
  1099. b48.style.background=b;
  1100. b49.style.background=b;
  1101. }
  1102. function end5()
  1103. {
  1104. this.myform.check.value="05,15,25,35,45,";
  1105. b05.style.background=c;
  1106. b15.style.background=c;
  1107. b25.style.background=c;
  1108. b35.style.background=c;
  1109. b45.style.background=c;
  1110. b01.style.background=b;
  1111. b02.style.background=b;
  1112. b03.style.background=b;
  1113. b04.style.background=b;
  1114. b06.style.background=b;
  1115. b07.style.background=b;
  1116. b08.style.background=b;
  1117. b09.style.background=b;
  1118. b11.style.background=b;
  1119. b12.style.background=b;
  1120. b13.style.background=b;
  1121. b10.style.background=b;
  1122. b14.style.background=b;
  1123. b16.style.background=b;
  1124. b17.style.background=b;
  1125. b18.style.background=b;
  1126. b19.style.background=b;
  1127. b21.style.background=b;
  1128. b22.style.background=b;
  1129. b23.style.background=b;
  1130. b20.style.background=b;
  1131. b24.style.background=b;
  1132. b26.style.background=b;
  1133. b27.style.background=b;
  1134. b28.style.background=b;
  1135. b29.style.background=b;
  1136. b31.style.background=b;
  1137. b32.style.background=b;
  1138. b33.style.background=b;
  1139. b30.style.background=b;
  1140. b34.style.background=b;
  1141. b36.style.background=b;
  1142. b37.style.background=b;
  1143. b38.style.background=b;
  1144. b39.style.background=b;
  1145. b41.style.background=b;
  1146. b42.style.background=b;
  1147. b43.style.background=b;
  1148. b40.style.background=b;
  1149. b44.style.background=b;
  1150. b46.style.background=b;
  1151. b47.style.background=b;
  1152. b48.style.background=b;
  1153. b49.style.background=b;
  1154. }
  1155. function end6()
  1156. {
  1157. this.myform.check.value="06,16,26,36,46,";
  1158. b06.style.background=c;
  1159. b16.style.background=c;
  1160. b26.style.background=c;
  1161. b36.style.background=c;
  1162. b46.style.background=c;
  1163. b01.style.background=b;
  1164. b02.style.background=b;
  1165. b03.style.background=b;
  1166. b04.style.background=b;
  1167. b05.style.background=b;
  1168. b07.style.background=b;
  1169. b08.style.background=b;
  1170. b09.style.background=b;
  1171. b11.style.background=b;
  1172. b12.style.background=b;
  1173. b13.style.background=b;
  1174. b14.style.background=b;
  1175. b15.style.background=b;
  1176. b10.style.background=b;
  1177. b17.style.background=b;
  1178. b18.style.background=b;
  1179. b19.style.background=b;
  1180. b21.style.background=b;
  1181. b22.style.background=b;
  1182. b23.style.background=b;
  1183. b24.style.background=b;
  1184. b20.style.background=b;
  1185. b25.style.background=b;
  1186. b27.style.background=b;
  1187. b28.style.background=b;
  1188. b29.style.background=b;
  1189. b31.style.background=b;
  1190. b32.style.background=b;
  1191. b33.style.background=b;
  1192. b34.style.background=b;
  1193. b30.style.background=b;
  1194. b35.style.background=b;
  1195. b37.style.background=b;
  1196. b38.style.background=b;
  1197. b39.style.background=b;
  1198. b41.style.background=b;
  1199. b42.style.background=b;
  1200. b43.style.background=b;
  1201. b44.style.background=b;
  1202. b40.style.background=b;
  1203. b45.style.background=b;
  1204. b47.style.background=b;
  1205. b48.style.background=b;
  1206. b49.style.background=b;
  1207. }
  1208. function end7()
  1209. {
  1210. this.myform.check.value="07,17,27,37,47,";
  1211. b07.style.background=c;
  1212. b17.style.background=c;
  1213. b27.style.background=c;
  1214. b37.style.background=c;
  1215. b47.style.background=c;
  1216. b01.style.background=b;
  1217. b02.style.background=b;
  1218. b03.style.background=b;
  1219. b04.style.background=b;
  1220. b05.style.background=b;
  1221. b06.style.background=b;
  1222. b08.style.background=b;
  1223. b09.style.background=b;
  1224. b11.style.background=b;
  1225. b12.style.background=b;
  1226. b13.style.background=b;
  1227. b14.style.background=b;
  1228. b15.style.background=b;
  1229. b16.style.background=b;
  1230. b10.style.background=b;
  1231. b18.style.background=b;
  1232. b19.style.background=b;
  1233. b21.style.background=b;
  1234. b22.style.background=b;
  1235. b23.style.background=b;
  1236. b24.style.background=b;
  1237. b25.style.background=b;
  1238. b26.style.background=b;
  1239. b20.style.background=b;
  1240. b28.style.background=b;
  1241. b29.style.background=b;
  1242. b31.style.background=b;
  1243. b32.style.background=b;
  1244. b33.style.background=b;
  1245. b34.style.background=b;
  1246. b35.style.background=b;
  1247. b36.style.background=b;
  1248. b30.style.background=b;
  1249. b38.style.background=b;
  1250. b39.style.background=b;
  1251. b41.style.background=b;
  1252. b42.style.background=b;
  1253. b43.style.background=b;
  1254. b44.style.background=b;
  1255. b45.style.background=b;
  1256. b46.style.background=b;
  1257. b40.style.background=b;
  1258. b48.style.background=b;
  1259. b49.style.background=b;
  1260. }
  1261. function end8()
  1262. {
  1263. this.myform.check.value="08,18,28,38,48,";
  1264. b08.style.background=c;
  1265. b18.style.background=c;
  1266. b28.style.background=c;
  1267. b38.style.background=c;
  1268. b48.style.background=c;
  1269. b01.style.background=b;
  1270. b02.style.background=b;
  1271. b03.style.background=b;
  1272. b04.style.background=b;
  1273. b05.style.background=b;
  1274. b06.style.background=b;
  1275. b07.style.background=b;
  1276. b09.style.background=b;
  1277. b11.style.background=b;
  1278. b12.style.background=b;
  1279. b13.style.background=b;
  1280. b14.style.background=b;
  1281. b15.style.background=b;
  1282. b16.style.background=b;
  1283. b17.style.background=b;
  1284. b10.style.background=b;
  1285. b19.style.background=b;
  1286. b21.style.background=b;
  1287. b22.style.background=b;
  1288. b23.style.background=b;
  1289. b24.style.background=b;
  1290. b25.style.background=b;
  1291. b26.style.background=b;
  1292. b27.style.background=b;
  1293. b20.style.background=b;
  1294. b29.style.background=b;
  1295. b31.style.background=b;
  1296. b32.style.background=b;
  1297. b33.style.background=b;
  1298. b34.style.background=b;
  1299. b35.style.background=b;
  1300. b36.style.background=b;
  1301. b37.style.background=b;
  1302. b30.style.background=b;
  1303. b39.style.background=b;
  1304. b41.style.background=b;
  1305. b42.style.background=b;
  1306. b43.style.background=b;
  1307. b44.style.background=b;
  1308. b45.style.background=b;
  1309. b46.style.background=b;
  1310. b47.style.background=b;
  1311. b40.style.background=b;
  1312. b49.style.background=b;
  1313. }
  1314. function end9()
  1315. {
  1316. this.myform.check.value="09,19,29,39,49,";
  1317. b09.style.background=c;
  1318. b19.style.background=c;
  1319. b29.style.background=c;
  1320. b39.style.background=c;
  1321. b49.style.background=c;
  1322. b01.style.background=b;
  1323. b02.style.background=b;
  1324. b03.style.background=b;
  1325. b04.style.background=b;
  1326. b05.style.background=b;
  1327. b06.style.background=b;
  1328. b07.style.background=b;
  1329. b08.style.background=b;
  1330. b11.style.background=b;
  1331. b12.style.background=b;
  1332. b13.style.background=b;
  1333. b14.style.background=b;
  1334. b15.style.background=b;
  1335. b16.style.background=b;
  1336. b17.style.background=b;
  1337. b18.style.background=b;
  1338. b10.style.background=b;
  1339. b21.style.background=b;
  1340. b22.style.background=b;
  1341. b23.style.background=b;
  1342. b24.style.background=b;
  1343. b25.style.background=b;
  1344. b26.style.background=b;
  1345. b27.style.background=b;
  1346. b28.style.background=b;
  1347. b20.style.background=b;
  1348. b31.style.background=b;
  1349. b32.style.background=b;
  1350. b33.style.background=b;
  1351. b34.style.background=b;
  1352. b35.style.background=b;
  1353. b36.style.background=b;
  1354. b37.style.background=b;
  1355. b38.style.background=b;
  1356. b30.style.background=b;
  1357. b41.style.background=b;
  1358. b42.style.background=b;
  1359. b43.style.background=b;
  1360. b44.style.background=b;
  1361. b45.style.background=b;
  1362. b46.style.background=b;
  1363. b47.style.background=b;
  1364. b48.style.background=b;
  1365. b40.style.background=b;
  1366. }
  1367. function sel(arr,menu,num)
  1368. {
  1369.  nums=num+",";
  1370.  if(arr==c)
  1371.  {
  1372.  menu.style.background=b;
  1373.  this.myform.check.value=(this.myform.check.value).replace(nums,"");
  1374.  }else
  1375.  {
  1376.   if(this.myform.check.value.indexOf(num)<0)
  1377.    {
  1378.    this.myform.check.value+=nums;
  1379.    menu.style.background=c;
  1380.    }
  1381.  }
  1382. }
  1383. function allps()
  1384. {
  1385. var ss=b;
  1386. b01.style.background=ss;
  1387. b02.style.background=ss;
  1388. b03.style.background=ss;
  1389. b04.style.background=ss;
  1390. b05.style.background=ss;
  1391. b06.style.background=ss;
  1392. b07.style.background=ss;
  1393. b08.style.background=ss;
  1394. b09.style.background=ss;
  1395. b10.style.background=ss;
  1396. b11.style.background=ss;
  1397. b12.style.background=ss;
  1398. b13.style.background=ss;
  1399. b14.style.background=ss;
  1400. b15.style.background=ss;
  1401. b16.style.background=ss;
  1402. b17.style.background=ss;
  1403. b18.style.background=ss;
  1404. b19.style.background=ss;
  1405. b20.style.background=ss;
  1406. b21.style.background=ss;
  1407. b22.style.background=ss;
  1408. b23.style.background=ss;
  1409. b24.style.background=ss;
  1410. b25.style.background=ss;
  1411. b26.style.background=ss;
  1412. b27.style.background=ss;
  1413. b28.style.background=ss;
  1414. b29.style.background=ss;
  1415. b30.style.background=ss;
  1416. b31.style.background=ss;
  1417. b32.style.background=ss;
  1418. b33.style.background=ss;
  1419. b34.style.background=ss;
  1420. b35.style.background=ss;
  1421. b36.style.background=ss;
  1422. b37.style.background=ss;
  1423. b38.style.background=ss;
  1424. b39.style.background=ss;
  1425. b40.style.background=ss;
  1426. b41.style.background=ss;
  1427. b42.style.background=ss;
  1428. b43.style.background=ss;
  1429. b44.style.background=ss;
  1430. b45.style.background=ss;
  1431. b46.style.background=ss;
  1432. b47.style.background=ss;
  1433. b48.style.background=ss;
  1434. b49.style.background=ss;
  1435. }
  1436. function pcolor(arr,menu,num)
  1437. { //allps();
  1438.   ps1.style.background="#ffffff";
  1439.   pn2.style.background="#ffffff";
  1440.   ph3.style.background="#ffffff";
  1441.   pt4.style.background="#ffffff";
  1442.   pl5.style.background="#ffffff";
  1443.   pc6.style.background="#ffffff";
  1444.   pm7.style.background="#ffffff";
  1445.   py8.style.background="#ffffff";
  1446.   ph9.style.background="#ffffff";
  1447.   pj10.style.background="#ffffff";
  1448.   pg11.style.background="#ffffff";
  1449.   pz12.style.background="#ffffff";
  1450.  if(arr==c)
  1451.  {
  1452.  menu.style.background=b;
  1453.  if(num==1)
  1454.  { 
  1455.   myform.sred.value="";
  1456.   red(2);
  1457.  }
  1458.  if(num==2)
  1459.  {
  1460.   myform.sblue.value="";
  1461.   blue(2)
  1462.  }
  1463.  if(num==3)
  1464.  { 
  1465.   green(2);
  1466.   myform.sgreen.value="";
  1467.  }
  1468.  this.myform.check.value=myform.sred.value+myform.sgreen.value+myform.sblue.value;
  1469.  }else
  1470.  {
  1471.    menu.style.background=c;
  1472.    if(num==1)
  1473.    { 
  1474.     myform.sred.value="01,02,07,08,12,13,18,19,23,24,29,30,34,35,40,45,46,";
  1475.     red(1);
  1476.    }
  1477.    if(num==2)
  1478.    {
  1479. myform.sblue.value="03,04,09,10,14,15,20,25,26,31,36,37,41,42,47,48,";
  1480. blue(1);
  1481.    }
  1482.    if(num==3)
  1483.    {
  1484. myform.sgreen.value="05,06,11,16,17,21,22,27,28,32,33,38,39,43,44,49,";
  1485. green(1);
  1486.    }
  1487.    this.myform.check.value=myform.sred.value+myform.sgreen.value+myform.sblue.value;
  1488.  }
  1489. }
  1490. function cancel()
  1491. {
  1492. b01.style.background=b;
  1493. b02.style.background=b;
  1494. b03.style.background=b;
  1495. b04.style.background=b;
  1496. b05.style.background=b;
  1497. b06.style.background=b;
  1498. b07.style.background=b;
  1499. b08.style.background=b;
  1500. b09.style.background=b;
  1501. b10.style.background=b;
  1502. b11.style.background=b;
  1503. b12.style.background=b;
  1504. b13.style.background=b;
  1505. b14.style.background=b;
  1506. b15.style.background=b;
  1507. b16.style.background=b;
  1508. b17.style.background=b;
  1509. b18.style.background=b;
  1510. b19.style.background=b;
  1511. b20.style.background=b;
  1512. b21.style.background=b;
  1513. b22.style.background=b;
  1514. b23.style.background=b;
  1515. b24.style.background=b;
  1516. b25.style.background=b;
  1517. b26.style.background=b;
  1518. b27.style.background=b;
  1519. b28.style.background=b;
  1520. b29.style.background=b;
  1521. b30.style.background=b;
  1522. b31.style.background=b;
  1523. b32.style.background=b;
  1524. b33.style.background=b;
  1525. b34.style.background=b;
  1526. b35.style.background=b;
  1527. b36.style.background=b;
  1528. b37.style.background=b;
  1529. b38.style.background=b;
  1530. b39.style.background=b;
  1531. b40.style.background=b;
  1532. b41.style.background=b;
  1533. b42.style.background=b;
  1534. b43.style.background=b;
  1535. b44.style.background=b;
  1536. b45.style.background=b;
  1537. b46.style.background=b;
  1538. b47.style.background=b;
  1539. b48.style.background=b;
  1540. b49.style.background=b;
  1541. }
  1542. function re()
  1543. {
  1544.  var arr="yes,"+this.myform.check.value;
  1545.  var rmb=document.myform.txtrmb.value;
  1546.  if(rmb<1)
  1547.  {  alert('金额传送最低为 1 ');
  1548.  }else
  1549.  {   if(arr.indexOf("01",0)>0)
  1550.    { 
  1551.      var ads=document.myform.t01.value;
  1552.  if(ads=="") ads=0;
  1553.      document.myform.t01.value=parseFloat(ads)+parseFloat(rmb);
  1554.     }
  1555.       if(arr.indexOf("02",0)>0)
  1556.    { 
  1557.      var ads=document.myform.t02.value;
  1558.  if(ads=="") ads=0;
  1559.      document.myform.t02.value=parseFloat(ads)+parseFloat(rmb);
  1560.     }
  1561.       if(arr.indexOf("03",0)>0)
  1562.    { 
  1563.      var ads=document.myform.t03.value;
  1564.  if(ads=="") ads=0;
  1565.      document.myform.t03.value=parseFloat(ads)+parseFloat(rmb);
  1566.     }
  1567.       if(arr.indexOf("04",0)>0)
  1568.    { 
  1569.      var ads=document.myform.t04.value;
  1570.  if(ads=="") ads=0;
  1571.      document.myform.t04.value=parseFloat(ads)+parseFloat(rmb);
  1572.     }
  1573.       if(arr.indexOf("05",0)>0)
  1574.    { 
  1575.      var ads=document.myform.t05.value;
  1576.  if(ads=="") ads=0;
  1577.      document.myform.t05.value=parseFloat(ads)+parseFloat(rmb);
  1578.     }
  1579.       if(arr.indexOf("06",0)>0)
  1580.    { 
  1581.      var ads=document.myform.t06.value;
  1582.  if(ads=="") ads=0;
  1583.      document.myform.t06.value=parseFloat(ads)+parseFloat(rmb);
  1584.     }
  1585.       if(arr.indexOf("07",0)>0)
  1586.    { 
  1587.      var ads=document.myform.t07.value;
  1588.  if(ads=="") ads=0;
  1589.      document.myform.t07.value=parseFloat(ads)+parseFloat(rmb);
  1590.     }
  1591.       if(arr.indexOf("08",0)>0)
  1592.    { 
  1593.      var ads=document.myform.t08.value;
  1594.  if(ads=="") ads=0;
  1595.      document.myform.t08.value=parseFloat(ads)+parseFloat(rmb);
  1596.     }
  1597.       if(arr.indexOf("09",0)>0)
  1598.    { 
  1599.      var ads=document.myform.t09.value;
  1600.  if(ads=="") ads=0;
  1601.      document.myform.t09.value=parseFloat(ads)+parseFloat(rmb);
  1602.     }
  1603.       if(arr.indexOf("10",0)>0)
  1604.    { 
  1605.      var ads=document.myform.t10.value;
  1606.  if(ads=="") ads=0;
  1607.      document.myform.t10.value=parseFloat(ads)+parseFloat(rmb);
  1608.     }
  1609.       if(arr.indexOf("11",0)>0)
  1610.    { 
  1611.      var ads=document.myform.t11.value;
  1612.  if(ads=="") ads=0;
  1613.      document.myform.t11.value=parseFloat(ads)+parseFloat(rmb);
  1614.     }
  1615.       if(arr.indexOf("12",0)>0)
  1616.    { 
  1617.      var ads=document.myform.t12.value;
  1618.  if(ads=="") ads=0;
  1619.      document.myform.t12.value=parseFloat(ads)+parseFloat(rmb);
  1620.     }
  1621.       if(arr.indexOf("13",0)>0)
  1622.    { 
  1623.      var ads=document.myform.t13.value;
  1624.  if(ads=="") ads=0;
  1625.      document.myform.t13.value=parseFloat(ads)+parseFloat(rmb);
  1626.     }
  1627.       if(arr.indexOf("14",0)>0)
  1628.    { 
  1629.      var ads=document.myform.t14.value;
  1630.  if(ads=="") ads=0;
  1631.      document.myform.t14.value=parseFloat(ads)+parseFloat(rmb);
  1632.     }
  1633.       if(arr.indexOf("15",0)>0)
  1634.    { 
  1635.      var ads=document.myform.t15.value;
  1636.  if(ads=="") ads=0;
  1637.      document.myform.t15.value=parseFloat(ads)+parseFloat(rmb);
  1638.     }
  1639.       if(arr.indexOf("16",0)>0)
  1640.    { 
  1641.      var ads=document.myform.t16.value;
  1642.  if(ads=="") ads=0;
  1643.      document.myform.t16.value=parseFloat(ads)+parseFloat(rmb);
  1644.     }
  1645.       if(arr.indexOf("17",0)>0)
  1646.    { 
  1647.      var ads=document.myform.t17.value;
  1648.  if(ads=="") ads=0;
  1649.      document.myform.t17.value=parseFloat(ads)+parseFloat(rmb);
  1650.     }
  1651.       if(arr.indexOf("18",0)>0)
  1652.    { 
  1653.      var ads=document.myform.t18.value;
  1654.  if(ads=="") ads=0;
  1655.      document.myform.t18.value=parseFloat(ads)+parseFloat(rmb);
  1656.     }
  1657.       if(arr.indexOf("19",0)>0)
  1658.    { 
  1659.      var ads=document.myform.t19.value;
  1660.  if(ads=="") ads=0;
  1661.      document.myform.t19.value=parseFloat(ads)+parseFloat(rmb);
  1662.     }
  1663.       if(arr.indexOf("20",0)>0)
  1664.    { 
  1665.      var ads=document.myform.t20.value;
  1666.  if(ads=="") ads=0;
  1667.      document.myform.t20.value=parseFloat(ads)+parseFloat(rmb);
  1668.     }
  1669.       if(arr.indexOf("21",0)>0)
  1670.    { 
  1671.      var ads=document.myform.t21.value;
  1672.  if(ads=="") ads=0;
  1673.      document.myform.t21.value=parseFloat(ads)+parseFloat(rmb);
  1674.     }
  1675.       if(arr.indexOf("22",0)>0)
  1676.    { 
  1677.      var ads=document.myform.t22.value;
  1678.  if(ads=="") ads=0;
  1679.      document.myform.t22.value=parseFloat(ads)+parseFloat(rmb);
  1680.     }
  1681.       if(arr.indexOf("23",0)>0)
  1682.    { 
  1683.      var ads=document.myform.t23.value;
  1684.  if(ads=="") ads=0;
  1685.      document.myform.t23.value=parseFloat(ads)+parseFloat(rmb);
  1686.     }
  1687.       if(arr.indexOf("24",0)>0)
  1688.    { 
  1689.      var ads=document.myform.t24.value;
  1690.  if(ads=="") ads=0;
  1691.      document.myform.t24.value=parseFloat(ads)+parseFloat(rmb);
  1692.     }
  1693.       if(arr.indexOf("25",0)>0)
  1694.    { 
  1695.      var ads=document.myform.t25.value;
  1696.  if(ads=="") ads=0;
  1697.      document.myform.t25.value=parseFloat(ads)+parseFloat(rmb);
  1698.     }
  1699.       if(arr.indexOf("26",0)>0)
  1700.    { 
  1701.      var ads=document.myform.t26.value;
  1702.  if(ads=="") ads=0;
  1703.      document.myform.t26.value=parseFloat(ads)+parseFloat(rmb);
  1704.     }
  1705.       if(arr.indexOf("27",0)>0)
  1706.    { 
  1707.      var ads=document.myform.t27.value;
  1708.  if(ads=="") ads=0;
  1709.      document.myform.t27.value=parseFloat(ads)+parseFloat(rmb);
  1710.     }
  1711.       if(arr.indexOf("28",0)>0)
  1712.    { 
  1713.      var ads=document.myform.t28.value;
  1714.  if(ads=="") ads=0;
  1715.      document.myform.t28.value=parseFloat(ads)+parseFloat(rmb);
  1716.     }
  1717.       if(arr.indexOf("29",0)>0)
  1718.    { 
  1719.      var ads=document.myform.t29.value;
  1720.  if(ads=="") ads=0;
  1721.      document.myform.t29.value=parseFloat(ads)+parseFloat(rmb);
  1722.     }
  1723.       if(arr.indexOf("30",0)>0)
  1724.    { 
  1725.      var ads=document.myform.t30.value;
  1726.  if(ads=="") ads=0;
  1727.      document.myform.t30.value=parseFloat(ads)+parseFloat(rmb);
  1728.     }
  1729.       if(arr.indexOf("31",0)>0)
  1730.    { 
  1731.      var ads=document.myform.t31.value;
  1732.  if(ads=="") ads=0;
  1733.      document.myform.t31.value=parseFloat(ads)+parseFloat(rmb);
  1734.     }
  1735.       if(arr.indexOf("32",0)>0)
  1736.    { 
  1737.      var ads=document.myform.t32.value;
  1738.  if(ads=="") ads=0;
  1739.      document.myform.t32.value=parseFloat(ads)+parseFloat(rmb);
  1740.     }
  1741.       if(arr.indexOf("33",0)>0)
  1742.    { 
  1743.      var ads=document.myform.t33.value;
  1744.  if(ads=="") ads=0;
  1745.      document.myform.t33.value=parseFloat(ads)+parseFloat(rmb);
  1746.     }
  1747.       if(arr.indexOf("34",0)>0)
  1748.    { 
  1749.      var ads=document.myform.t34.value;
  1750.  if(ads=="") ads=0;
  1751.      document.myform.t34.value=parseFloat(ads)+parseFloat(rmb);
  1752.     }
  1753.       if(arr.indexOf("35",0)>0)
  1754.    { 
  1755.      var ads=document.myform.t35.value;
  1756.  if(ads=="") ads=0;
  1757.      document.myform.t35.value=parseFloat(ads)+parseFloat(rmb);
  1758.     }
  1759.       if(arr.indexOf("36",0)>0)
  1760.    { 
  1761.      var ads=document.myform.t36.value;
  1762.  if(ads=="") ads=0;
  1763.      document.myform.t36.value=parseFloat(ads)+parseFloat(rmb);
  1764.     }
  1765.       if(arr.indexOf("37",0)>0)
  1766.    { 
  1767.      var ads=document.myform.t37.value;
  1768.  if(ads=="") ads=0;
  1769.      document.myform.t37.value=parseFloat(ads)+parseFloat(rmb);
  1770.     }
  1771.       if(arr.indexOf("38",0)>0)
  1772.    { 
  1773.      var ads=document.myform.t38.value;
  1774.  if(ads=="") ads=0;
  1775.      document.myform.t38.value=parseFloat(ads)+parseFloat(rmb);
  1776.     }
  1777.       if(arr.indexOf("39",0)>0)
  1778.    { 
  1779.      var ads=document.myform.t39.value;
  1780.  if(ads=="") ads=0;
  1781.      document.myform.t39.value=parseFloat(ads)+parseFloat(rmb);
  1782.     }
  1783.       if(arr.indexOf("40",0)>0)
  1784.    { 
  1785.      var ads=document.myform.t40.value;
  1786.  if(ads=="") ads=0;
  1787.      document.myform.t40.value=parseFloat(ads)+parseFloat(rmb);
  1788.     }
  1789.       if(arr.indexOf("41",0)>0)
  1790.    { 
  1791.      var ads=document.myform.t41.value;
  1792.  if(ads=="") ads=0;
  1793.      document.myform.t41.value=parseFloat(ads)+parseFloat(rmb);
  1794.     }
  1795.       if(arr.indexOf("42",0)>0)
  1796.    { 
  1797.      var ads=document.myform.t42.value;
  1798.  if(ads=="") ads=0;
  1799.      document.myform.t42.value=parseFloat(ads)+parseFloat(rmb);
  1800.     }
  1801.       if(arr.indexOf("43",0)>0)
  1802.    { 
  1803.      var ads=document.myform.t43.value;
  1804.  if(ads=="") ads=0;
  1805.      document.myform.t43.value=parseFloat(ads)+parseFloat(rmb);
  1806.     }
  1807.       if(arr.indexOf("44",0)>0)
  1808.    { 
  1809.      var ads=document.myform.t44.value;
  1810.  if(ads=="") ads=0;
  1811.      document.myform.t44.value=parseFloat(ads)+parseFloat(rmb);
  1812.     }
  1813.       if(arr.indexOf("45",0)>0)
  1814.    { 
  1815.      var ads=document.myform.t45.value;
  1816.  if(ads=="") ads=0;
  1817.      document.myform.t45.value=parseFloat(ads)+parseFloat(rmb);
  1818.     }
  1819.       if(arr.indexOf("46",0)>0)
  1820.    { 
  1821.      var ads=document.myform.t46.value;
  1822.  if(ads=="") ads=0;
  1823.      document.myform.t46.value=parseFloat(ads)+parseFloat(rmb);
  1824.     }
  1825.       if(arr.indexOf("47",0)>0)
  1826.    { 
  1827.      var ads=document.myform.t47.value;
  1828.  if(ads=="") ads=0;
  1829.      document.myform.t47.value=parseFloat(ads)+parseFloat(rmb);
  1830.     }
  1831.       if(arr.indexOf("48",0)>0)
  1832.    { 
  1833.      var ads=document.myform.t48.value;
  1834.  if(ads=="") ads=0;
  1835.      document.myform.t48.value=parseFloat(ads)+parseFloat(rmb);
  1836.     }
  1837.       if(arr.indexOf("49",0)>0)
  1838.    { 
  1839.      var ads=document.myform.t49.value;
  1840.  if(ads=="") ads=0;
  1841.      document.myform.t49.value=parseFloat(ads)+parseFloat(rmb);
  1842.     }
  1843.     }
  1844. }
  1845. function txt(ta,num)
  1846.  nums=num+",";
  1847.  if(ta.value=="")
  1848.   { 
  1849.    this.myform.check.value=(this.myform.check.value).replace(nums,"");
  1850.   }else
  1851.   {
  1852.    if(this.myform.check.value.indexOf(num)<0)
  1853.    this.myform.check.value+=nums;
  1854.   }
  1855. }
  1856. function Isnum(){
  1857.   return ((event.keyCode >= 48) && (event.keyCode <= 57));
  1858. }
  1859. function alls(arr)
  1860. {
  1861. var ss=c;
  1862. this.myform.check.value="01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,";
  1863. b01.style.background=ss;
  1864. b02.style.background=ss;
  1865. b03.style.background=ss;
  1866. b04.style.background=ss;
  1867. b05.style.background=ss;
  1868. b06.style.background=ss;
  1869. b07.style.background=ss;
  1870. b08.style.background=ss;
  1871. b09.style.background=ss;
  1872. b10.style.background=ss;
  1873. b11.style.background=ss;
  1874. b12.style.background=ss;
  1875. b13.style.background=ss;
  1876. b14.style.background=ss;
  1877. b15.style.background=ss;
  1878. b16.style.background=ss;
  1879. b17.style.background=ss;
  1880. b18.style.background=ss;
  1881. b19.style.background=ss;
  1882. b20.style.background=ss;
  1883. b21.style.background=ss;
  1884. b22.style.background=ss;
  1885. b23.style.background=ss;
  1886. b24.style.background=ss;
  1887. b25.style.background=ss;
  1888. b26.style.background=ss;
  1889. b27.style.background=ss;
  1890. b28.style.background=ss;
  1891. b29.style.background=ss;
  1892. b30.style.background=ss;
  1893. b31.style.background=ss;
  1894. b32.style.background=ss;
  1895. b33.style.background=ss;
  1896. b34.style.background=ss;
  1897. b35.style.background=ss;
  1898. b36.style.background=ss;
  1899. b37.style.background=ss;
  1900. b38.style.background=ss;
  1901. b39.style.background=ss;
  1902. b40.style.background=ss;
  1903. b41.style.background=ss;
  1904. b42.style.background=ss;
  1905. b43.style.background=ss;
  1906. b44.style.background=ss;
  1907. b45.style.background=ss;
  1908. b46.style.background=ss;
  1909. b47.style.background=ss;
  1910. b48.style.background=ss;
  1911. b49.style.background=ss;
  1912. }