function o_Floating(){
	this.obj;
	this.x;
	this.y;
	this.d = 3;
	this.ix;
	this.iy;
	this.lx = 0;
	this.ly = 160;

	this.NS6 = false;
	this.IE4 = (document.all);
	if (!this.IE4) {this.NS6 = (document.getElementById);}
	this.NS4=(document.layers);
	
	this.init = function(obj){
		this.obj = obj;
		this.x = 0;
		this.y = 0;

		this.ix = this.x;
		this.iy=this.y;
		this.define();
		window.onresize = this.define;
		this.adjust();
	}

	this.adjust = function() {
		if ((this.NS4) || (this.NS6)) {
			if(window.pageYOffset>160){
				var dy=Math.abs(window.pageYOffset+this.y-this.ly);
				var c=Math.round(Math.sqrt(dy*dy)/10);
				if (window.pageYOffset+this.y>this.ly) {this.ly=this.ly+this.d+c;}
				if (window.pageYOffset+this.y<this.ly) {this.ly=this.ly-this.d-c;}
				this.obj.style.marginTop = (this.ly-160)+"px";
			} else {
				this.ly = 160;
				this.obj.style.marginTop = "0px";
			}
		} else if (this.IE4) {
			if(document.documentElement.scrollTop>160){
				var dy=Math.abs(document.documentElement.scrollTop+this.y-this.ly);
				var c=Math.round(Math.sqrt(dy*dy)/10);
				if (document.documentElement.scrollTop+this.y>this.ly) {this.ly=this.ly+this.d+c;}
				if (document.documentElement.scrollTop+this.y<this.ly) {this.ly=this.ly-this.d-c;}
				this.obj.style.marginTop = (this.ly-160)+"px";
			} else {
				this.ly = 160;
				this.obj.style.marginTop = "0px";
			}
		}

		thisObj = this;
		setTimeout(function() { thisObj.adjust(); }, 50);
	}			

	this.define = 		function() {
		this.x=this.ix;
		this.y=this.iy;
	}
}