function submitform(f) {
	if (f.member.value != "") { f.submit(); }
}
function preselectMember() {
	var mySelect = document.getElementById('cta_member'); // get select box
	if (!mySelect) return;
	var qs = window.location.search; // get the query string
	var member = "";
	if (qs) { // if there's a query string
		qs = qs.substr(1); // remove the ? at the front
		qs = qs.split("&"); // split into variables
		for (i=0; i<qs.length; i++) {
			qs[i] = qs[i].split("="); // split into pairs
			if (qs[i][0] == "member") { // found the one we need?
				member = qs[i][1];
				break;
			}
		}
	}
	
	if (member != "") { // advisor found in the query string
		for (i=0; i<mySelect.length; i++) { // go throught the select box options
			if (mySelect.options[i].value == member) { // found the advisor?
				mySelect.options[i].selected=true; // select them
				break;
			}
		}
	}
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
