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= "Verdana, Arial, Helvetica, sans-serif"	// 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]="&nbsp" 

messages[7]="Fred Zerafa"
messages[8]="Lino Debono"
messages[9]="Bob Jung"
messages[10]="Brian Taylor"
messages[11]="Doug Thorburn"
messages[12]="David Debono"
messages[13]="Tony Camilleri"
messages[1]="Stephen Bartolo"
messages[14]="Bruce Fenton"
messages[3]="Chuck Dingli"
messages[15]="Abel Borg"
messages[16]="Marilyn Zuccarelli"
messages[17]="Jennifer Fabbro"
messages[18]="Fabian Frendo"
messages[19]="Louis Attard"

messages[20]="Angelo Falzon"
messages[21]="John Sant"
messages[22]="Martina Dimech"
messages[23]="Susan Attard"
messages[24]="Paul Sammut"
messages[4]="Sandra Dingli"
messages[25]="John McGuigan"
messages[26]="John Bonnici"
messages[27]="Bob Wilson"
messages[28]="Joe Gauci"
messages[29]="Gary Lynn"
messages[30]="Leli Grech"
messages[31]="Tony Attard"
messages[32]="Francis Catania"
messages[33]="Mary Ann Farrugia"
messages[34]="Leli Vella"

messages[35]="Maria Grech"
messages[46]="Charlie Dimech"
messages[36]="Carmel Dingli"
messages[37]="Emmanuel Camilleri"
messages[38]="Mike Azzopardi"
messages[39]="Sam Caruana"
messages[40]="Danny Wilks"
messages[41]="Mario Dumbock"
messages[42]="Paul Mizzi"
messages[43]="Charlie Bonnano"
messages[44]="George Pulo"
messages[45]="Charlie Vella"

messages[6]="Sam Borg"
messages[2]="Victoria Bartolo"
messages[47]="Pat Burkell"
messages[48]="Joanne Fabbro"
messages[5]="Melissa Dingli"
messages[49]="Danielle Zuccarelli"
messages[50]="Kirsten Mizzi"
messages[51]="Lianne Camilleri"
messages[52]="Brandon Frendo"
/********************************************************************************
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){
	oMessage = new makeChangeTextObj('divMessage')
	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
