function openwindow(wWidth, wHeight, wURL)
{
	
	var strStat = 'width=' + wWidth + ', ';
	strStat+= 'height=' + wHeight + ', ';	
	strStat+= 'location=yes, ';
	strStat+= 'menubar=no, ';
	strStat+= 'resizable=yes, ';
	strStat+= 'scrollbars=yes, ';
	strStat+= 'status=no, ';
	strStat+= 'titlebar=no, ';
	strStat+= 'toolbar=no';

	var dtMS = new Date();
	strWinName = dtMS.valueOf(); //milliseconds since 1970.jan.1 - unique name for new window :-)

	oWindow = window.open('about:blank', strWinName, strStat);
	oWindow.focus();
	oWindow.moveTo(0,0);
	oWindow.resizeTo(wWidth,wHeight);
	oWindow.location =  encodeURI( wURL );	
}

