function clrsearchTxtbox()
{
	if(document.getElementById('txtSearchText'))
	{
		if (document.frmSearch.txtSearchText.value == "Enter search")
		{
			document.frmSearch.txtSearchText.value = '';
		}
	}
}

String.prototype.ltrim = function() {
	try
	{
		return this.replace(/^\s+/,'');
	}
	catch(e)
	{
		errorHandler(e, "String.ltrim()");
	}
}

String.prototype.rtrim = function() {
	try
	{
		return this.replace(/\s+$/,'');
	}
	catch(e)
	{
		errorHandler(e, "String.rtrim()");
	}
}

String.prototype.trim = function() {
	try
	{
		return this.replace(/^\s+/,'').replace(/\s+$/,'');
	}
	catch(e)
	{
		errorHandler(e, "String.trim()");
	}
}