//if you want to use jquery
$(document).ready( function () {                      
    
      inputClear('#searchText', 'Search');
    
});

/* used to get rid of _blank so your code validates w3c stylee */
function setExternalLinks() {
  var el_list = document.getElementsByTagName('A');
  for (i=0; i<el_list.length; i++) {
    if (el_list[i].getAttribute('rel') == 'external') {
      el_list[i].setAttribute('target', '_blank');
    }
  }
}

/* Check's users version of Flash */
function checkFlash (version) {
    return DetectFlashVer(version, 0, 0);
}

function inputClear(inputID, inputText) {
    $(inputID).focus(function() {
        if ($(this).attr('value').toLowerCase() == inputText.toLowerCase())
            $(this).attr('value', '');
    });
    $(inputID).blur(function() {
        if ($(this).attr('value') == '')
            $(this).attr('value', inputText);
    });
}
