package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List 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");
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("<HTML>\r\n");
out.write("<HEAD>\r\n");
out.write("<TITLE>Êé¼®¹ÜÀí</TITLE>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"><style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write("body {\r\n");
out.write("\tbackground-image: url(background.jpg);\r\n");
out.write("}\r\n");
out.write(".style1 {color: #0000FF}\r\n");
out.write("-->\r\n");
out.write("</style></HEAD>\r\n");
out.write("\r\n");
out.write("<BODY bgcolor=\"#fef4d2\" >\r\n");
out.write("\r\n");
out.write("<br><br>\r\n");
out.write("<center>\r\n");
out.write("<h1><strong>Êé¼®¹ÜÀí</strong></h1>\r\n");
out.write("<hr width=300>\r\n");
out.write("<br><br>\r\n");
out.write("\r\n");
out.write("<!-- °¸Àý´úÂ뿪ʼ -->\r\n");
out.write("\r\n");
out.write("<script language=JavaScript type=\"\">\r\n");
out.write("\r\n");
out.write("var objects;\r\n");
out.write("var pos;\r\n");
out.write("var r = 110;\r\n");
out.write("<!-- [Step1]: ÕâÀï¿ÉÒÔ¸ü¸ÄÐýת²Ëµ¥µÄÖÐÐÄ×ø±ê -->\r\n");
out.write("var xoff = 450;\r\n");
out.write("var yoff = 250;\r\n");
out.write("var pi = Math.PI;\r\n");
out.write("var inc = pi / 180;\r\n");
out.write("\r\n");
out.write("function slidepicture(from, to) {\r\n");
out.write(" if (from < to) {\r\n");
out.write(" website.top = (from += 10);\r\n");
out.write(" setTimeout('slidepicture(' + from + ',' + to + ')', 60); }\r\n");
out.write(" else initObjects();\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function initObjects() {\r\n");
out.write(" objects = new Array(circle1, circle2, circle3, circle4, circle5);\r\n");
out.write(" pos = new Array();\r\n");
out.write(" pos[0] = 0;\r\n");
out.write(" for (var i = 1; i < objects.length; i++) {\r\n");
out.write(" pos[i] = parseFloat(pos[i - 1] + ((2 * pi) / objects.length)); }\r\n");
out.write(" rotateObjects();\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function rotateObjects() {\r\n");
out.write(" for (var i = 0; i < pos.length; i++) {\r\n");
out.write(" pos[i] += inc; objects[i].visibility = 'visible';\r\n");
out.write(" objects[i].left = (r * Math.cos(pos[i])) + xoff\r\n");
out.write(" objects[i].top = (r * Math.sin(pos[i])) + yoff; }\r\n");
out.write(" rotateTimer = setTimeout(\"rotateObjects()\", 75);\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("<!-- [Step2]: ÔÚ´ËÄܹ»°´ÐòÔö¼Ó²Ëµ¥µÄÃû³Æ -->\r\n");
out.write("<div id=\"circle1\" class=\"circle\">\r\n");
out.write(" <a href=\"addProduct.jsp\" ><h2>Ìí¼ÓÊé¼®</h2></a><br>\r\n");
out.write("</div>\r\n");
out.write("<div id=\"circle2\" class=\"circle\">\r\n");
out.write(" <a href=\"deleteProduct.jsp\" ><h2>ɾ³ýÊé¼®</h2></a><br>\r\n");
out.write("</div>\r\n");
out.write("<div id=\"circle3\" class=\"circle\">\r\n");
out.write(" <a href=\"modifyProduct.jsp\" ><h2>¸ü¸ÄÊé¼®ÐÅÏ¢</h2></a><br>\r\n");
out.write("</div>\r\n");
out.write("<div class=\"circle \" id=\"circle4\">\r\n");
out.write(" <h2><a href=\"viewProduct.jsp\">²é¿´ËùÓÐÊé¼®</a></h2>\r\n");
out.write(" <br>\r\n");
out.write("</div>\r\n");
out.write("<div id=\"circle5\" class=\"circle\">\r\n");
out.write(" <a href=\"viewCategory.jsp\"><h2>²é¿´ËùÓÐÀà±ð</h2></a><br>\r\n");
out.write("</div>\r\n");
out.write("\r\n");
out.write("<p>\r\n");
out.write(" <script language=JavaScript type=\"\">\r\n");
out.write("\r\n");
out.write(" var isNS = (navigator.appName == \"Netscape\" && parseInt(navigator.appVersion) >= 4);\r\n");
out.write(" var HIDDEN = (isNS) ? 'hide' : 'hidden';\r\n");
out.write(" var VISIBLE = (isNS) ? 'show' : 'visible';\r\n");
out.write(" var circle1 = (isNS) ? document.circle1 : document.all.circle1.style;\r\n");
out.write(" var circle2 = (isNS) ? document.circle2 : document.all.circle2.style;\r\n");
out.write(" var circle3 = (isNS) ? document.circle3 : document.all.circle3.style;\r\n");
out.write(" var circle4 = (isNS) ? document.circle4 : document.all.circle4.style;\r\n");
out.write(" var circle5 = (isNS) ? document.circle5 : document.all.circle5.style;\r\n");
out.write(" slidepicture(0, 0);\r\n");
out.write("\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("<style type=\"\">\r\n");
out.write(".circle { font-family: Verdana, Helvetica; font-size: 12px; color: #000000; position:absolute; visibility: hidden; z-index: 2 }\r\n");
out.write(".text{ text-align: left; font-family: Verdana, Helvetica; font-size: 12px; color:#000000; position: absolute; top: 185px; left: 280px; width:225px; visibility: hidden; z-index: 0 }\r\n");
out.write(".picture { font-family: Verdana, Helvetica; font-size: 12px; color: #000000; position: absolute; top: 10px; left: 10px; visibility: visible; z-index: 1 }\r\n");
out.write("</style>\r\n");
out.write("</p>\r\n");
out.write("<form name=\"form1\" method=\"post\" action=\"searchProductByCategory.jsp\">\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <h2><span class=\"style1\">°´Êé¼®µÄÀà±ð²éѯ</span>£º\r\n");
out.write(" <input name=\"category\" type=\"text\" id=\"category3\">\r\n");
out.write(" <input type=\"submit\" name=\"Submit\" value=\"²éѯ\">\r\n");
out.write(" </h2>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write("</form>\r\n");
out.write("<p> <!-- °¸Àý´úÂë½áÊø -->\r\n");
out.writ