function getObj(name)
{
	if(document.getElementById)
	{
		this.obj=document.getElementById(name);
		this.style=this.obj.style;
		this.left=this.obj.offsetLeft;
		this.top=this.obj.offsetTop;
		this.width=this.obj.offsetWidth;
		this.height=this.obj.offsetHeight;
		this.right=this.left+this.width;
		this.bottom=this.top+this.height;
		this.stick=0;
	}
	else if(document.all)
	{
		this.obj=document.all[name];
		this.style=this.obj.style;
		this.left=this.obj.offsetLeft;
		this.top=this.obj.offsetTop;
		this.width=this.obj.offsetWidth;
		this.height=this.obj.offsetHeight;
		this.right=this.left+this.width;
		this.bottom=this.top+this.height;
		this.stick=0;
	}
	else if(document.layers)
	{
		this.obj=document.layers[name];
		this.style=this.obj;
		this.left=this.obj.pageX;
		this.top=this.obj.pageY;
		this.width=this.obj.clip.width;
		this.height=this.obj.clip.height;
		this.right=this.left+this.width;
		this.bottom=this.top+this.height;
		this.stick=0;
	}
}
