	// detect browser type 
	function init(){
	  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.opera5)
	  return this
	}
	bw=new init();
	
	function doc_size(){ //Page positions - needed!
		this.x=0;
		this.x2= bw.ie && document.body.offsetWidth-5||innerWidth||0;
		this.y=0;
		this.y2= bw.ie  && document.body.offsetHeight-5||innerHeight||0;
		if(!this.x2||!this.y2) return alert('Document has no width or height') 
		this.x50=this.x2/2;     this.y50=this.y2/2;
		this.x10=(this.x2*10)/100;this.y10=(this.y2*10)/100
		return this;
	}
  zdoc = new doc_size();

	// hide and Show funtions..
	function show(div){
		obj=bw.dom? document.getElementById(div).style:bw.ie?document.all[div].style:
			bw.ns4?document.layers[div]:0;
		if(obj) {obj.display='block';obj.visibility='visible';}
	}
	
	function hide(div){
		obj=bw.dom? document.getElementById(div).style:bw.ie?document.all[div].style:
			bw.ns4?document.layers[div]:0;
	if(obj){ obj.display='none'; obj.visibility='hidden';}
	}
	
	
	

	// check for hide and show status..
	function chkShow(div){
		ShowStatus = false;
		obj=bw.dom? document.getElementById(div).style:bw.ie?document.all[div].style:
			bw.ns4?document.layers[div]:0;
		if(obj){
			if(obj.display=='block' || obj.visibility=='visible'){
				ShowStatus = true;
			}
		}
		return ShowStatus
	}
	
	function chkHide(div){
		HideStatus = false;
		obj=bw.dom? document.getElementById(div).style:bw.ie?document.all[div].style:
			bw.ns4?document.layers[div]:0;
		if(obj){
			if(obj.display=='none' || obj.visibility=='hidden'){
				HideStatus = true;
			}
		}
		return HideStatus
	}	
		
	
	

	function Pose(div){	
		obj=bw.dom? document.getElementById(div).style:bw.ie?document.all[div].style:
			bw.ns4?document.layers[div]:0;
		if(obj){
			obj.width = zdoc.x2-50;
			obj.height = zdoc.y2;
			DivMiddleH = parseInt(obj.width)/2;			
			//document.write(DivMiddleH);
			obj.left = zdoc.x50 - DivMiddleH;
			
					} 
	}
	
	
	
	
	
	
	
var delay = 1000;
var NS = navigator.appName == "Netscape";
var IE = navigator.appVersion.indexOf("MSIE") != -1;
var strTds2 = ""
var TimerID
var HideTimerID
strTds1 = '<table bgcolor="Navy" cellpadding="1" cellspacing="0" width="170" align="center" height="5"><tr><td>';
strTds1 = strTds1 + '<table cellpadding="0" cellspacing="0" bgcolor="White" width="100%" align="center"><tr>';
strTds3 = '</tr></table></td></tr></table>';
var percentage = 0
var i = 4

