var undefined;

function Calculator(myURL)
	{
	myBase = "http://gateway.fundsxpress.com/calculators/";
	window.open(myBase + myURL,'','width=585,height=450,scrollbars=yes,resizable=yes');
	}
		
function LinkAlert(URL)
	{
	MSG =       "You are leaving Guaranty Bank's website and will be redirected to another site. ";
	MSG = MSG + "Guaranty Bank makes no endorsements or claims about the accuracy or content of ";
	MSG = MSG + "the information contained in these sites.  The security and privacy policies on ";
	MSG = MSG + "these sites may be different than those of Guaranty Bank.";
	if (URL!=undefined) 
		{
		if (confirm(MSG)) window.open(URL,"_blank");
		}
	else return confirm(MSG);
	}
	
function SearchSite()
	{
	myQuery = document.f.NewQuery.value;
	UpdateQuery = myQuery + " site:www.resourcebk.com";
	document.f.q.value = UpdateQuery;
	}