document.writeln(" <script language=\"JavaScript\" type=\"text\/JavaScript\">");
document.writeln("");
document.writeln("<!--\/\/");
document.writeln("var allSupport=document.all!=null");
document.writeln("");
document.writeln("function setupEventObject(e) {");
document.writeln("\/\/ Map NS event object to IEs");
document.writeln("if (e==null) return \/\/ IE returns");
document.writeln("window.event=e");
document.writeln("window.event.fromElement=e.target");
document.writeln("window.event.toElement=e.target");
document.writeln("window.event.srcElement=e.target");
document.writeln("window.event.x=e.x");
document.writeln("window.event.y=e.y");
document.writeln("\/\/ Route the event to the original element");
document.writeln("\/\/ Necessary to make sure _tip is set.");
document.writeln("window.event.srcElement.handleEvent(e);");
document.writeln("}");
document.writeln("");
document.writeln("function checkName(src) {");
document.writeln("\/\/ Look for tooltip in IE");
document.writeln("while ((src!=null) && (src._tip==null))");
document.writeln("src=src.parentElement");
document.writeln("return src");
document.writeln("}");
document.writeln("");
document.writeln("function getElement(elName) {");
document.writeln("\/\/ Get an element from its ID");
document.writeln("if (allSupport)");
document.writeln("return document.all[elName]");
document.writeln("else");
document.writeln("return document.layers[elName]");
document.writeln("}");
document.writeln("");
document.writeln("function writeContents(el, tip) {");
document.writeln("\/\/ Replace the contents of the tooltip");
document.writeln("if (allSupport)");
document.writeln("el.innerHTML=tip");
document.writeln("else {");
document.writeln("\/\/ In NS, insert a table to work around");
document.writeln("\/\/ stylesheet rendering bug.");
document.writeln("\/\/ NS fails to apply style sheets when writing");
document.writeln("\/\/ contents into a positioned element.");
document.writeln("el.document.open()");
document.writeln("el.document.write(\"<TABLE WIDTH=200 BORDER=1 cellpadding=5 cellspacing=5 style=border-collapse: collapse  bordercolor=black><TR><TD WIDTH=100% BGCOLOR=yellow>\")");
document.writeln("el.document.write(tip)");
document.writeln("el.document.write(\"<\/TD><\/TR><\/TABLE>\")");
document.writeln("el.document.close()");
document.writeln("}");
document.writeln("}");
document.writeln("");
document.writeln("function getOffset(el, which) {");
document.writeln("\/\/ Function for IE to calculate position");
document.writeln("\/\/ of an element.");
document.writeln("var amount=el[\"offset\"+which]");
document.writeln("if (which==\"Top\")");
document.writeln("amount+=el.offsetHeight");
document.writeln("el=el.offsetParent");
document.writeln("while (el!=null) {");
document.writeln("amount+=el[\"offset\"+which]");
document.writeln("el=el.offsetParent");
document.writeln("}");
document.writeln("return amount");
document.writeln("}");
document.writeln("function setPosition(el) {");
document.writeln("\/\/ Set the position of an element");
document.writeln("src=window.event.srcElement");
document.writeln("if (allSupport) {");
document.writeln("el.style.pixelTop=getOffset(src, \"Top\") +10");
document.writeln("el.style.pixelLeft=getOffset(src, \"Left\") -70");
document.writeln("} else");
document.writeln("{");
document.writeln("el.top=src.y + 60");
document.writeln("el.left=src.x + 60");
document.writeln("}");
document.writeln("}");
document.writeln("function setVisibility(el, bDisplay) {");
document.writeln("\/\/ Hide or show to tip");
document.writeln("if (bDisplay)");
document.writeln("if (allSupport)");
document.writeln("el.style.visibility=\"visible\"");
document.writeln("else");
document.writeln("el.visibility=\"show\";");
document.writeln("else");
document.writeln("if (allSupport)");
document.writeln("el.style.visibility=\"hidden\"");
document.writeln("else");
document.writeln("el.visibility=\"hidden\"");
document.writeln("}");
document.writeln("function displayContents(tip) {");
document.writeln("\/\/ Display the tooltip.");
document.writeln("var el=getElement(\"tipBox\")");
document.writeln("writeContents(el, tip)");
document.writeln("setPosition(el)");
document.writeln("setVisibility(el, true)");
document.writeln("}");
document.writeln("function doMouseOver(e) {");
document.writeln("\/\/ Mouse moves over an element");
document.writeln("setupEventObject(e)");
document.writeln("var el, tip");
document.writeln("if ((el=checkName(window.event.srcElement))!=null)");
document.writeln("if (!el._display) {");
document.writeln("displayContents(el._tip)");
document.writeln("el._display=true");
document.writeln("}");
document.writeln("}");
document.writeln("function doMouseOut(e) {");
document.writeln("\/\/ Mouse leaves an element");
document.writeln("setupEventObject(e)");
document.writeln("el=checkName(window.event.srcElement)");
document.writeln("var el, tip");
document.writeln("if ((el=checkName(window.event.srcElement))!=null)");
document.writeln("if (el._display)");
document.writeln("if ((el.contains==null) || (!el.contains(window.event.toElement))) {");
document.writeln("setVisibility(getElement(\"tipBox\"), false)");
document.writeln("el._display=false");
document.writeln("}");
document.writeln("}");
document.writeln("function doLoad() {");
document.writeln("\/\/ Do Loading");
document.writeln("\/\/ setInterval(\"update()\", 2000);");
document.writeln("if ((window.document.captureEvents==null) && (!allSupport))");
document.writeln("return \/\/ Not IE4 or NS4");
document.writeln("if (window.document.captureEvents!=null) \/\/ NS - capture events");
document.writeln("window.document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)");
document.writeln("window.document.onmouseover=doMouseOver;");
document.writeln("window.document.onmouseout=doMouseOut;");
document.writeln("}");
document.writeln("");
document.writeln("window.onload=doLoad");
document.writeln("\/\/-->");
document.writeln("function StraightPath(fromX, fromY, toX, toY, n) {");
document.writeln("\/\/ All path objects must have these 5 methods");
document.writeln("this.x=fromX; \/\/ Retrieves the current x value");
document.writeln("this.y=fromY;");
document.writeln("this.step=int_step; \/\/ Move to next step");
document.writeln("\/\/ Returns true if the step was succesfull");
document.writeln("\/\/ Returns false when the path has been done");
document.writeln("this.reset=int_reset;");
document.writeln("\/\/ The rest may vary from different path objects");
document.writeln("");
document.writeln("this.startX=fromX;");
document.writeln("this.startY=fromY;");
document.writeln("this.endX=toX;");
document.writeln("this.endY=toY;");
document.writeln("");
document.writeln("\/\/ Initiate steps");
document.writeln("this.steps=n;");
document.writeln("this.totalSteps=n;");
document.writeln("if (this.totalSteps < 1) { \/\/ No Amimation!");
document.writeln("this.x=this.endX;");
document.writeln("this.y=this.endY;");
document.writeln("this.deltaX=0; \/\/ NN work around");
document.writeln("this.deltaY=0;");
document.writeln("}");
document.writeln("else {");
document.writeln("this.deltaX=(this.endX - this.startX) \/ this.totalSteps;");
document.writeln("this.deltaY=(this.endY - this.startY) \/ this.totalSteps;");
document.writeln("}");
document.writeln("function int_step() {");
document.writeln("if (this.steps >=0) {");
document.writeln("this.steps--;");
document.writeln("this.x +=this.deltaX;");
document.writeln("this.y +=this.deltaY;");
document.writeln("}");
document.writeln("return (this.steps >=0 );");
document.writeln("}");
document.writeln("function int_reset() {");
document.writeln("if (this.totalSteps < 1) {");
document.writeln("this.steps=0;");
document.writeln("this.x=this.endX;");
document.writeln("this.y=this.endY;");
document.writeln("}");
document.writeln("else {");
document.writeln("this.steps=this.totalSteps;");
document.writeln("this.x=this.startX;");
document.writeln("this.y=this.startY;");
document.writeln("}");
document.writeln("}");
document.writeln("}");
document.writeln("\/\/StraightPath.prototype=new Path;");
document.writeln("                                       <\/script>");
document.writeln("");
document.writeln("<STYLE type=text\/css>");
document.writeln("#tipBox {position: absolute;");
document.writeln("width: 360px;");
document.writeln("z-index: 100;");
document.writeln("border: 1pt black solid;");
document.writeln("font-family:宋体;");
document.writeln("font-size: 9pt;");
document.writeln("background: #fffacd;");
document.writeln("visibility: hidden}");
document.writeln("                                       <\/STYLE>             ");
document.writeln("                                  ");
document.writeln("                                      ");
document.writeln("                                      ");
document.writeln("<div ID=\"tipBox\" align=\"left\"><\/div>");
document.writeln("                  ");
document.writeln("              <table  cellSpacing=0 cellPadding=0 width=\"778\" border=0 style=\"border-collapse: collapse\" height=\"25\" bgcolor=\"#FFFFFF\">");
document.writeln("                <tr>");
document.writeln("                  <td width=\"159\" bgcolor=\"#FFFFFF\">");
document.writeln("                  <font color=\"#3366CC\" style=\"font-size: 10pt\"><b>&nbsp;搜索技术：<\/b>关键字：<\/font><\/td>");
document.writeln("                  <td height=25 aAlign=\"middle\" align=\"center\" width=\"219\">");
document.writeln("                      <FORM name=Search action=\"search.asp\" method=post target=_top style=\"margin:0;padding:0;\">                                                                     ");
document.writeln("                      <input id=\"Field\" type=\"hidden\" value=\"Title\" name=\"Field\">                                                                                     ");
document.writeln("                      <input name=\"searchword\" Class=\"input1\" value=\"\" size=\"21\"  style=\"width:200; height:25; background-color:#FFECD0\" onMouseOver=\"this._tip=\'<FONT style=font-size: 10pt><b><br>单项专利技术搜索：<\/b>&nbsp;&nbsp;&nbsp; <br>(1)&nbsp;简单搜索：输入,如<FONT color=#0000ff>“计算机”，<\/FONT>选择搜索类型为<FONT color=#0000ff>“技术名称”<\/FONT><br>&nbsp;&nbsp;&nbsp;&nbsp;然后点“立即搜索”即可。<br>(2)&nbsp;高级搜索：输入“<FONT color=#0000ff>计算机 and 应用<\/FONT>”将<FONT color=#000000>搜索名称中包含“<\/FONT><FONT color=#0000ff>计算<br>&nbsp;&nbsp;&nbsp;&nbsp;机<\/FONT><FONT color=#000000>”和<\/FONT>“<FONT color=#0000ff>应用<\/FONT><FONT color=#000000>”的技术 。<\/FONT>输入“<FONT color=#0000ff>计算机 or 控制<\/FONT>”将<FONT color=#000000>搜索名称<br>&nbsp;&nbsp;&nbsp;&nbsp;中包含“<\/FONT><FONT color=#0000ff>计算机<\/FONT><FONT color=#000000>”或<\/FONT>“<FONT color=#0000ff>控制<\/FONT>”<FONT color=#000000>的技术 。<\/FONT>输入<FONT color=#000000><\/FONT>“<FONT color=#0000ff>计算机 not 控<br>&nbsp;&nbsp;&nbsp;&nbsp;制<\/FONT>”将搜索名称中包含“<FONT color=#0000ff>计算机<\/FONT>”但不包含“<FONT color=#0000ff>控制<\/FONT>”的技术。<br><b>按专利号搜索：<\/b><br>&nbsp;&nbsp;&nbsp;&nbsp;输入,如<FONT color=#0000ff>“200920117772.8”，“200910013054.0”,<\/FONT>选择搜索类型为<FONT color=#0000ff>“专利号&quot;,<\/FONT>然后点<br>&nbsp;&nbsp;&nbsp;&nbsp;“立即搜索”即可。<br><br>\'\"><\/td>");
document.writeln("                  <td height=25 aAlign=\"middle\" align=\"center\" width=\"91\">");
document.writeln("                      <font style=\"font-size: 10pt\" color=\"#3366CC\">搜索类型：<\/font><\/font><\/td>");
document.writeln("               ");
document.writeln("                  <td height=25 aAlign=\"middle\" align=\"center\" width=\"99\">");
document.writeln("                      <p align=\"left\">");
document.writeln("                      <select name=\"leix\">");
document.writeln("                      <option selected value=\"0\">技术名称<\/option>");
document.writeln("                      <option  value=\"2\">专利号<\/option>");
document.writeln("                      <\/select>&nbsp; <\/td>");
document.writeln("               ");
document.writeln("                  <td height=25 aAlign=\"middle\" align=\"center\" width=\"272\">");
document.writeln("                      <p align=\"left\">");
document.writeln("                      <input type=\"image\" src=\"img\/search.jpg\" name=\"img\" width=\"73\" height=\"20\">&nbsp;");
document.writeln("                      <a href=\"wtcx.asp\"> <img border=\"0\" src=\"img\/wtxcico.jpg\" width=\"73\" height=\"20\"><\/a>&nbsp;");
document.writeln("                      <font style=\"font-size: 10pt\" color=\"#3366CC\">");
document.writeln("                      <a href=\"help.asp\">搜索帮助<\/a><\/font><\/td>");
document.writeln("               ");
document.writeln("                    <\/tr>");
document.writeln("                  <\/table><\/FORM>")



