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]+')'
	}
	
	this.getFlashMovieObject=function(movieName)
	{
	  if (window.document[movieName]) 
	  {
	      return window.document[movieName];
	  }
	  if (navigator.appName.indexOf("Microsoft Internet")==-1)
	  {
	    if (document.embeds && document.embeds[movieName])
	      return document.embeds[movieName]; 
	  }
	  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
	    return document.getElementById(movieName);
	  }
	}

}
