/**
* Clear a text field or text area
*
* If the element with the ID of frmId has a value
* matching the it's default value then clear the 
* element value. Doing it this way keeps any user input 
* from being cleared on refocus.
*
* ex.  
* <input type="text" id="search" value="search here" onFocus="clearText(this.id)"/>
*
* @author James Grundner <jgrundner@dyrectmedia.com>
* @param string The form element's id attribute
*/
function clearText(frmId)
{
	if (document.getElementById(frmId).value == document.getElementById(frmId).defaultValue)
	{
		document.getElementById(frmId).value = "" ;
	}
}
