/*var navButtons = new Array ();
navButtons[0] = "home";
navButtons[1] = "intro";
navButtons[2] = "performances";
navButtons[3] = "recordings";
navButtons[4] = "players";
navButtons[5] = "archives";
navButtons[6] = "instruments";
navButtons[7] = "contact";
var buttonName="";
*/
var defaultTxt = "...click on a player's name for more information...";
var kimTxt = "Kim joined Anak Swarasanti in the summer of 2005. She started out playing the anchor <i>jegog</i> instrument - her first instrument ever. She fell under the spell of gamelan after seeing Gamelan Sekar Jaya perform with the Residents in San Francisco in 2000. These days she is often out at sea on a Monterey Bay Aquarium Research Institute research vessel and is only able to play occasionally with the group.";
var codyTxt = "Cody saw Anak Swarasanti play at a performance at the Cabrillo College theater in late 2007 with I Made Surya and Judy Slattum, and joined the group shortly thereafter. Cody is a student at Cabrillo College and also plays guitar. ";
var connieTxt = "Connie started playing gamelan with Lou Harrison, and joined Anak Swarasanti in 2004 after running into Martin at Lou's house in Aptos. When she is not playing gamelan she runs a small book-binding business.";
var janiceTxt = "Janice joined the group in early 2009 and quickly became an expert <i>jegog</i> player. She has now moved up to the more challenging <i>kantil</i> part. In her non-gamelan life Janice has a clinical psychology practice in Santa Cruz.";
var lawrenceTxt = "Lawrence had played in the UCSC Balinese Gamelan Swarasanti with Martin as a student back in the early 90's. Since then he has traveled extensively in India and China, and returned to Anak Swarasanti in 2008.";
var mikeTxt = "Mike started his gamelan career in late 2004. After being deeply inspired by an amazing <i>beleganjur/kecak</i> performance in Santa Cruz, Michael discovered an opportunity to audition for Anak Swarasanti and has been feeling pretty blessed to be a member ever since.";
var astridTxt = "Astrid has been playing with the group since its inception. She finds the big gongs spiritually grounding, and decorated her favorite gong with a beautiful ritual gold design. She has been playing gamelan since 1996 and has recently taken a hiatus but as a founding member she still takes an active interest in the group.";
var martinTxt = "Martin has been a gamelan addict for longer than he cares to remember, and has been playing with UCSC's group Swarasanti under the direction of Linda Burman-Hall since the instruments arrived from Bali in 1992 - he currently serves as Assistant Director, and has taught the Balinese gamelan class at UCSC on and off since 2001. In 1997, he co-founded Anak Swarasanti as an advanced group to bring this fascinating music to new audiences around the Bay Area, and to explore new frontiers of gamelan, perhaps most notably within the San Francisco rave community.";
var bavaniTxt = "Bavani and her friend Connie kept serendipitously crossing paths with Martin and the gamelan throughout early 2004 until they both decided to join the group. Bavani spends part of every year in India.";
var elizabethTxt = "Elizabeth started playing gamelan in 2001 with Gamelan Swarasanti, under Linda Burman-Hall. After graduating she moved away to Memphis, Tennessee, but returned to Santa Cruz in 2005 and immediately joined Anak Swarasanti. Amazingly she still remembers most of the pieces. Elizabeth is now primarily occupied with music teaching but joins the group as time allows.";

