Element={
	$:function(ele){
		if(document.getElementById(ele)){
			return document.getElementById(ele);
		}
		return ele;
	},
	setStyle:function(ele,style){
		for(var s in style){
			this.$(ele).style[s]=style[s];
		}
	},
	getStyle:function(ele,css){
		var cssp=null;
		cssp=this.$(ele).style[css];
		return cssp;
	},
	show:function(ele){
		this.$(ele).style.display='';
	},
	hide:function(ele){
		this.$(ele).style.display='none';
	},
	remove:function(ele){
		this.$(ele).parentNode.removeChild(this.$(ele));
	},
	addClassName:function(ele,className){
		this.$(ele).className=className;
	},
	removeClassName:function(ele,className){
		this.$(ele).className='';
	},
	hasClassName:function(ele,className){
		if(this.$(ele).className){
			return true;
		}
		return null;
	},
	makePositioned:function(ele){
		ele=this.$(ele);
		var pos=this.getStyle(ele,'position');
		if(pos=='static'||!pos){
			ele.style.position='relative';
			if(window.opera){
				ele.style.top=0;
				ele.style.left=0;
			}
		}
	}
}