/********************************************************************************
This script is made by and copyrighted to Thomas Brattli at www.bratta.com
Visit www.bratta.com/dhtml for more great scripts. This may be used freely as 
long as this msg is intact! I'd appriciate any links to my page.
********************************************************************************/

//You have to set some variables here:

//Set the font for the msg
msgFont='verdana'

//Set the fontSize in px
msgFontSize=9

//Set the fontColor
msgFontColor="#B7B7B7"

/********************************************************************************
Here's the array that holds the text to change the divmessage to
when you mouseover. Change the text here
********************************************************************************/
messages=new Array(10)
messages[0]="Nieuws"
messages[1]="Nederlandse versie"
messages[2]="English version"
messages[3]="Home"
messages[4]="Nieuws"
messages[5]="Wereldkind"
messages[6]="Veel gestelde vragen"
messages[7]="Links"
messages[8]="Contact"
messages[9]=""
messages[10]="Inhoudsopgave / voorwoord"
messages[11]="&nbsp;&nbsp;&nbsp;Reviews and quotes of the press ..."
messages[11]="&nbsp;&nbsp;&nbsp;Reviews and quotes of the press ..."
messages[11]="&nbsp;&nbsp;&nbsp;Reviews and quotes of the press ..."
messages[11]="&nbsp;&nbsp;&nbsp;Reviews and quotes of the press ..."
messages[11]="&nbsp;&nbsp;&nbsp;Reviews and quotes of the press ..."

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

//Browsercheck:
ie=document.all?1:0
n=document.layers?1:0

/********************************************************************************
Constructing the ChangeText object
********************************************************************************/
function makeChangeTextObj(obj){												
   	this.writeref=(n) ? eval('document.'+obj+'.document'):eval(obj);		
	this.writeIt=b_writeIt;					
}
function b_writeIt(text){
	if(n){
		this.writeref.write(text)
		this.writeref.close()
	}
	if(ie)this.writeref.innerHTML=text		
}
/********************************************************************************
The function that calls objects write function with the corect font size
and such onmouseover and mouseout.
********************************************************************************/
function changeText(num){
	if(ie || n) oMessage.writeIt('<span style="font-size:' +msgFontSize+'px; font-family:'+msgFont+'; color:'+msgFontColor+'">'+messages[num]+'</span>')
}

/********************************************************************************
This calls the object constructor
********************************************************************************/
function changeTextInit(){
	if(ie || n) oMessage=new makeChangeTextObj('divMessage')	
}

//Calls the init function on pageload
onload=changeTextInit
