String.prototype.trim = function () {
    return this.replace(/^\s*/, "").replace(/\s*$/, "");
}
window.onload = function ()
{
	document.getElementById("searchTerm").onclick = function ()
	{
		if(this.value == "Search")
		{
			this.value = "";
		}
	}
	document.getElementById("searchTerm").onblur = function ()
	{
		if(this.value.trim() == "")
		{
			this.value = "Search";
		}
	}
}