if (document.images) {
var kim = new Image();
kim.src = "players_images/kim.jpg";

var cody = new Image();
cody.src = "players_images/cody.jpg";

var connie = new Image();
connie.src = "players_images/connie.jpg";

var janice = new Image();
janice.src = "players_images/janice.jpg";

var lawrence = new Image();
lawrence.src = "players_images/lawrence.jpg";

var mike = new Image();
mike.src = "players_images/mike1.jpg";

var astrid = new Image();
astrid.src = "players_images/astrid.gif";

var martin = new Image();
martin.src = "players_images/martin3a.jpg";

var bavani = new Image();
bavani.src = "players_images/bavani.jpg";

var elizabeth = new Image();
elizabeth.src = "players_images/elizabeth1.jpg";

//off states
var home = new Image();
var intro = new Image();
var performances = new Image();
var recordings = new Image();
var players = new Image();
var archives = new Image();
var instruments = new Image();
var contact = new Image();
var upcomingperformances = new Image();
var pastperformances = new Image();
var upcomingperformances2 = new Image();
var pastperformances2 = new Image();
var angklung = new Image();
var beleganjur = new Image();
var otherstyles = new Image();
// on states
var home_on = new Image();
var intro_on = new Image();
var performances_on = new Image();
var recordings_on = new Image();
var players_on = new Image();
var archives_on = new Image();
var instruments_on = new Image();
var contact_on = new Image();
var upcomingperformances_on = new Image();
var pastperformances_on = new Image();
var upcomingperformances2_on = new Image();
var pastperformances2_on = new Image();
var angklung_on = new Image();
var beleganjur_on = new Image();
var otherstyles_on = new Image();
//set image sources
home.src = "/images/nav/home.gif";
home_on.src = "/images/nav/home_on.gif";
intro.src = "/images/nav/intro.gif";
intro_on.src = "/images/nav/intro_on.gif";
performances.src = "/images/nav/performances.gif";
performances_on.src = "/images/nav/performances_on.gif";
players.src = "/images/nav/players.gif";
players_on.src = "/images/nav/players_on.gif";
recordings.src = "/images/nav/recordings.gif";
recordings_on.src = "/images/nav/recordings_on.gif";
instruments.src = "/images/nav/instruments.gif";
instruments_on.src = "/images/nav/instruments_on.gif";
archives.src = "/images/nav/archives.gif";
archives_on.src = "/images/nav/archives_on.gif";
contact.src = "/images/nav/contact.gif";
contact_on.src = "/images/nav/contact_on.gif";
upcomingperformances.src = "/images/nav/upcomingperformances.jpg";
upcomingperformances_on.src = "/images/nav/upcomingperformances_on.jpg";
pastperformances.src = "/images/nav/pastperformances.jpg";
pastperformances_on.src = "/images/nav/pastperformances_on.jpg";
upcomingperformances2.src = "/images/nav/upcomingperformances.jpg";
upcomingperformances2_on.src = "/images/nav/upcomingperformances_on.jpg";
pastperformances2.src = "/images/nav/pastperformances.jpg";
pastperformances2_on.src = "/images/nav/pastperformances_on.jpg";
angklung.src = "/images/nav/angklung.jpg";
angklung_on.src = "/images/nav/angklung_on.jpg";
beleganjur.src = "/images/nav/beleganjur.jpg";
beleganjur_on.src = "/images/nav/beleganjur_on.jpg";
otherstyles.src = "/images/nav/otherstyles.jpg";
otherstyles_on.src = "/images/nav/otherstyles_on.jpg";
}

function rollOver(imgName,state) {
	if (state==0) {
    	document.images[imgName].src = eval(imgName + ".src");
	}
	if (state==1) {
		document.images[imgName].src = eval(imgName + "_on.src");
	}
}

function getPic(ringer, state) {
	if(document.getElementById){
		if(state==0){
			document.images.ringer.src = "players_images/group_vsm.jpg";
			document.getElementById('player_info').innerHTML = defaultTxt;
			document.ringer.alt = ringer;
		}
		if (state==1){
			document.images.ringer.src = eval(ringer + ".src");
			document.getElementById('player_info').innerHTML = eval(ringer + "Txt");
			document.ringer.alt = ringer;
		}
	}
	else {
		document.images.ringer.src = "players_images/group_vsm.jpg";
		document.images.ringer.src = eval(ringer + ".src");
		document.ringer.alt = "Gamelan Anak Swarasanti";
	}
}

