// JavaScript Document
// functions for setting the value of input boxes when no labels are displayed
// these functions are called from HTML declaration of CSS in the DB (section #1)
function InitVals(pNameVal, pEmailVal, pButton)
{
   $k = document.getElementsByTagName("INPUT");
   for($count = 0;$count < $k.length;$count++)
   {
      if($k[$count].name == "fname")   // set the name
      {
         $k[$count].value = pNameVal;
      }
      if($k[$count].name == "email")   // set the email
      {
         $k[$count].value = pEmailVal;
      }
      if($k[$count].type == "submit")
      {
         $k[$count].value = pButton;   // set the button
      }
   }
   return true;
}
