<!--
isIE = (document.all)? true:false;
var myPage;
function gotoshow(id){
	href="index.php?release_id="+id;
	if (isIE==true){
		try {
		  myPage=window.opener;
		  myPage.location.href=href;
		  window.setTimeout("focusWindow();",500);	
		}catch(err){
		  myPage=window.open(href,'oldrelease');
	    window.setTimeout("focusWindow();",500);
		}
	}else{
		myPage=window.open(href,'oldrelease');
		window.setTimeout("focusWindow();",500);
	}
}

function gotopdf(id){
	href="pdf.php?release_id="+id;
	if (isIE==true){
		window.opener.location.href=href;
	}else{
		new_window =window.open(href,'oldrelease');
		window.setTimeout("focusWindow(new_window);",500);
	}
}

function focusWindow(){
	if (myPage==null){
		alert("您的IE插件程序拦截了本系统显示新闻的窗口，请关闭该插件的“拦截弹出窗口”功能后重试，否则新闻讲无法正常显示。");
	}else{
		wd.focus();
	}
}
// -->
