
	function swfMenu_DoFSCommand(command, args){
		//alert(command + '=' + args);
		if(command == "click"){
			switch(args){
				case "home" :				location.href = "index.php";		break;
				case "aboutUs" :			location.href = "aboutUs.php";		break;
				case "tripReservations" :	location.href = "trips.php";		break;
				case "riderLevel" :			location.href = "riderLevel.php";	break;
				case "photos" :				location.href = "photos.php";		break;
				case "coaching" :			location.href = "coaching.php";		break;
				case "contact" :			location.href = "contact.php";		break;
				//default : alert(command + '=' + args);
			}
		}
	}
	

	/* GOOGLE TOOLBAR OVERRIDE */
	 if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }