<!--

/*
  very simple "onClick" function
  :: if the element is showing close it, if not the show it ;)
*/

function showClose(theElement)
{
    if (document.getElementById(theElement).style.display == '')
      document.getElementById(theElement).style.display = 'none';
    else
      document.getElementById(theElement).style.display = '';
}

// clear text and add text to the default field
    function clearText(thefield)
    {
          if (thefield.defaultValue == thefield.value)
          {
              thefield.value = '';
          }
    } 

    // onBlur event    
    function addText(thefield)
    {
          // if the field is blank (by being clicked)
          if (thefield.value == "")
          {
                // set it to the default value
                thefield.value = thefield.defaultValue;
          }
    } 

-->
