/*
'---------------------------------------------------------------------------
'  Name        : clear_text.js
'  Type        : JavaScript
'  Author      : Jason King
'  Description : Clear the text for a given form input field
'  Parameters  : field - the input text field to clear
'  Copyright   : Tycoon Software Ltd 2009
'---------------------------------------------------------------------------
*/

function clearText(field)
{

  if (field.defaultValue == field.value) {
    field.value = "";
  }
  
} 