	var a=0;
	var divOpacity=0;
	var browser_name=navigator.appName.substr(0,1);
	function myTimerFunction(){
		a++;
		if(a>a_max)a=1;
		if(a<=0)a=a_max-a;
		for(b=1;b<=a_max;b++){
			document.getElementById("lines"+b).style.display="none";	
		}
		document.getElementById("lines"+a).style.display="block";
		fadeIn();
		myTimerObj=setTimeout("myTimerFunction()",8000);
	}
	function fadeIn(){
		divOpacity+=5;
		if(browser_name=="M"){
			document.getElementById("testimonyTable").filters.alpha.opacity=divOpacity;
		}else{
			document.getElementById("testimonyTable").style.MozOpacity=divOpacity/100;
		}
		if(divOpacity>=100){
			divOpacity=0;
			clearTimeout(myFadingObj);
		}else{
			myFadingObj=setTimeout("fadeIn()",100);		
		}
	}
	function nextFrame(){
		divOpacity=0;
		clearTimeout(myFadingObj);
		clearTimeout(myTimerObj);
		myTimerFunction();
	}
	function prevFrame(){
		a-=2;
		divOpacity=0;
		clearTimeout(myFadingObj);
		clearTimeout(myTimerObj);
		myTimerFunction();
	}
	function InitMyTimer(){
		myTimerFunction();
	}
	
	function SetFont(size){
		document.getElementById("contentID").style.fontSize=size+"px";
	}
	function FontBold(){
		if((document.getElementById("contentID").style.fontWeight=="normal")||(document.getElementById("contentID").style.fontWeight=="")){
			document.getElementById("contentID").style.fontWeight="bold";
		}else{
			document.getElementById("contentID").style.fontWeight="normal";
		}
	}
