function MM_jumpMenu(targ,selObj,restore)
{
	var op = selObj.options[selObj.selectedIndex];

	if ( (op.text.toLowerCase() == 'view bbfaa member benefits') || (op.text.toLowerCase() == 'view bbfaa member benefits') || (op.text.toLowerCase() == 'update your calendar') )
	{
		//location = op.value;
		window.open(op.value, '', '');
	}
	
	else location = op.value;

	if (restore) selObj.selectedIndex = 0;
}


function preload() {
  if (!document.images) return;
  var ar = new Array();
  var arguments = preload.arguments;
  for (var i = 0; i < arguments.length; i++) {
    ar = new Image();
    ar.src = arguments;
  }
}

	
function ImageSwap(id,name)
{
   if (document.images)
   {
     document.images[id].src=eval(name+".src"); 
   }
}
	
function init()
{
        if (navigator.appName == "Netscape") {
				layerStyleRef="layer.";
				layerRef="document.layers";
				styleSwitch="";
        }else{
				layerStyleRef="layer.style.";
				layerRef="document.all";
				styleSwitch=".style";
		}
}	


/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function noSpam(user,domain) {
		locationstring = "mailto:" + user + "@" + domain;
		window.location = locationstring;
}

function validateminisearch() {

var theMessage = "Please select the following: \n-----------------------------------\n";
var noErrors = theMessage

if (document.minisearch.optone.value=="") {
theMessage = theMessage + "\n --> State";
}
// If no errors, submit the form
if (theMessage == noErrors) {

	
return true;
} else {
// If errors were found, show alert message
alert(theMessage);
return false;
}
}
	
