﻿document.writeln("<div id=\"GSearchcode\"><div id=\"Z_Searchcode\"><a href=\"#zblog_search\">[博客搜索结果]<\/a><\/div><a href=\"#\" onclick=\"document.getElementById(\'GGSearch\').style.display=\'block\';return false;\">[我的搜索代码]<\/a><\/div><br>.<br>");
document.writeln("<div style=\"width:600px;display:none;\" id=\"GGSearch\">");
document.writeln("<script language=\"javascript\"> ");
document.writeln("function oCopy(obj){ ");
document.writeln("obj.select(); ");
document.writeln("js=obj.createTextRange(); ");
document.writeln("js.execCommand(\"Copy\")");
document.writeln("alert(\"复制成功,请粘贴到想要显示搜索的网页!\"); ");
document.writeln("} ");
document.writeln("<\/script>  <table width=\"90%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">");
document.writeln("     <tr>");
document.writeln("       <th colspan=\"2\"  align=\"center\" scope=\"col\">");
document.writeln("		<span style=\"font-size: 14px; font-weight: 400\">我的搜索代码<\/span><\/th>");
document.writeln("       <\/tr>");
document.writeln("     <tr>");
document.writeln("       <th scope=\"row\" align=\"center\" height=\"100\" nowrap>");
document.writeln("		<span style=\"font-weight: 400; font-size: 14px\">搜索代码:<\/span><\/th>");
document.writeln("       <td height=\"100\"><span style=\"font-size: 14px\">");
document.writeln("		<textarea name=\"web_intro\" id=\"web_intro\" cols=\"61\" rows=\"8\" onclick=\"oCopy(this)\">");
document.writeln("<script language=javascript>");
document.writeln("var BLOG_HOST=\""+BLOG_HOST+"\"  \/\/你的博客地址,带“http:\/\/”和最后的“\/”,不可修改!");
document.writeln("var BLOG_HOST_SEARCH=\""+BLOG_HOST_SEARCH+"\";  \/\/你要搜索的地址,不带“http:\/\/”和最后的“\/”,可以修改为想要搜索的网址");
document.writeln("var BLOG_SEARCH_NAME=\"本站\";       \/\/站内搜索要显示的名称,可以修改");
document.writeln("<\/script>");
document.writeln("<script language=\"JavaScript\" src=\""+BLOG_HOST+"themes\/sunnymoor\/script\/searchcode0.js\"  type=\"text\/javascript\"><\/script><\/textarea><\/span><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <th scope=\"row\" align=\"center\" nowrap>");
document.writeln("		<span style=\"font-weight: 400; font-size: 14px\">简要说明:<\/span><\/th>");
document.writeln("       <td>可以修改BLOG_HOST_SEARCH的值(你要搜索的网站地址)，放入任何网页中，请不要修改BLOG_HOST的值,否则将不在你的博客上显示搜索结果!若要隐藏该代码在此处的显示，请在CSS中将GSearchcode的display属性设为none!<\/td>");
document.writeln("     <\/tr>");
document.writeln(" 	<tr>");
document.writeln("       <th colspan=\"2\" align=\"center\" scope=\"row\"><span style=\"font-size: 14px\">");
document.writeln("         <input name=\"fuzhi\" type=\"button\" value=\"复制代码\" onclick=\"oCopy(document.getElementById(\'web_intro\'));\" \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
document.writeln("         <input name=\"guanbi\" type=\"button\" value=\"关闭\" onclick=\"document.getElementById(\'GGSearch\').style.display=\'none\';\" \/><\/span><\/th><\/tr>");
document.writeln("   <\/table>");
document.writeln(" <\/div>")
