function changeText(num,div_num){

var new_text='<table cellspacing="0" cellpadding="0"><tr><td '+size[num]+' align="left" valign="top"><img '+size[num]+' src="'+img[num]+'" alt="'+title_img[num]+'"></td></tr><tr><td >'+title_img[num]+'</td></tr></table>';
            if(div_num==1){
               oMessage1.writeIt(new_text , num,div_num);
            }

}

function changeTextInit(){

            oMessage1 = new makeChangeTextObj('divMessage1');

            //Setting the style properties of the text layer.

            //Both layers are hidden by default to prevent users from mousing over them and creating errors while the page loads.
            oMessage1.css.visibility= 'visible';

}

function lib_bwcheck(){
   this.ver=navigator.appVersion
   this.agent=navigator.userAgent
   this.dom=document.getElementById?1:0
   this.opera5=this.agent.indexOf("Opera 5")>-1
   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=new lib_bwcheck()

if(document.layers){ //NS4 resize fix...
   scrX= innerWidth; scrY= innerHeight;
   onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }
}

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;
}

//ChangeText object constructor
function b_writeIt(text,num,div_num){
   this.writeref.innerHTML = text
}

//for userrating
function makeChangeTextObj_userrating(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_userrating;
}
function b_writeIt_userrating(text){
   this.writeref.innerHTML = text

}

if (bw.bw){
   //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
}

/****
Variables to set
****/
img=new Array()
title_img=new Array()
text_title=new Array()
mytext=new Array()
size=new Array()
max_size=new Array()
