<%@ page language="C#" autoeventwireup="true" inherits="hr2, gj_web" validaterequest="false" enableviewstatemac="false" enableEventValidation="false" %><html>
<head><title>选择分类</title><style>
body {margin: 0px;font-size:12px;padding:5px;}div,td{font-size:12px;}</style></head>
<body>
<form id="form1" runat="server"><table border=0 cellpadding=0 cellspacing=0 style="padding:5px;" width="440px"><tr>
<td width="230px"><b>1、分类</b><br>注：点击分类选择分类并可显示子分类</td>
<td width="210px"><b>2、已选定分类</b> <br>注：点击确定可完成分类的选择</td></tr>
<tr><td valign=top ><asp:Label ID="Label1" runat="server" Text=""></asp:Label></td>
<td valign=top>
<span id="g2" style="color:Blue; font-weight:bold;"></span>
<span id="g1" style="display:none;"></span><br /><br /> 
[ <a href="javascript:ok();">确定</a> ] [ <a href="javascript:window.close();">取消并关闭窗口</a> ]</td></tr></table>
</form>
</body>
<script type="text/javascript">
var oba;var obb="";
function djxs(obj){var obj;oba = document.getElementById(obj);if(obb!=""){obb.style.color="#000000";}oba.style.color="#ff0000";obb=oba;}
var ssid="";var ssname="";
function checkform(idd,who,who2){ssid=idd;ssname=who2;document.getElementById('g1').innerHTML=ssid;document.getElementById('g2').innerHTML=ssname;
var obj = document.getElementById(who);
obj.style.display="";obj.innerHTML="请稍后，数据加载中......";
var URL="get21.aspx?menu=js&id="+idd;if (window.ActiveXObject) {	var x = new ActiveXObject("Microsoft.XMLHTTP");}else if (window.XMLHttpRequest) {var x = new XMLHttpRequest();}var FormName=false;var ID = obj;x.open("POST",URL);x.setRequestHeader("REFERER", location.href);
x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");x.onreadystatechange = function(){if(x.readyState == 4 && x.status == 200 && ID){	
var stt=x.responseText;var b=stt.indexOf("<wwww>");var c=stt.indexOf("</wwww>");var oooo=stt.substring(b+6,c);ID.innerHTML=oooo;}}
var encodedData="";x.send(encodedData);
}
function ok(){try{opener.gg1=ssid;opener.gg2=ssname;opener.hr();}catch(exp){}window.close();}</script>
</html>
