function ok(select){
	if(select.options[select.selectedIndex].value!='$') {
 		window.open(select.options[select.selectedIndex].value,'_self');
	}

function openwindow(winURL,name,state){
	if (state=="")state="width=640,height=480,scrollbars=yes"
	else state=state+",scrollbars=yes"
	if (name=="img")
		{
			openwin=window.open("",name,state)
			openwin.document.write("<title>显示图片</title>\n")
			openwin.document.write("<link rel=stylesheet href=/styleccnt.css type=text/css>\n")
			openwin.document.write("<body class=bg>\n")
			openwin.document.write("<table width=100% height=100%><tr><td align=center>\n")
			openwin.document.write("<img src="+winURL+"></td></tr>\n")
			openwin.document.write("<tr><td align=center height=30>\n<a href=javascript:window.close()>关闭窗口</a>\n")
			openwin.document.write("</table></body>")
		}
	else openwin=window.open(winURL,name,state)
	openwin.window.focus()
	}
}

function ShowText(PageId){
	//if(ShowText.arguments.length==0)PageId=1
	PageInfo = "<div align=center class=pageinfo>本文共"+(TextStr.length-1)+"页，当前为第"+PageId+"页</div>";
	UpPageId = PageId-1
	DownPageId = PageId+1
	if(UpPageId>0)
		UpPage = "<a href=javascript:ShowText("+UpPageId+") class=page>上一页</a>"
	else UpPage="上一页"
	if(DownPageId < TextStr.length) DownPage = "<a href=javascript:ShowText("+DownPageId+") class=page>下一页</a>"
	else DownPage="下一页";
	var PageNumber = "";
	for(var index=0; index<TextStr.length-1; index++){
		var Number = index+1;
		PageNumber = PageNumber + "<a href=javascript:ShowText("+Number+") class=page>"+Number+"</a>&nbsp;";
	}
	if(TextStr.length>2)
		ShowStr = TextStr[0]+PageInfo+TextStr[PageId]+"<p class=pages>" + UpPage+"&nbsp;&nbsp;"+PageNumber+"&nbsp;&nbsp;" + DownPage
	else ShowStr = TextStr[0]+TextStr[PageId]+"<p class=pages>";
	document.all["body"].innerHTML=ShowStr;
	window.scroll(0,0);
}