 function makeVisible(whichNavs)
 {
 document.getElementById(whichNavs).style.display=(document.getElementById(whichNavs).style.display=="none")?"block":"none";
 }
 
function jumpTo(URL_List){
   var URL = URL_List.options[URL_List.selectedIndex].value;
   window.location.href = URL;
}

function sermonSelect() {
HTMLstring='<FORM>\n';
HTMLstring+='<select name="sermons" size=1 onChange="jumpTo(this);">\n';
HTMLstring+='<option value="#" selected>Select another sermon...</option>\n';
HTMLstring+='<option value="#"> </option>\n';
HTMLstring+='<option value="#">2005</option>\n';
HTMLstring+='<option value="#">---------------------------------</option>\n';
HTMLstring+='</select>\n';
HTMLstring+='</FORM>\n';
document.write(HTMLstring);
}

// popup window
function openPopUp(popURL)
			{   // use these to set the height and width of the window
				if (openPopUp.arguments[1]) popWidth=openPopUp.arguments[1];
					else popWidth  = 700;
				if (openPopUp.arguments[2]) popHeight=openPopUp.arguments[2];
					else popHeight = 550;
			
			     // see if we've got a mac
			    if (navigator.userAgent.indexOf("Mac") >= 0 || navigator.userAgent.indexOf("PPC") >= 0)
					 menuVar = 'yes';
			    else menuVar = 'no';
			
			     // make the call to create the new window
			    myNewPopUp = open(popURL,"myPopUp","outerwidth="+popWidth+",outerheight="+popHeight
						+",width=" + popWidth + ",height=" + popHeight + ",menubar=" + menuVar
						+",toolbar=no,location=no,directories=no,status=no,"
						+"scrollbars=yes,resizable=yes");
			    if (myNewPopUp.opener == null) myNewPopUp.opener = window;
			    myNewPopUp.opener.name = "origPopUp";
			    myNewPopUp.focus(); 
				
			}


// -->

