var undefined;

function LaunchCalc(myURL)
	{
	myBase = "https://gateway.fundsxpress.com/calculators/";
	window.open(myBase + myURL,'','width=585,height=450,scrollbars=yes,resizable=yes');
	}
	
function LinkAlert(URL)
	{
	BANK_NAME = "First National Bank";
	MSG =       "You are leaving "+BANK_NAME+"'s website and will be redirected to another site. ";
	MSG = MSG + BANK_NAME+" 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 "+BANK_NAME+".";
	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;
	}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}