package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class example_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=utf-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n");
out.write("<html>\r\n");
out.write("\r\n");
out.write("<head>\r\n");
out.write("\t<title>Destroydrop » Javascripts » Tree » Example</title>\r\n");
out.write("\r\n");
out.write("\t<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\" />\r\n");
out.write("\t<link rel=\"stylesheet\" href=\"/dd.css\" type=\"text/css\" />\r\n");
out.write("\t<link rel=\"shortcut icon\" href=\"/favicon.ico\" />\r\n");
out.write("\r\n");
out.write("\t<link rel=\"StyleSheet\" href=\"dtree.css\" type=\"text/css\" />\r\n");
out.write("\t<script type=\"text/javascript\" src=\"dtree.js\"></script>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body>\r\n");
out.write("\r\n");
out.write("<div id=\"shadow\">\r\n");
out.write("\r\n");
out.write("\t<div id=\"content\">\r\n");
out.write("\r\n");
out.write("\t\t<div id=\"location\">\r\n");
out.write("\t\t\t<h1><a href=\"/\">Destroydrop</a> » <a href=\"/javascripts/\">Javascripts</a> » <a href=\"/javascripts/tree/\">Tree</a> » <a href=\"/javascripts/tree/example/\">Example</a></h1>\r\n");
out.write("\t\t</div>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t\t<div class=\"line\"></div>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t\t<div id=\"main\">\r\n");
out.write("\r\n");
out.write("\t\t\t<h3>Example</h3>\r\n");
out.write("\t\t\t<div class=\"line\"></div>\r\n");
out.write("\t\t\t<div class=\"item\">\r\n");
out.write("\t\t\t\t<p>\r\n");
out.write("\t\t\t\t\t<a href=\"javascript: a.openAll();\">open all</a> |<a href=\"javascript: a.closeAll();\">close all</a> |<a href=\"javascript: a.openTo(4, true);\">open to: Node 4</a>\t\t\t\t</p>\r\n");
out.write("\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write("a = new dTree('a');\r\n");
out.write("a.config.useSelection=false;\r\n");
out.write("a.config.useCookies=false;\r\n");
out.write("a.add(0,-1,'Tree example','javascript: void(0);');\r\n");
out.write("a.add(1, 0,'Node 1','javascript:void(0);');\r\n");
out.write("a.add(2, 1,'Node 2','javascript:void(0);');\r\n");
out.write("a.add(3, 1,'Node 3','javascript:void(0);');\r\n");
out.write("a.add(4, 0,'Node 4','javascript:void(0);');\r\n");
out.write("a.add(5, 2,'Node 5','javascript:void(0);');\r\n");
out.write("a.add(6, 0,'Node 6','javascript:void(0);');\r\n");
out.write("a.add(7, 4,'Node 7','javascript:void(0);');\r\n");
out.write("a.add(8, 1,'Node 8','javascript:void(0);');\r\n");
out.write("a.add(9, 3,'Node 9','javascript:void(0);');\r\n");
out.write("a.add(10, 0,'Node 10','javascript:void(0);');\r\n");
out.write("a.add(11, 6,'Node 11','javascript:void(0);');\r\n");
out.write("a.add(12, 0,'Node 12','javascript:void(0);');\r\n");
out.write("a.add(13, 5,'Node 13','javascript:void(0);');\r\n");
out.write("a.add(14, 2,'Node 14','javascript:void(0);');\r\n");
out.write("document.write(a);\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("\t\t\t</div>\r\n");
out.write("<h3>Example code</h3>\r\n");
out.write("<div class=\"line\"></div>\r\n");
out.write("<div class=\"item\">\r\n");
out.write("<pre>a = new dTree('a');\r\n");
out.write("a.config.useSelection=false;\r\n");
out.write("a.config.useCookies=false;\r\n");
out.write("a.add(0,-1,'Tree example','javascript: void(0);');\r\n");
out.write("a.add(1, 0,'Node 1','javascript:void(0);');\r\n");
out.write("a.add(2, 1,'Node 2','javascript:void(0);');\r\n");
out.write("a.add(3, 1,'Node 3','javascript:void(0);');\r\n");
out.write("a.add(4, 0,'Node 4','javascript:void(0);');\r\n");
out.write("a.add(5, 2,'Node 5','javascript:void(0);');\r\n");
out.write("a.add(6, 0,'Node 6','javascript:void(0);');\r\n");
out.write("a.add(7, 4,'Node 7','javascript:void(0);');\r\n");
out.write("a.add(8, 1,'Node 8','javascript:void(0);');\r\n");
out.write("a.add(9, 3,'Node 9','javascript:void(0);');\r\n");
out.write("a.add(10, 0,'Node 10','javascript:void(0);');\r\n");
out.write("a.add(11, 6,'Node 11','javascript:void(0);');\r\n");
out.write("a.add(12, 0,'Node 12','javascript:void(0);');\r\n");
out.write("a.add(13, 5,'Node 13','javascript:void(0);');\r\n");
out.write("a.add(14, 2,'Node 14','javascript:void(0);');\r\n");
out.write("document.write(a);\r\n");
out.write("</pre>\r\n");
out.write("</div>\r\n");
out.write("\t\r\n");
out.write("<div style=\"text-align:center\">\r\n");
out.write("<script type=\"text/javascript\"><!--\r\n");
out.write("google_ad_client = \"pub-3727554590317852\";\r\n");
out.write("/* 234x60, created 2/20/08 */\r\n");
out.write("google_ad_slot = \"2770375717\";\r\n");
out.write("google_ad_width = 234;\r\n");
out.write("google_ad_height = 60;\r\n");
out.write("//-->\r\n");
out.write("</script>\r\n");
out.write("<script type=\"text/javascript\"\r\n");
out.write("src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\r\n");
out.write("</script>\r\n");
out.write("</div>\t\r\n");
out.write("\t\r\n");
out.write("\t\t\t<h3>Description</h3>\r\n");
out.write("\t\t\t<div class=\"line\"></div>\r\n");
out.write("\t\t\t<div class=\"item\">\r\n");
out.write("\t\t\t<p>The example is randomly generated using php. The useCookies configuration is not available because of that.</p>\r\n");
out.write("\t\t\t</div>\r\n");
out.write("\r\n");
out.write("\t\t</div>\r\n");
out.write("\r\n");
out.write("\t\t<div id=\"extra\">\r\n");
out.write("\r\n");
out.write("\t\t\t<form action=\"./\" method=\"post\">\r\n");
out.write("\r\n");
out.write("\t\t\t<h3>Configuration</h3>\r\n");
out.write("\t\t\t<div class=\"line\"></div>\r\n");
out.write("\t\t\t<div class=\"item\">\r\n");
out.write("\t\t\t\t<p>\r\n");
out.write("\t\t\t\t\t<input id=\"cfg1\" type=\"checkbox\" name=\"folderLinks\" value=\"true\" checked=\"checked\" /> <label for=\"cfg1\">folderLinks</label><br />\r\n