 {
   client.print F("<!DOCTYPE html> <html> <head> <base href=\"http://");
   client.print  (myIP);
-  client.println F("\"> </head> <body><form action=\"/\">");
+  client.println("\"> </head> <body> ");
+  client.println("<form action=\"/\">");
   client.println("Stimulus duration (s) <BR>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"one\" value=\"1000\">1<br>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"three\" value=\"3000\">3<br>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"five\" value=\"5000\">5<br>");
   client.println("");
-  client.println("<p style=\"color:red\"><HR>Background");
+  client.println("<p style=\"color:red\"><HR>Blue Background");
   client.println("");
   client.print("<input type=\"number\" id=\"myNumber\" name=\"background\" value=\"");
   client.print(myBackground);



//
byte usedLED  = 0;
const byte fiberLED = 8 ;
const byte noContactLED = 2;


  client.print("<input type=\"number\" id=\"myIntensity\" name=\"intensity\" value=\"");
  client.print(myIntensity);
  client.println("\">");
  client.println("<input type=\"submit\" value=\"Submit\">");
  client.println("</td><td>");
  client.println("<input type=\"radio\" name=\"col\" id=\"red\" value=\"1\">red<br>");
  client.println("<input type=\"radio\" name=\"col\" id=\"green\" value=\"2\">green<br>");
  client.println("<input type=\"radio\" name=\"col\" id=\"blue\" value=\"3\">blue<br><BR>");
  client.println("</td></tr></table> </form><BR>Intensity Presets: <BR>");

  client.println("<button onclick = 'document.getElementById( \"myIntensity\" ).value = 0 '> 0 </button> ");
  client.println("<button onclick = 'document.getElementById( \"myIntensity\" ).value = 64 '> 64 </button> ");
  client.println("<button onclick = 'document.getElementById( \"myIntensity\" ).value = 128 '> 128 </button> ");
  client.println("<button onclick = 'document.getElementById( \"myIntensity\" ).value = 255 '> 255 </button><BR> ");
  client.println("<button onclick = 'document.getElementById( \"myIntensity\" ).value = document.getElementById( \"myNumber\" ).value '> Background </button><BR> " );
  client.println("");
  switch (myCol)
  {
    case 1:
      client.println("<script>var stimColor = \"red\";");
      break;
    case 2:
      client.println("<script>var stimColor = \"green\";");
      break;
    case 3:
    default:
      client.println("<script>var stimColor = \"blue\";");
      break;
  }
  client.println("document.getElementById(stimColor).checked = true; </script>");

  client.println("");
  switch (myTime)
  {
    case 1000:
      client.println("<script>var stimTime = \"one\";");
      break;
    case 3000:
    default:
      client.println("<script>var stimTime = \"three\";");
      break;
    case 5000:
      client.println("<script>var stimTime = \"five\";");
      break;
  }
  client.println("document.getElementById(stimTime).checked = true; </script>");
  client.println("");
  client.println("</body></html>");
}
