// JavaScript Document

function WinPos(intW, intH) {
	
	this.width = intW;
	this.height = intH;
	this.left = (screen.width - intW) / 2;
	this.top = (screen.height - intH) / 4;

	this.str = 'width=' + this.width + ',height=' + this.height + ',left=' + this.left + ',top=' + this.top;
}

function pause(numberMillis) 
{
	var now = new Date();
	var exitTime = now.getTime() + numberMillis;
	while (true) 
	{
		now = new Date();
		if (now.getTime() > exitTime)
		return;
	}
}
