function openWindow(strUrl, iWidth, iHeight, noResize)
{
	iLeft = (screen.width - iWidth) / 2;
	iTop  = (screen.height - iHeight) / 2;

	if (noResize)
	{
		var bResize = 'no';
	}
	else
	{
		var bResize = 'yes';
	}

	/**
	 * Make unique identifier
	 */
	var oRequestTime = new Date();
	var iRequestTime = oRequestTime.getTime();

	var iUniqueKey = Math.round(iRequestTime * Math.random());

	/**
	 * Open window
	 */
	SubWin = window.open(strUrl, 'Window_' + iUniqueKey, 'height=' + iHeight + ',width=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',toolbar=no,status=no,scrollbars=' + bResize + ',resizable=' + bResize + ',menubar=no,location=no');

	if (window.focus)
	{
		SubWin.focus();
	}

	return false;
}