
if(typeof sintesi == "undefined") var sintesi = new Object();

sintesi.SWFUtil = new function() {

	this.swfID = "";
	
	this.setSWFSize = function(w,h){
		this.displayScrollBars(true);
		var s = document.getElementById(this.swfID).style;
		s.width  = w;//w+"px";
		s.height = h;//h+"px";
	};
	this.getSWF = function (){
		return  document.getElementById(this.swfID);
	}
	this.scrollWindow = function(x,y){
		//window.scrollTo(500,500);
	};
	this.setCursor = function (cursor){
		document.body.style.cursor=cursor;
	}
	this.displayScrollBars = function (bool){
		var val = bool ? "scroll" : "hidden"
		document.body.style.overflow = val;
	}
	
	this.init = function (swfID){
		this.swfID = swfID;
	}
}

