function iOpenCntWindow(url,winName,iWidth,iHeight) {
	window.focus();
	var xScroll, yScroll,xposition=0,yposition=0;
	if (window.innerHeight && window.scrollMaxY) {
	xScroll = document.body.scrollWidth;
	yScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){
	xScroll = document.body.scrollWidth;
	yScroll = document.body.scrollHeight;
	} else {
	xScroll = document.body.offsetWidth;
	yScroll = document.body.offsetHeight;
	}

	var windowWidth, windowHeight;
	if (self.innerHeight) {
	windowWidth = self.innerWidth;
	windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
	windowWidth = document.documentElement.clientWidth;
	windowHeight = document.documentElement.clientHeight;
	} else if (document.body) {
	windowWidth = document.body.clientWidth;
	windowHeight = document.body.clientHeight;
	}
	
	if(yScroll < windowHeight){
	pageHeight = windowHeight;
	} else {
	pageHeight = yScroll;
	}

	if(xScroll < windowWidth){
	pageWidth = windowWidth;
	} else {
	pageWidth = xScroll;
	}

	if ((parseInt(navigator.appVersion) >= 4 ))
	{
	xposition = (windowWidth - iWidth) / 2;
	yposition = (windowHeight - iHeight) / 2;
	}
	
	theproperty= "width=" + iWidth + "," 
	+ "height=" + iHeight + "," 
	+ "location=0," 
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=1,"
	+ "status=0," 
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + ","
	+ "screeny=" + yposition + ","
	+ "left=" + xposition + "," 
	+ "top=" + yposition;
	var win = window.open(url,winName,theproperty );
	if (!win){
		alert("弹出新窗口失败，请关闭相应的拦截程序！\n\n\nSpring the new window and fail,\n\nPlease close the corresponding interception procedure!");
		}
}
