<style type="text/css">
<!--
.div {
	height: 26px;
	overflow: hidden;
	line-height: 36px;
}
.select2 {
	color: #FF0000;
	background-color: #FFFF00;
	cursor: default;
	border: 1px dashed #FF6600;
	padding:3px;
	font-weight: bold;
}
-->
</style>
<script>
function sh_div(classID,obj)
{

	var arr=div_left.getElementsByTagName("span")
	
	var ii2;
	for(ii2=0;ii2<arr.length;ii2++)
	{
		if(arr[ii2].className.indexOf("select2")>-1)//°üº¬
		{
			arr[ii2].className=""
		}
	}
	obj.className="select2"
	obj_div=eval("div_"+classID);
	obj_img=eval("img_"+classID);
	obj_div.style.display='';
	obj_img.src='images/-.gif'
}
function sh_img(id,img)
{
	var obj=eval("document.all.div_"+id)
	if(obj.style.display=="")
		{obj.style.display="none"
			img.src="images/+.gif"
		}
	else
		{obj.style.display=""
			img.src="images/-.gif"
		}
}
</script>
<table height="100%" border="0" class="left_bg" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" bgcolor="#F5F5F5"><table width="75" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><img src="images/left_01.jpg" width="210" height="81" alt="" /></td>
  </tr>
</table>
<div id="div_left">
      <table width="222" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#f5f5f5">
  <tr>
    <td width="1" height="1"><img src="../../public/001/images/bg_A_01.gif" alt="" /></td>
    <td width="99%" background="../../public/001/images/bg_A_02.gif"></td>
    <td width="1" align="left"><img src="../../public/001/images/bg_A_03.gif" alt="" /></td>
  </tr>
  <tr>
    <td background="../../public/001/images/bg_A_04.gif">&nbsp;</td>
    <td bgcolor="#FFFFFF"><% 
sub dir(parentID)
	set rs=server.createobject("adodb.recordset") 
	sql="select * from FAQ_class where parentid="&parentID
	rs.open sql,conn,1,1 
	
	c=3
	for i23=1 to rs.recordcount
	img_jian="<img src=images/-.gif id=img_"&rs("classID")&" onclick=sh_img("&rs("classID")&",this)>"
		nbsp=""
		for k1=1 to rs("classdepth")*c
			nbsp=nbsp&"&nbsp;"
		next
		span="<span onclick='sh_div("&rs("classID")&",this)'>"&rs("className")&"&nbsp;<br><br></span>"
		href="<a href='main.asp?classid="&rs("classID")&"' target=rightFrame>"&span&"</a>"
		response.Write("<div class=div>"&nbsp&img_jian&href&"</div>")
		response.Write("<div id=div_"&rs("classid")&">")
	dir(rs("classID"))
	rs.movenext
	response.Write("</div>")
	
	next
	rs.close 
	set rs=nothing
end sub
call dir(0)
%></td>
    <td background="../../public/001/images/bg_A_06.gif">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="../../public/001/images/bg_A_07.gif" alt="" /></td>
    <td background="../../public/001/images/bg_A_08.gif">&nbsp;</td>
    <td><img src="../../public/001/images/bg_A_09.gif" alt="" /></td>
  </tr>
</table>
</div>
</td>
  </tr>
</table>
