function ClearText(MyText)
{
	if(MyText=='Search MCC Web Site')
	{
		googleThis.q.value = '';
	}
} // end function ClearText()

function SetText(MyText)
{
	if(MyText == '')
	{
		googleThis.q.value = 'Search MCC Web Site';
	}
} // end function SetText()

function GoToURL(MyText)
{
	MyText = MyText.toLowerCase()
	switch(MyText)
	{
		case 'search mcc web site':
		{
			alert('Please enter your search text.');
			googleThis.q.focus;
			return false;
		} // end case 1
		case '':
		{
			alert('Please enter your search text.');
			googleThis.q.focus;
			return false;
		} // end case 2
		case 'blackboard':
		{
			location.href='http://bboard.mcckc.edu'
			return false;
		} // end case 3
		case 'black board':
		{
			location.href='http://bboard.mcckc.edu'
			return false;
		} // end case 4
		case 'bboard':
		{
			location.href='http://bboard.mcckc.edu'
			return false;
		} // end case 5
		case 'phone':
		{
			location.href='http://mcckc.edu/home.asp?qlinks=SearchPhone'
			return false;
		} // end case 6
		case 'directory':
		{
			location.href='http://mcckc.edu/home.asp?qlinks=SearchPhone'
			return false;
		} // end case 7
	} // end switch
} // end function GoToURL()
