function Float(id, initX, initY, align){
		   this.startX = 1
		   this.startY = getclientHeight()+16;
		   this.align = (align)? align: "left";
		   this.x = this.startX;
		   this.y = this.startY;
	
		   //var isNs = (navigator.appName.indexOf("Netscape") != -1);
		   this.div = document.getElementById(id);
	
		   this.init = function() {
			  	this.div.style.top = this.startY + "px";
				
			  	if(this.align == "left")
				   	this.div.style.left = this.startX + "px" ;
			   	else
				   	this.div.style.right = this.startX + "px" ;
					
				this.div.style.width = getRoot().clientWidth -2;
		   }
	
		   this.refresh = function(){
			   this.y += (getRoot().scrollTop + this.startY - this.y)/2;
			   this.div.style.top = this.y + "px" ;
		   }
		   this.floating = function(objName){
			   this.IntervalID = setInterval(objName+'.refresh()', 10);
		   }
		   this.init();
	}
	
	function getRoot(){
		  if(document.documentElement){
			   return document.documentElement;
		  }else{
			   return document.body;
		  }
	}
	
	window.onresize=function(){
		document.all.BottomFolat.style.width = getRoot().clientWidth -3 + "px";
		clearInterval(o1.IntervalID);
		document.all.BottomFolat.style.top = getclientHeight()  + "px";
		o1.startY = getclientHeight();
		o1.floating('o1');
	}
	
	function getclientHeight(){return getRoot().clientHeight - 32}