function ScreenObject(pX, pY, pName, pId, pWidth, pHeight, pDivScreen, pImageFile){
	this.x = pX || 0;
	this.y = pY || 0;

	this.width = pWidth;
	this.height = pHeight;
	
	this.name = pName;
	this.id = pId;
	this.div = pDivScreen;
	this.ref = this.div.id + this.name;

	this.drawFilter = "";
	
	this.init = function(){
		AddImageToGame(this.div, pImageFile, this.ref+this.id, this.x, this.y);
	}	
	
	this.draw = function(){
		screenRef = document.getElementById( this.ref + this.id ).style;
		screenRef.filter=this.drawFilter;
		screenRef.left=this.x;
		screenRef.top=this.y;
	}
	
}