﻿function ClearTextBox(sElement,sValue)
{
   if   ( sElement.value.length == 0 )
        {
          sElement.value = sValue ;
        }
   else {
       
   // the textbox onclick event calls this to clear down a textbox when it is first clicked on
        if ( sElement.value == sValue )
            {
             sElement.value = "" ;
            }
        }
}