function positioner ( xOffset, yOffset )
{
	this.left = 0;
	this.top = 0;
	this.width = screen.availWidth;
	this.height = screen.availHeight;

	this.features += ",left=" + this.left + ",top=" + this.top +",screenx=" + this.left + ",screeny=" + this.top + ",width=" + this.width + ",height=" + this.height;
}

function popPositioner ( xOffset, yOffset )
{
	this.left = (screen.availWidth - this.width) / 2;
	this.top = (screen.availHeight - this.height) / 2;

	this.features += ",left=" + this.left + ",top=" + this.top +",screenx=" + this.left + ",screeny=" + this.top;
}


function compareScreenToDimensions ( desiredWidth, desiredHeight )
{
	var cmp = 0;
	
	if ( desiredWidth > screen.availWidth || desiredHeight > screen.availHeight )
	{
		cmp = -1;
	}
	
	if ( desiredWidth < screen.availWidth && desiredHeight < screen.availHeight )
	{
		cmp = 1;
	}

	return cmp;
}
