//document.writeln("<%@ page language=\"java\" pageEncoding=\"UTF-8\"%>");
document.writeln("<script language=javascript>");
document.writeln("function subME(){");
document.writeln("  var value=getCookie(\"auth\");");
document.writeln("  document.getElementById(\"searchForm\").target = \"_blank\";");
document.writeln("  document.getElementById(\"searchForm\").action = \"\/market\/template\/english08\/repsearch.jsp?user=\"+value;");
document.writeln("  document.getElementById(\"searchForm\").submit();");
document.writeln("  window.event.returnValue=false;");
document.writeln("}");
document.writeln("function KeyDown()");
document.writeln("{");
document.writeln("	if (window.event.keyCode == 13)");
document.writeln("	{");
document.writeln("		if(document.getElementById(\"search_word\").value!=\"\"){");
document.writeln("			subME();");
document.writeln("		}");
document.writeln("	}");
document.writeln("}");
document.writeln("function getCookie(name){ ");
document.writeln("	var arr,reg=new RegExp(\"(^| )\"+name+\"=([^;]*)(;|$)\");  ");
document.writeln("	if(arr=document.cookie.match(reg)) return unescape(arr[2]); ");
document.writeln("	else return null; ");
document.writeln("}");
document.writeln("function toSearch(val){");
document.writeln("	searchForm.search_word.value = val;");
document.writeln("	subMEe();");
document.writeln("}");
document.writeln("function subMEe(){");
document.writeln("  var value=getCookie(\"auth\");");
document.writeln("  searchForm.target = \"_blank\";");
document.writeln("  searchForm.action = \"\/market\/template\/english08\/repsearch.jsp?user=\"+value;");
document.writeln("  searchForm.submit();");
document.writeln("}");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<div class=\"main4-left-div1\">");
document.writeln("<img src=\"\/market\/template\/english08\/images\/z2.jpg\" \/>");
document.writeln("<h3 class=\"text12Color25\">Local Time: <span id=\"date\" value=\"\"><\/span><\/h3>");
document.writeln("<form action=\"\" name=\"searchForm\" id=\"searchForm\" method=\"POST\">");
document.writeln("<h4><input name=\"search_word\" type=\"text\" id=\"search_word\" onkeypress=\"javascript:KeyDown();\"  class=\"input7\" value='Enter Keywords Here' onclick=\"if(this.value=='Enter Keywords Here')this.value=''\"  \/><\/h4>");
document.writeln("<h4><select name=\"select\" class=\"input8\">");
document.writeln("<option value=\"1\">Title<\/option>");
document.writeln("<option value=\"2\">Content<\/option>");
document.writeln("<\/select><input name=\"\" type=\"button\" class=\"input9\" onclick=\"subME();\" \/><\/h4>");
document.writeln("<input type=hidden name=category id=category value=1>");
document.writeln("<\/form>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<script language=\"JavaScript\">");
document.writeln("function clock()");
document.writeln("{");
document.writeln("var time = new Date();");
document.writeln("var ddd= time.toLocaleString(); ");
document.writeln("document.getElementById(\"date\").innerHTML=ddd;");
document.writeln("}");
document.writeln("\/\/setInterval(\"clock()\",1000);");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<script language=\"JavaScript\">");
document.writeln("function clockon()");
document.writeln("{\/\/alert(\"in\\");
document.writeln("    var now = new Date();");
document.writeln("    var year = now.getYear();");
document.writeln("    if(year<2000)year=year+1900;");
document.writeln("    var month = now.getMonth();");
document.writeln("    var date = now.getDate();");
document.writeln("    var day = now.getDay();");
document.writeln("    var hour = now.getHours();");
document.writeln("    var minu = now.getMinutes();");
document.writeln("    var sec = now.getSeconds();");
document.writeln("    var week;");
document.writeln("    month = month+1;");
document.writeln("    if(month<10)month=\"0\"+month;");
document.writeln("    if(date<10)date=\"0\"+date;");
document.writeln("    if(hour<10)hour=\"0\"+hour;");
document.writeln("    if(minu<10)minu=\"0\"+minu;"); 
document.writeln("    if(sec<10)sec=\"0\"+sec;");
document.writeln("    var arr_week = new Array(\"??????\",\"?????\",\"?????\",\"??????\",\"??????\",\"??????\",\"??????\");");
document.writeln("    week = arr_week[day];");
document.writeln("    var time = \"\";");
document.writeln("    time = year+\"\/\"+month+\"\/\"+date+\" \"+hour+\":\"+minu+\":\"+sec;");
document.writeln("     document.getElementById(\"date\").innerHTML=\"\"+time+\"\";");
document.writeln("    setTimeout(\"clockon()\",500);");
document.writeln("}");
document.writeln("clockon();");
document.writeln("<\/script>")