<script language="JavaScript" runat="Server">
var node, id, parentId, text, hint, icon, data, url, target, method;
var reg = /;/g;
while(!rs.eof)
{
node = "\r\n    tree.nodes[\"" + rs("parentId") + "_" + rs("id") + "\"] = \"";
node = node + "text:" + rs("text").replace(reg, String.fromCharCode(15)) + ";";
if(rs("hint")!="") node = node + "hint:" + rs("hint").replace(reg, String.fromCharCode(15)) + ";";
if(rs("icon")!="") node = node + "icon:" + rs("icon") + ";";
if(rs("data")!="") node = node + "data:" + rs("data").replace(reg, String.fromCharCode(15)) + ";";
if(rs("url")!="") node = node + "url:" + rs("url").replace(reg, String.fromCharCode(15)) + ";";
if(rs("target")!="") node = node + "target:" + rs("target") + ";";
if(rs("method")!="") node = node + "method:" + rs("method").replace(reg, String.fromCharCode(15)) + ";";
Response.Write(node) & "\"";
rs.MoveNext();
}
</script>