utils=function(){
	this.findObject=function(id){
		return document.getElementById(id)
	}
	this.getDivContent=function(ref){
		return ref.innerHTML
	}
	this.getDivScrollHeight=function(ref){
		return ref.scrollHeight
	}
	this.getDivScrollWidth=function(ref){
		return ref.scrollWidth
	}
	this.getDivHeight=function(ref){
		return parseInt(ref.style.height)
	}
	this.setDivPos=function(ref,kind,value){
		if(kind=='top')ref.style.top=value+"px"
			else if(kind=='left')ref.style.left=value+"px"
	}
	this.setDivContent=function(ref,content){
		ref.innerHTML=content
	}
	this.setDisplay=function(ref,what){
		ref.style.display=what?'inline':'none'
	}
	//t,r,b,l
	this.clipDiv=function(ref,aValues){
		//alert(aValues)
		ref.style.clip='rect('+aValues[0]+' '+aValues[1]+' '+aValues[2]+' '+aValues[3]+')'
	}
}
