function customWindowOpen(strUrl, strWindow, strParams, iWidth, iHeight)
{
	var
		iLeft, iTop;
	iLeft = (window.screen.width - iWidth) / 2;
	iTop = (window.screen.height - iHeight) / 2;
	strParams = strParams + ",width=" + iWidth.toString() + ",height=" + iHeight.toString() + ",left=" + iLeft.toString() + ",top=" + iTop.toString();
	window.open(strUrl, strWindow, strParams);
	
}


