// Navigation functions
	function gotoDirectors() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/directors.php";
	}
	function gotoMembers() {
		parent.frames[1].location = "/sfp/about/about_nav_2.php";
		parent.frames[2].location = "/sfp/about/sections.php";
	}
	function gotoScrapbook() {
		parent.frames[1].location = "/sfp/about/about_nav_3.php";
		parent.frames[2].location = "/sfp/about/scrapbook.php";
	}
	function gotoBen() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/ben.php";
	}
	function gotoJesse() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/jesse.php";
	}
	function gotoReid() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/reid.php";
	}
	function gotoSheila() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/sheila.php";
	}
	function gotoBob() {
		parent.frames[1].location = "/sfp/about/about_nav_1.php";
		parent.frames[2].location = "/sfp/about/bob.php";
	}
	function gotoHometownLive() {
		parent.frames[1].location = "/sfp/recordings/recordings_nav_1.php";
		parent.frames[2].location = "/sfp/recordings/hometown_live.php";
	}
	function gotoBetterThanBingo() {
		parent.frames[1].location = "/sfp/recordings/recordings_nav_2.php";
		parent.frames[2].location = "/sfp/recordings/better_than_bingo.php";
	}
	function gotoMothersRequest() {
		parent.frames[1].location = "/sfp/recordings/recordings_nav_3.php";
		parent.frames[2].location = "/sfp/recordings/mothers_request.php";
	}
	function gotoOldMillPond() {
		parent.frames[1].location = "/sfp/recordings/recordings_nav_4.php";
		parent.frames[2].location = "/sfp/recordings/old_mill_pond.php";
	}
	function gotoRootsGoDeep() {
		parent.frames[1].location = "/sfp/recordings/recordings_nav_5.php";
		parent.frames[2].location = "/sfp/recordings/roots_go_deep.php";
	}
	function gotoOrderingInfo() {
		parent.frames[0].location = "/sfp/recordings/header.php";
		parent.frames[1].location = "/sfp/recordings/recordings_nav.php";
		parent.frames[2].location = "/sfp/recordings/ordering_info.php";
	}
	function gotoHighlights() {
		parent.frames[1].location = "/sfp/news/news_nav_1.php";
		parent.frames[2].location = "/sfp/news/highlights.php";
	}	
	function gotoNewsletter() {
		parent.frames[1].location = "/sfp/news/news_nav_2.php";
		parent.frames[2].location = "/sfp/news/newsletter.php";
	}	

// open T-Shirt Ordering info page in a pop-up window
function openTshirtInfoWindow() {
	var goToURL = "/sfp/common/tshirt_info.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=665,height=532,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'Tshirt', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Booking Inquiry form in a pop-up window
function openBookingForm() {
	var goToURL = "http://www.salinefiddlers.com/sfp/booking/bookingform.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=650,height=400,left=100,top=70";
	
	var popupWin = window.open(goToURL, 'bookingform', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Sponsorship Benefits info page in a pop-up window
function openSponsorInfoWindow() {
	var goToURL = "http://www.salinefiddlers.com/sfp/friends/sponsor_benefits.php";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=750,height=600,left=100,top=70";
	
	var popupWin = window.open(goToURL, 'sponsorinfo', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Auditorium Floorplan form in a pop-up window
function openFloorPlanWindow() {
	var goToURL = "http://www.salinefiddlers.com/sfp/auditorium_plan.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=665,height=532,left=100,top=70";
	var popupWin = window.open(goToURL, 'seatchart', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Middle School Auditorium Floorplan form in a pop-up window
function openMSFloorPlanWindow() {
	var goToURL = "http://www.salinefiddlers.com/sfp/ms_auditorium_plan.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=665,height=532,left=100,top=70";
	var popupWin = window.open(goToURL, 'seatchart', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Ticket Order form in a pop-up window
function openTicketFormWindow() {
	var goToURL = "/sfp/order_intro_oct10.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=665,height=655,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'tickets', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Auditions info page in a pop-up window
function openAuditionsWindow() {
	var goToURL = "/sfp/schedule/auditions.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=no,resizable=yes,copyhistory=0,width=665,height=532,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'new', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Newsletter E-Mailing List form in a pop-up window
function openENewsFormWindow() {
	var goToURL = "/sfp/news/e_newslist.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=500,height=285,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'Enews', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Mailing List form in a pop-up window
function openMLFormWindow() {
	var goToURL = "/sfp/contact/mailinglist.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=500,height=550,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'mailList', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Sponsorship Info form in a pop-up window
function openSponsorFormWindow() {
	var goToURL = "/sfp/contact/sponsorship.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=500,height=550,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'sponsor', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open Contact Us form in a pop-up window
function openContactFormWindow() {
	var goToURL = "/sfp/contact/contactform.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=500,height=550,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'contactus', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// open GuestBook form in a pop-up window
function openGBFormWindow() {
	var goToURL = "/sfp/guestbook/guestbook_sign.html";
	var optionsList = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,width=500,height=550,left=50,top=50";
	
	var popupWin = window.open(goToURL, 'guestBook', optionsList);
	if (window.focus) {
		popupWin.focus();
	}
}

// standard rollover code
function ChangeImage() {
	if (document.images) {
		if (ChangeImage.arguments.length == 4)
			document[ChangeImage.arguments[0]].src = ChangeImage.arguments[3] + '/' + ChangeImage.arguments[1];
		else
			document[ChangeImage.arguments[0]].src = 'images/' + ChangeImage.arguments[1];
		}

	if (ChangeImage.arguments.length > 2)
		window.status=ChangeImage.arguments[2];
}

// rollover code within a named layer
function ChangeImageEx() {
	if (document.images) {
		if (ChangeImageEx.arguments.length == 5)
			{
			if (document.layers) 
				document.layers[ChangeImageEx.arguments[0]].document[ChangeImageEx.arguments[1]].src = ChangeImageEx.arguments[4] + '/images/' + ChangeImageEx.arguments[2];
			else
				document[ChangeImageEx.arguments[1]].src = ChangeImageEx.arguments[4] + '/images/' + ChangeImageEx.arguments[2];

			if (ChangeImageEx.arguments.length > 2)
				window.status=ChangeImageEx.arguments[3];
			}				

		if (ChangeImageEx.arguments.length == 6)
			{
			if (document.layers) 
				document.layers[ChangeImageEx.arguments[0]].document.layers[ChangeImageEx.arguments[1]].document[ChangeImageEx.arguments[2]].src = ChangeImageEx.arguments[5] + '/images/' + ChangeImageEx.arguments[3];
			else
				document[ChangeImageEx.arguments[2]].src = ChangeImageEx.arguments[5] + '/images/' + ChangeImageEx.arguments[3];

			if (ChangeImageEx.arguments.length > 2)
				window.status=ChangeImageEx.arguments[4];
			}	
		}
}

// return true if current browser is NS 4.x
function isNetscape()
{
	var browser = navigator.appName;
	var version =  parseInt(navigator.appVersion);
	if (browser == "Netscape" && version <= 4) {
		return true;
	} else {
		return false;
	}
}

// return true if current browser is NS 6.x
function isNS6()
{
	var browser = navigator.appName;
	var version =  parseInt(navigator.appVersion);
	if (browser == "Netscape" && version >= 5) {
		return true;
	} else {
		return false;
	}
}


// return true if current browser is IE
function isIE()
{
	var browser = navigator.appName;
	if (browser == "Microsoft Internet Explorer") {
		return true;
	} else {
		return false;
	}
}

