function Splitter(pDebug) {

	if( pDebug == '' || typeof(pDebug) == 'undefined' ) {
		pDebug = false;
	}
	
	this.debug				= pDebug;
	this.margin				= 20;
	this.targetWidth 		= (screen.availWidth / 2) - (this.margin*2) + (this.margin/2) ;
	this.targetHeight		= screen.availHeight - (this.margin*2);
	
	
	this.getLeftWindowX 	= function() { return this.margin; };
	this.getLeftWindowY 	= function() { return this.margin; };
	
	this.getRightWindowX 	= function() { return this.targetWidth + this.margin + this.margin; };
	this.getRightWindowY 	= function() { return this.margin; };
	
	
	this.getWindowW 		= function() {
								return this.targetWidth;
							};
	this.getWindowH 		= function() {
								return this.targetHeight;
							};
	
	this.getPositions = function() {
		var positions = {
							"Window size" : {
								"Window width" : splitter.getWindowW(),
								"WindowH height" : splitter.getWindowH()
							},
							"Left window" :  {
								"left (x position)" : this.getLeftWindowX(),
								"top (y position)" : this.getLeftWindowY()
							},
							"Right window" : {
								"left (x position)" : this.getRightWindowX(),
								"top (y position)" : this.getRightWindowY()									
							}
						};
		
		if(this.debug) {
			Logger( positions );
		}
		
		return positions;
	}

}