//// (c) 2007 webActive | Paweł Smoleński//var Interface = new Class({	initInterface: function()	{		this.dragData = null;   		//this.windowsController = new WindowsController();		//this.windowsController.onStartDrag = delegate(this, this.startDrag);		//this.windowsController.onStopDrag = delegate(this, this.stopDrag);				var contentHeight = $('MainContent').scrollHeight - 58;				if ($('RightColumnMain'))			$('RightColumnMain').setStyle('height', contentHeight.toString() + 'px');		window.addEvent('resize', this.resizeWindow.bind(this));		document.addEvent('mousemove', this.moveMouse.bind(this));	},		resizeWindow: function()	{		return 'resizeWindow';	},		startDrag: function(dragData)	{		this.dragData = dragData;	},		stopDrag: function(dragData)	{		this.dragData = null;	},	moveMouse: function(event)	{	    var e = event || window.event;	    if (this.dragData != null)	    {	        this.dragData.dragObject.left = e.clientX + this.dragData.dragOffsetX;	        this.dragData.dragObject.top = e.clientY + this.dragData.dragOffsetY;	        this.dragData.dragObject.redraw();	    }	}});
