import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class Start extends HttpServlet
{
public void doGet (HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
{
PrintWriter out;
response.setContentType("text/html");
out = response.getWriter();
out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"
http://www.w3.org/TR/html4/loose.dtd\">");
out.println("<html><head><title>Start</title>");
out.println("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/styles.css\">");
out.println("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">");
out.println("</head>");
out.println("<body>");
out.println("<center>");
out.println("<table style=\"width:700px;height:400px;background-image: url(../jpg-filer/basis.jpg);\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
out.println("<tr>");
out.println("<td style=\"height:75px;\">");
out.println("</td>");
out.println("</tr>");
out.println("<tr>");
out.println("<td align=\"right\" style=\"height:30px;\">");
out.println("<table style=\"width:495px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
out.println("<td><input type=\"button\" style=\"width:75px\" class=\"button\" name=\"News\" value=\"News\" onmouseover=\"this.className = 'buttonHover';\" onmouseout=\"this.className = 'button';\" onclick=\"parent.frames['content'].location.href='Showdata?pageID=news'\"></td>");
out.println("<td><input type=\"button\" style=\"width:90px\" class=\"button\" name=\"Mrtlz\" value=\"Mrtlz\" onmouseover=\"this.className = 'buttonHover';\" onmouseout=\"this.className = 'button';\" onclick=\"parent.frames['content'].location.href='Showdata?pageID=mrtlz'\"></td>");
out.println("<td><input type=\"button\" style=\"width:100px\" class=\"button\" name=\"Credits\" value=\"Credits\" onmouseover=\"this.className = 'buttonHover';\" onmouseout=\"this.className = 'button';\" onclick=\"parent.frames['content'].location.href='Showdata?pageID=credit'\"></td>");
out.println("<td><input type=\"button\" style=\"width:100px\" class=\"button\" name=\"Contact\" value=\"Contact\" onmouseover=\"this.className = \'buttonHover';\" onmouseout=\"this.className = 'button';\" onclick=\"parent.frames['content'].location.href='Showdata?pageID=contact'\"></td>");
out.println("<td><input type=\"button\" style=\"width:130px\" class=\"button\" name=\"Community\" value=\"Community\" onmouseover=\"this.className = \'buttonHover';\" onmouseout=\"this.className = 'button';\" onclick=\"parent.frames['content'].location.href='Showdata?pageID=community'\"></td>");
out.println("</tr></table>");
out.println("</td></tr>");
out.println("<tr><td style=\"vertical-align:top;height:250px;;\">");
out.println("<iframe name=\"content\" src =\"Showdata\" frameborder=\"0\" scrolling=\"auto\" style=\"width:100%;height:100%\">");
out.println("</iframe>");
out.println("</td></tr>");
out.println("<tr><td style=\"height:45px;\"></td></tr></table>");
out.println("</center>");
out.println("<script type=\"text/javascript\">");
out.println("ie6 = (navigator.appVersion.indexOf(\"MSIE 6\") != -1) ? true : false;");
out.println("ns6 = (document.getElementById && !document.all) ? true : false;");
out.println("ns4 = (document.layers) ? true : false;");
out.println("ie5 = (!ie6 && document.getElementById && document.all) ? true : false;");
out.println("ie4 = (!ie5 && document.all) ? true : false;");
out.println("op = (navigator.appName == \"Opera\") ? true : false;");
out.println("if ((ie6 == true) || (ie5 == \"true\") || (ie4 == \"true\")){");
out.println("document.all.content.allowTransparency = true;");
// out.println("document.write(\"<br>Du bruger en IE browser :-)\");");
out.println("}");
out.println("</script>");
out.println("</body>");
out.println("</html>");
out.close();
}
}