function sse_popup(url){
	if(url.toLowerCase().indexOf(".pdf")>0||url.toLowerCase().indexOf(".exe")>0||url.toLowerCase().indexOf(".zip")>0||url.toLowerCase().indexOf(".doc")>0)
	{
		window.open(url);
	} else {
		var swidth=600;
		var sheight=430;
		var stop=screen.height-sheight-60;
		var sleft=screen.width-swidth-20;
		try{
				var my_popup_window = window.open('','popupwn','width='+swidth+',height='+sheight+',top='+stop+',left='+sleft+',resizable=yes,scrollbars=yes');
				my_popup_window.document.open();
				my_popup_window.document.write('<html><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=GB2312\"><TITLE>Shanghai Stock Exchange</TITLE></HEAD><frameset rows=\"83,*,40\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\">');
				my_popup_window.document.write('<frame name=\"header\" src=\"/sseportal/ps/zhs/site/pop_head.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
				my_popup_window.document.write('<frame name=\"content\" src=\"'+url+'\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\" noresize>');
				my_popup_window.document.write('<frame name=\"footer\" src=\"/sseportal/ps/zhs/site/pop_footer.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
				my_popup_window.document.write('</frameset>');
				my_popup_window.document.write('<body>');
				my_popup_window.document.write('</body></html>');
				my_popup_window.document.close();
				my_popup_window.focus();
		}catch(ex)
		{
					alert("存在跨域操作问题，请关闭浏览器，然后重新再尝试一下");
		}
	}
}

function unit_popup(name,url){
	unit_popup_window=window.open(url,name,'width=600,height=400,scrollbars=yes');
	unit_popup_window=focus();
}

function unit_popup_return(url){
	opener.location=url;
	opener.focus();
}

function sse_popup1(url){
	if(url.toLowerCase().indexOf(".pdf")>0||url.toLowerCase().indexOf(".exe")>0||url.toLowerCase().indexOf(".zip")>0||url.toLowerCase().indexOf(".doc")>0)
	{
		window.open(url);
	} else {
		var swidth=600;
		var sheight=430;
		var stop=30;
		var sleft=screen.width-swidth-20;
		var my_popup_window = window.open('','popupwn1','width='+swidth+',height='+sheight+',top='+stop+',left='+sleft+',resizable=yes,scrollbars=yes');
		my_popup_window.document.open();
		my_popup_window.document.write('<html><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=GB2312\"><TITLE>Shanghai Stock Exchange</TITLE></HEAD><frameset rows=\"83,*,40\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\">');
		my_popup_window.document.write('<frame name=\"header\" src=\"/sseportal/ps/zhs/site/pop_head.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"content\" src=\"'+url+'\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"footer\" src=\"/sseportal/ps/zhs/site/pop_footer.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('</frameset>');
		my_popup_window.document.write('<body>');
		my_popup_window.document.write('</body></html>');
		my_popup_window.document.close();
		my_popup_window.focus();
	}
}

function sse_popup2(url){
	if(url.toLowerCase().indexOf(".pdf")>0||url.toLowerCase().indexOf(".exe")>0||url.toLowerCase().indexOf(".zip")>0||url.toLowerCase().indexOf(".doc")>0)
	{
		window.open(url);
	} else {
		var swidth=600;
		var sheight=430;
		var stop=screen.height-sheight;
		var sleft=screen.width-swidth-20;
		var my_popup_window = window.open('','popupwn2','width='+swidth+',height='+sheight+',top='+stop+',left='+sleft+',resizable=yes,scrollbars=yes');
		my_popup_window.document.open();
		my_popup_window.document.write('<html><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=GB2312\"><TITLE>Shanghai Stock Exchange</TITLE></HEAD><frameset rows=\"83,*,40\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\">');
		my_popup_window.document.write('<frame name=\"header\" src=\"/sseportal/ps/zhs/site/pop_head.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"content\" src=\"'+url+'\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"footer\" src=\"/sseportal/ps/zhs/site/pop_footer.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('</frameset>');
		my_popup_window.document.write('<body>');
		my_popup_window.document.write('</body></html>');
		my_popup_window.document.close();
		my_popup_window.focus();
	}
}

function sse_popup3(url){
	if(url.toLowerCase().indexOf(".pdf")>0||url.toLowerCase().indexOf(".exe")>0||url.toLowerCase().indexOf(".zip")>0||url.toLowerCase().indexOf(".doc")>0)
	{
		window.open(url);
	} else {
		var swidth=screen.width-10;
		var sheight=screen.height-80;
		var stop=0;
		var sleft=0
		var my_popup_window = window.open('','popupwn2','width='+swidth+',height='+sheight+',top='+stop+',left='+sleft+',resizable=yes,scrollbars=yes');
		my_popup_window.document.open();
		my_popup_window.document.write('<html><HEAD><script language=\"JavaScript\">self.moveTo(0,0)self.resizeTo(screen.availWidth,screen.availHeight)</script><meta http-equiv=\"content-type\" content=\"text/html;charset=GB2312\"><TITLE>Shanghai Stock Exchange</TITLE></HEAD><frameset rows=\"83,*,40\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\">');
		my_popup_window.document.write('<frame name=\"header\" src=\"/sseportal/ps/zhs/site/pop_head.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"content\" src=\"'+url+'\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"footer\" src=\"/sseportal/ps/zhs/site/pop_footer.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('</frameset>');
		my_popup_window.document.write('<body>');
		my_popup_window.document.write('</body></html>');
		my_popup_window.document.close();
		my_popup_window.focus();
	}
}

function sse_popup_en(url){
	if(url.toLowerCase().indexOf(".pdf")>0||url.toLowerCase().indexOf(".exe")>0||url.toLowerCase().indexOf(".zip")>0||url.toLowerCase().indexOf(".doc")>0)
	{
		window.open(url);
	} else {
		var swidth=600;
		var sheight=430;
		var stop=screen.height-sheight-60;
		var sleft=screen.width-swidth-20;
		var my_popup_window = window.open('','popupwn','width='+swidth+',height='+sheight+',top='+stop+',left='+sleft+',resizable=yes,scrollbars=yes');
		my_popup_window.document.open();
		my_popup_window.document.write('<html><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=GB2312\"><TITLE>Shanghai Stock Exchange</TITLE></HEAD><frameset rows=\"83,*,40\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\">');
		my_popup_window.document.write('<frame name=\"header\" src=\"/sseportal/ps/zhs/site/pop_head_en.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"content\" src=\"'+url+'\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('<frame name=\"footer\" src=\"/sseportal/ps/zhs/site/pop_footer.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>');
		my_popup_window.document.write('</frameset>');
		my_popup_window.document.write('<body>');
		my_popup_window.document.write('</body></html>');
		my_popup_window.document.close();
		my_popup_window.focus();
	}
}