
/**********************************************************************************   
ChangeText 
*   Copyright (C) 2001 Thomas Brattli
*   This script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Thomas Brattli
*
*   Script date: 08/02/2001 (keep this date to check versions) 
*********************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	return this
}
var bw=lib_bwcheck()
if(document.layers){ //NS4 resize fix...
	scrX= innerWidth; scrY= innerHeight;
	onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }
}

/****
Variables to set 
****/
msgFont= "arial, verdana"	// The font for the message
msgFontSize= 12				// Set the fontSize in px
msgFontColor="#000000"		// Set the fontColor
msgWidth= "300"				// Set the width of the messageblock here for netscape 4

//Set the text you want to display on mouseover here.
messages=new Array()
messages[0]="" //This is the default text that appears when you mouse out.
messages[1]="Photo by Mitsuzki Suzuki (c)2003"
messages[2]="Takana Miyamoto Group @ Atlanta Jazz Festival. Received a standing ovation. May 2002"
messages[3]="Takana Miyamoto group @ Churchill Grounds, Atlanta GA<br> From L to R: C.C. (vocal) , Craig Shaw (Bass), Takana and Woody Williams (Drums and Perc.)"
messages[4]="Photo by Hanayo Takai. www.hanayop.com"
messages[5]="Takana @ Churchill Grounds. Photo by Vincent Tseng"
messages[6]="Nnenna Freelon Quartet in Japan. Attended Japanese Traditional Tea Ceremony @ Takana's parent's house. Garuh (my parent's dog) couldn't sit in the correct manner."
messages[7]="Photo by Hanayo Takai. www.hanayop.com"
messages[8]="Nnenna Freelon group and Take Six @ Kennedy Center, June 2002."
messages[9]="Takana's Group @ MaryJo's. My mother and C.C. sung the original piece 'Hitotsu no Toki o Koe' together"
messages[10]="Photo by Hanayo Takai. www.hanayop.com"
messages[11]="Takana's piano teacher/mentor Kumiko Suzuki from Belltree Music Studio and Takana gave a concert and an interactive workshop at Enjusou Senior Institution in Japan. July 2002"
messages[12]="Takana's Group @ Yuki Music festival feat. Tetsuro Kawashima, Kenji Shimada and Nobu Aoki. July 2002"
messages[13]="Performance with a Brazilian Group 'Sanbauto'. Akira Hiratsuka, the mayor of Yuki (next to Takana) joined in. July 2002"
messages[14]="Nnenna Freelon Quartet @ Across Hall, Yuki, Japan. Nov. 2001"
messages[15]="Nnenna Freelon Quartet featuring the Yuki Choir led  by Masaki Iizuka. Nov. 2001"
messages[16]="Woody Williams and Takana gave a workshop @ Ohya Higashi Elementary school in Japan. All the children learned to improvise on a blues. Nov. 01"
messages[17]="Takana Miyamoto Group featuring Belltree Handbell Choir @ Yuki Music Festival in Japan. July, 2002"
messages[18]="After a duo concert with bassist Daiki Yasukagawa (Takana's left) @ Iida Jazz School, Tokyo, Japan. 7/02"
messages[19]="Photo by Hanayo Takai. www.hanayop.com"
messages[20]="Red Sea Jazz Festival with Russell Gunn (trumpet) and Bionics. Aug 2004"
messages[21]="After a performance at MLK High, GA with Wycliffe Gordon (trombone). 2003"
messages[22]="At Studio Maru at the Piano Tales recording session. Rene Marie (voc), Ali Barr and Fareed Maluhai(voc)."
messages[23]="At Ageha in Tokyo, Japan with Ananda Project. Nov. 2003"
messages[24]="Nnenna Freelon band @ Kennedy Center, Washington DC. where we recorded the 'Nnenna Freelon LIVE' CD. 2003"
messages[25]="At a performance with jazz legend Jimmy Heath @ Morehouse College, Georgia. April 2004"
messages[26]="Xmas concert @ Belltree music studio in Tochigi, Japan w/ Quentin Baxter (Dr), Shin Kamimura (Bass) & Yasuko Gotoh (Voc)"
messages[27]="Xmas concert @ Belltree music studio in Tochigi, Japan w/ Quentin Baxter (Dr), Shin Kamimura (Bass) & Yasuko Gotoh (Voc)"



/********************************************************************************
You don't have to change anything below this
*****************************	***************************************************/

//ChangeText object constructor.
function makeChangeTextObj(obj){
   	this.css = bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;	
   	this.writeref = bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj].document:0;	
	this.writeIt = b_writeIt;					
}
function b_writeIt(text,num){
	if (bw.ns4){
		this.writeref.write(text)
		this.writeref.close()
	}
    else this.writeref.innerHTML = messages[num]
}

//The mouoseover function. Calls the writeIt method to write the text to the div.
function changeText(num){
	if(bw.bw) oMessage.writeIt('<table width="'+msgWidth+'" border="0" cellpadding="0" cellspacing="0"><tr><td><span style="font-size:'+msgFontSize+'px; font-family:'+msgFont+'; color:'+msgFontColor+'">'+messages[num]+'</span></td></tr></table>', num)
}

//The init function. Calls the object constructor and initiates some properties.
function changeTextInit(){
	//Fixing the browsercheck for opera... this can be removed if the browsercheck has been updated!!
	bw.opera5 = (navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?true:false
	if (bw.opera5) bw.ns6 = 0
	
	oMessage = new makeChangeTextObj('divMessage')
	oLinks = new makeChangeTextObj('divLinks')
	
	//Setting the style properties of the text layer.
	if(bw.dom || bw.ie4){
		with(oMessage.writeref.style){fontFamily=msgFont; fontSize=msgFontSize+"px"; color=msgFontColor;}
	}
	//Both layers are hidden by default to prevent users from mousing over them and creating errors while the page loads.
	oMessage.css.visibility= "visible"
	oLinks.css.visibility= "visible"
}

//If the browser is ok, the init function is called on pageload. 
if (bw.bw) onload = changeTextInit
