//Translate search result info into your language
StrYourSearch="Your search:"; //Your search:
StrNewSearch="New Search"; //New Search
StrCloseWindow="Close Window"; //Close Window
StrFind="Find"; //Find
StrItems="items"; //items
strResultPage="Result Page"; //Result Page
strPrevious="Previous"; //Previous
strNext="Next"; //Next

//Options for the search engine
MatchingStrategy=0; //0:Use all words,1:Use any words,2:Use exact phrase
SearchStrategy=0; //0:search all text,1:Search title,2:Search keywords,3:Search description
ResultLinkTarget=""; //default value: "", can be "_self", "_top", "_blank", "_parent" or name you defined
OutPutWindowType=0; //0:same window,1:new window,2:use frame,3:use iframe
OutPutNewWindowProperty="resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=no,directories=no,width=590,height=300";
OutPutNewWindowOpenMode=0; //0:Always open new window,1:Reuse the window opened
OutPutResultTitle=1; //0: not output,1: output
OutPutResultText=1; //0: not output,1: output
OutPutResultUrl=1; //0: not output,1: output
OutPutResultInfo=1; //0: not output,1: output
NoNewSearchLink=1; //0: has New Search link,1: no
NoHorizLine=0; //0: has Horizontal lines,1: no
NoPoweredBy=1; //0: has Powered By info,1: no
ResultTitleSize=2; //default size: '3'
ResultTitleFace='arial'; //default face: 'arial'
ResultTitleColor='#0000ff'; //default color: '#0000FF'
ResultTextSize=2; //default size: '2'
ResultTextFace='arial'; //default face: 'arial'
ResultTextColor='#000000'; //default color: '#000000'
ResultUrlSize=2; //default size: '2'
ResultUrlFace='arial'; //default face: 'arial'
ResultUrlColor='#008000'; //default color: '#008000'
ResultInfoSize=2; //default size: '2'
ResultInfoFace='arial'; //default face: 'arial'
ResultInfoColor='#000000'; //default color: '#000000'
HitTitleColor='#cc0033'; //default color: '#CC0033'
HitTextColor='#cc0033'; //default color: '#CC0033'

ExcludedSearchWords=new Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","!","*","(",")","-","_","+","=","\\","{","}","[","]",":",";","\"","'","<",">",",",".","?","/","of","the","or","and");

SEBWebsite="http://www.aleadsoft.com";PreSearResultHTML="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n<html>\r\n<head>\r\n<title>Japan Through the Lens - Search Results</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n<META name=\"author\" Content=\"Christopher Sen Hwei CHAN\">\r\n<META name=\"keywords\" Content=\"Japan, Photos, Travelogue, Tokyo, Kyoto, Nara, Himeji, Hiroshima, Miyajima, Osaka\">\r\n<META name=\"description\" Content=\"Travelogue and photos from 12 day trip to Japan in April 2003\"> \r\n<link href=\"../senhwei.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<script LANGUAGE=\"JavaScript\" src=\"searchfunc.js\"> </script>\r\n<script>\r\n\r\n//Thumbnail image viewer-\r\n//© Dynamic Drive (www.dynamicdrive.com)\r\n//For full source code, usage terms, and 100's more DHTML scripts, visit http://www.dynamicdrive.com\r\n//Modified original code to use absolute positioning and to include a parameter-based captioning system\r\n//Modifications are © Christopher Chan 2003 (senhwei@hotmail.com)\r\n\r\nvar ie=document.all\r\nvar ns=document.layers\r\nvar ns6=document.getElementById&&!document.all\r\n//variables added to use absolution positioning of popup [Christopher Chan]\r\nvar x=200\r\nvar y=30\r\n\r\nfunction enlarge(which,e,caption){\r\n//Render image code for IE 4+ and NS6\r\nif (ie||ns6){\r\ncrossobj=document.getElementById? document.getElementById(\"showimage\") : document.all.showimage\r\nif (crossobj.style.visibility==\"hidden\"){\r\n//commented out original code which displayed popup near mouse click [Christopher Chan]\r\n//crossobj.style.left=ns6? pageXOffset+e.clientX : document.body.scrollLeft+event.clientX\r\n//crossobj.style.top=ns6? pageYOffset+e.clientY : document.body.scrollTop+event.clientY\r\n//code added to change to absolution positioning [Christopher Chan]\r\ncrossobj.style.left=ns6? pageXOffset+x : document.body.scrollLeft+x\r\ncrossobj.style.top=ns6? pageYOffset+y : document.body.scrollTop+y\r\n//added \"caption\" parameter to display photo captions [Christopher Chan]\r\n//to change the colour of the caption, look for the \"popuptext\" definition in senhwei.css [Christopher Chan]\r\ncrossobj.innerHTML='<div align=left id=drag><font class=\"popuptext\" onClick=closepreview()>'+caption+' [close]</font></div><img src=\"'+which+'\">'\r\n//end modifications [Christopher Chan]\r\ncrossobj.style.visibility=\"visible\"\r\n}\r\nelse\r\ncrossobj.style.visibility=\"hidden\"\r\nreturn false\r\n}\r\n//Render image code for NS 4\r\nelse if (document.layers){\r\nif (document.showimage.visibility==\"hide\"){\r\ndocument.showimage.document.write('<a href=\"#\" onMouseover=\"drag_dropns(showimage)\"><img src=\"'+which+'\" border=0></a>')\r\ndocument.showimage.document.close()\r\ndocument.showimage.left=e.x\r\ndocument.showimage.top=e.y\r\ndocument.showimage.visibility=\"show\"\r\n}\r\nelse\r\ndocument.showimage.visibility=\"hide\"\r\nreturn false\r\n}\r\n//if NOT IE 4+ or NS 4, simply display image in full browser window\r\nelse\r\nreturn true\r\n}\r\n\r\nfunction closepreview(){\r\ncrossobj.style.visibility=\"hidden\"\r\n}\r\n\r\n</script>\r\n\r\n\r\n<script language=\"JavaScript1.2\">\r\n<!--\r\n//By Dynamicdrive.com\r\n\r\n//drag drop function for NS 4////\r\n/////////////////////////////////\r\n\r\nvar nsx,nsy,nstemp\r\n\r\nfunction drag_dropns(name){\r\ntemp=eval(name)\r\ntemp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)\r\ntemp.onmousedown=gons\r\ntemp.onmousemove=dragns\r\ntemp.onmouseup=stopns\r\n}\r\n\r\nfunction gons(e){\r\ntemp.captureEvents(Event.MOUSEMOVE)\r\nnsx=e.x\r\nnsy=e.y\r\n}\r\nfunction dragns(e){\r\ntemp.moveBy(e.x-nsx,e.y-nsy)\r\nreturn false\r\n}\r\n\r\nfunction stopns(){\r\ntemp.releaseEvents(Event.MOUSEMOVE)\r\n}\r\n\r\n//drag drop function for IE 4+ and NS6////\r\n/////////////////////////////////\r\n\r\nfunction drag_drop(e){\r\nif (ie&&dragapproved){\r\ncrossobj.style.left=tempx+event.clientX-offsetx\r\ncrossobj.style.top=tempy+event.clientY-offsety\r\n}\r\nelse if (ns6&&dragapproved){\r\ncrossobj.style.left=tempx+e.clientX-offsetx\r\ncrossobj.style.top=tempy+e.clientY-offsety\r\n}\r\nreturn false\r\n}\r\n\r\nfunction initializedrag(e){\r\nif (ie&&event.srcElement.id==\"drag\"||ns6&&e.target.id==\"drag\"){\r\noffsetx=ie? event.clientX : e.clientX\r\noffsety=ie? event.clientY : e.clientY\r\n\r\ntempx=parseInt(crossobj.style.left)\r\ntempy=parseInt(crossobj.style.top)\r\n\r\ndragapproved=true\r\ndocument.onmousemove=drag_drop\r\n}\r\n}\r\n\r\ndocument.onmousedown=initializedrag\r\ndocument.onmouseup=new Function(\"dragapproved=false\")\r\n\r\nfunction MM_jumpMenu(targ,selObj,restore){ //v3.0\r\n  eval(targ+\".location='\"+selObj.options[selObj.selectedIndex].value+\"'\");\r\n  if (restore) selObj.selectedIndex=0;\r\n}\r\n//-->\r\n</script>\r\n\r\n</head>\r\n\r\n<body bgcolor=\"#FFFFFF\">\r\n<!-- change colour of border of popup window here. [CC] -->\r\n<div id=\"showimage\" style=\"position:absolute;visibility:hidden;border:1px solid black\"></div>\r\n<table width=\"750\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n  <tr>\r\n    <td height=\"101\" colspan=\"2\"><div align=\"left\"><img src=\"../images/main%20title.jpg\" alt=\"Japan Through the Lens\" width=\"567\" height=\"101\"></div>\r\n    </td>\r\n  </tr>\r\n  <tr class=\"bibliotext\">\r\n    <td height=\"20\" colspan=\"3\">\r\n      <div align=\"center\"><a href=\"index.html\">Home</a> | <a href=\"castles.html\">Castles &amp; Palaces</a> | <a href=\"city.html\">City\r\n          Life</a> | <a href=\"architecture.html\">Modern Architecture</a> | <a href=\"museums.html\">Museums &amp; Memorials</a> | </div>\r\n    </td>\r\n  </tr>\r\n  <tr class=\"bibliotext\">\r\n    <td height=\"20\" colspan=\"3\">\r\n      <div align=\"center\"> <a href=\"nature.html\">Nature</a> | <a href=\"night.html\">Night\r\n          Life</a> | <a href=\"temples.html\">Temples &amp; Shrines</a> | <a href=\"dress.html\">Traditional\r\n          Dress</a><br>\r\n      </div>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"31\" class=\"vert_line_white\"></td>\r\n    <td class=\"subtitle\"><p>Search Results</p>\r\n 		<FORM name=formSear action=\"javascript:RunSearch()\">\r\n			<p><span class=\"bodytext\">Search This Site :</span>				<INPUT name=searWords >&nbsp;<INPUT name=Send type=submit value=Go>\r\n		</FORM></td>\r\n    <td class=\"vert_line_white\"></td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"325\" class=\"vert_line_white\"></td>\r\n    <td class=\"bodytext\">\r\n			";SEBEmail="support@aleadsoft.com";StepSearResultHTML="\r\n    </td>\r\n    <td class=\"vert_line_white\"></td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"17\" class=\"vert_line_white\"></td>\r\n    <td class=\"bodytext\">\r\n	<center>\r\n	</center>\r\n    </td>\r\n    <td class=\"vert_line_white\"></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"2\" class=\"vert_line_white\"></td>\r\n    <td width=\"597\" class=\"bodytext\"></td><td width=\"3\" class=\"vert_line_white\"></td>\r\n  </tr>\r\n</table>\r\n<table width=\"750\" border=\"0\" align=\"center\">\r\n  <tr>\r\n    <td width=\"311\"><div align=\"left\"><a href=\"mailto:senhwei@hotmail.com\"><img src=\"../images/banner.jpg\" width=\"160\" height=\"50\" border=\"0\"></a></div>\r\n    </td>\r\n    <td width=\"311\"><div align=\"right\"><img src=\"../images/other_galleries.jpg\" width=\"170\" height=\"20\"></div>\r\n    </td>\r\n    <td width=\"116\"><select name=\"Other_Galleries\" onChange=\"MM_jumpMenu('parent',this,1)\">\r\n    <option selected>Choose One</option>\r\n    <option value=\"http://www.employees.org/~senhwei/nz/\">New Zealand</option>\r\n    <option value=\"http://www.employees.org/~senhwei/sf/travelogue/\">San Francisco</option>\r\n    </select>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<p class=\"bodytext\">&nbsp;</p>\r\n</body>\r\n</html>\r\n";SEBAuthor="ALeadSoft.com, Inc.";document.write("<script LANGUAGE='JavaScript' src='webdata.js'></script>");eval(unescape("Copyright%3D%22ALeadSoft--Search-Engine-Builder%22%3BstrCode%3D%22%23%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*@%23+*%23%3D%7C%25@%23+*%3D%7C%25@%23+*%5E%3Ca%20href%3D%27%22%3BstrSearch%3D%22%27%3E%23%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*@%23+*%23%3D%7C%25@%23+*%3D%7C%25@%23+*%5E%3Ca%20href%3D%27%22%3BarrSearWord%3Dnew%20Array%28%29%3B%20arrSearWordExcluded%3Dnew%20Array%28%29%3B%20searWordNum%3D0%3B%20arrHitPages%3Dnew%20Array%28%29%3B%20hitPageNum%3D0%3B%20totHitPageNum%3D0%3B%20arrCurRecord%3Dnew%20Array%28%29%3B%20curCol%3D0%3B%20OutputStart%3D0%3B%20strSite%3D%22ALeadSoft%22%3B%20strProduct%3D%22Search%20Engine%20Builder%22%3B%20strEngine%3D%22%27%3E%23%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*@%23+*%23%3D%7C%25@%23+*%3D%7C%25@%23+*%5E%3Ca%20href%3D%27%22%3Bfunction%20InsertSubStr%28destStr%2CsubStr%2Cinspos%29%20%7B%20%20%20var%20tmpStr%3B%20%20%20tmpStr%20%3D%20destStr.substring%280%2Cinspos%29%3B%20%20%20tmpStr%20+%3D%20subStr%3B%20%20%20tmpStr%20+%3D%20destStr.substring%28inspos%2CdestStr.length%29%3B%20%20%20return%20tmpStr%3B%7Dfunction%20trimpre%28s%29%20%7B%20%20%20while%28%20s.length%20%3E%200%20%29%20%20%20%20%7B%20%20%20%20%20%20if%28%20s.charAt%280%29%20%3D%3D%20%27%20%27%20%29%20%20%20%20%20%20%20%20s%20%3D%20s.substring%281%2C%20s.length%29%3B%20%20%20%20%20else%20%20%20%20%20%20%20%20break%3B%20%20%20%7D%20%20%20%20%20%20return%20s%3B%7Dfunction%20trimbac%28s%29%20%7B%20%20%20while%28%20s.length%20%3E%200%20%29%20%20%20%20%7B%20%20%20%20%20%20if%28%20s.charAt%28s.length-1%29%20%3D%3D%20%27%20%27%20%29%20%20%20%20%20%20%20%20s%20%3D%20s.substring%280%2C%20s.length-1%29%3B%20%20%20%20%20else%20%20%20%20%20%20%20%20break%3B%20%20%20%7D%20%20%20%20%20%20return%20s%3B%7DstrCode%3D%22%27%3E%23%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*@%23+*%23%3D%7C%25@%23+*%3D%7C%25@%23+*%5E%3Ca%20href%3D%27%22%3Bfunction%20mytrim%28s%29%20%20%7B%20%20%20var%20str%3D%22%22%3B%20%20%20%20s%20%3D%20trimpre%28s%29%3B%20%20%20%20s%20%3D%20trimbac%28s%29%3B%20%20%20%20var%20index%20%3D%20s.indexOf%28%27%20%27%29%3B%20%20%20while%28%20index%20%21%3D%20-1%20%29%20%20%20%7B%20%20%20%20%20%20str%20+%3D%20s.substring%280%2C%20index%29%20+%20%27%20%27%3B%20%20%20%20%20%20%20s%20%3D%20trimpre%28%20s.substring%28index%2C%20s.length%29%20%29%3B%20%20%20%20%20%20%20index%20%3D%20s.indexOf%28%27%20%27%29%3B%20%20%20%7D%20%20%20str%20+%3D%20s%3B%20%20%20%20return%20str%3B%20%7Dfunction%20MinNumPos%28numArray%2CitemNum%29%20%7B%20%20%20var%20minPos%3D0%3B%20%20%20var%20min%3DnumArray%5B0%5D%3B%20%20%20for%28var%20i%3D1%3B%20i%3CitemNum%3B%20i++%29%09if%28numArray%5Bi%5D%3Cmin%29%20%20%20%20%20%20%20%20%7B%09%09min%3DnumArray%5Bi%5D%3B%20%09%09minPos%3Di%3B%20%20%20%20%09%7D%20%20%20return%20minPos%3B%7Dfunction%20SplitSearWords%28searWords%29%20%7B%20%20%20searWords%3Dmytrim%28searWords%29%3B%20%20%20if%28searWords%3D%3D%22%22%29%20%20%20%20%20%20%20%20return%3B%20%20%20if%28MatchingStrategy%3D%3D2%29%20%20%20%20%7B%20%20%20%20%20%20%20%20arrSearWord%5B0%5D%3DsearWords%3B%20%20%20%20%20%20%20%20searWordNum%3D1%3B%20%20%20%7D%20%20%20else%20%20%20%20%7B%20%20%20%20%20%20%20%20arrSearWord%3DsearWords.split%28%22%20%22%29%3B%20%20%20%20%20%20%20%20searWordNum%3DarrSearWord.length%3B%20%20%20%7D%20%20%20for%28var%20w%3D0%3B%20w%3CsearWordNum%3B%20w++%29%20%20%20%20%7B%09for%28var%20q%3D0%3B%20q%3CExcludedSearchWords.length%20%26%26%20ExcludedSearchWords%5Bq%5D%21%3DarrSearWord%5Bw%5D.toLowerCase%28%29%3B%20q++%29%3B%09if%28%20q%20%3C%20ExcludedSearchWords.length%20%29%20%09%20%20%20%20arrSearWordExcluded%5Bw%5D%20%3D%201%3B%09else%20%20%09%20%20%20%20arrSearWordExcluded%5Bw%5D%20%3D%200%3B%09%09%20%20%20%7D%7DstrBuilder%3D%22%27%3E%23%3D%23%3D%7C%25@%23+*%5E-%23%3D%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%7C%25@%23+*%23%3D%7C%25@%23+*%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20SearchWords%28pari%2CparFileName%2CparTitle%2CparText%2CparKeywords%2CparDescription%2CparLinkDescription%29%20%7B%20%20var%20TxtForSearch%20%3D%20parText%3B%20%20%20if%28%20SearchStrategy%20%3D%3D%202%20%29%20%20%20%20%20TxtForSearch%20%3D%20parKeywords%3B%20%20if%28%20SearchStrategy%20%3D%3D%203%20%29%20%20%20%20%20TxtForSearch%20%3D%20parDescription%3B%20%20var%20bOnlyTitle%20%3D%200%3B%20%20if%28%20SearchStrategy%3D%3D1%20%29%20%20%20%20%20%20bOnlyTitle%20%3D%201%3B%20%20%20%20%20var%20pageHitNum%3D0%3B%20%20%20%20%20%20%20var%20pageHitTit%3D%22%22%3B%20%20%20%20%20%20var%20pageHitTxt%3D%22%22%3B%20%20%20%20%20%20if%28parTitle.length%20%3E%20120%29%20%09pageHitTit%3DparTitle.substring%280%2C120%29+%22...%22%3B%20%20%20%20%20else%09pageHitTit%3DparTitle%3B%20%20%20%20%20var%20lastOffsetTxt%3D-81%3B%20%20%20%20%20%20%20for%28var%20w%3D0%3B%20w%3CsearWordNum%3B%20w++%29%20%20%20%20%20%7B%09if%28%20arrSearWordExcluded%5Bw%5D%20%3D%3D%201%20%29%20%09%09continue%3B%09var%20wordPageHitNum%3D0%3B%20%20%20%20%20%20%20%20%20var%20offsetTit%3B%20%20%09offsetTit%3D%28%20pageHitTit.toLowerCase%28%29%20%29.indexOf%28%20arrSearWord%5Bw%5D.toLowerCase%28%29%20%29%3B%09if%28bOnlyTitle%3D%3D1%20%26%26%20MatchingStrategy%21%3D1%20%26%26%20offsetTit%3D%3D-1%29%20%09%7B%09%09%09%09%09%09%09%09%09%09pageHitNum%3D0%3B%20%09%09break%3B%09%7D%20%20%20%20%20%20%20%20var%20offsetTxt%3B%09offsetTxt%3D%28%20TxtForSearch.toLowerCase%28%29%20%29.indexOf%28%20arrSearWord%5Bw%5D.toLowerCase%28%29%20%29%3B%09if%28MatchingStrategy%21%3D1%20%26%26%20offsetTit%3D%3D-1%20%26%26%20offsetTxt%3D%3D-1%29%20%09%7B%09%09pageHitNum%3D0%3B%20%09%09break%3B%09%7D%09var%20%20starpos%3D0%3B%20%09while%28offsetTit%21%3D-1%29%20%20%20%09%7B%09%09pageHitTit%3DInsertSubStr%28pageHitTit%2C%22%3C/font%3E%22%2CoffsetTit+arrSearWord%5Bw%5D.length%29%3B%09%09pageHitTit%3DInsertSubStr%28pageHitTit%2C%22%3Cfont%20color%3D%22+HitTitleColor+%22%3E%22%2CoffsetTit%29%3B%09%09%09%09wordPageHitNum+%3D20%3B%09%09starpos+%3DarrSearWord%5Bw%5D.length+26%3B%09%09if%28starpos%3E%3DpageHitTit.length%29%20%09%09%09break%3B%09%09%09%09offsetTit%3D%28%20pageHitTit.toLowerCase%28%29%20%29.indexOf%28arrSearWord%5Bw%5D.toLowerCase%28%29%2Cstarpos%29%3B%20%09%7D%09if%28bOnlyTitle%3D%3D0%29%20%09%7B%09%09starpos%3D0%3B%20%20%09%09while%28offsetTxt%21%3D-1%20%26%26%20pageHitTxt.length%3C130%29%20%09%09%7B%09%09%09%09var%20dist%20%3D%20%28lastOffsetTxt%3E%3DoffsetTxt%29%20%3F%20lastOffsetTxt-offsetTxt%20%3A%20offsetTxt-lastOffsetTxt%3B%09%09%09if%28dist%20%3E%3D%2080%29%20%09%09%09%7B%09%09%09%09var%20preText%2CsufText%3B%09%09%09%09if%28offsetTxt%20%3C%2080%29%20%09%09%09%09%09preText%3DTxtForSearch.substring%280%2CoffsetTxt%29%3B%09%09%09%09else%09%09%09%09%09preText%3D%22...%22+TxtForSearch.substring%28offsetTxt-80%2CoffsetTxt%29%3B%09%09%09%09if%28offsetTxt+arrSearWord%5Bw%5D.length+80%20%3E%20TxtForSearch.length%29%09%09%09%09%09sufText%3DTxtForSearch.substring%28offsetTxt+arrSearWord%5Bw%5D.length%2CTxtForSearch.length%29%3B%09%09%09%09else%09%09%09%09%09sufText%3DTxtForSearch.substring%28offsetTxt+arrSearWord%5Bw%5D.length%2CoffsetTxt+arrSearWord%5Bw%5D.length+80%29+%22...%22%3B%09%09%09%09pageHitTxt+%3DpreText+arrSearWord%5Bw%5D+sufText%3B%09%09%09%09lastOffsetTxt%3DoffsetTxt%3B%20%09%09%09%7D%09%09%09wordPageHitNum+%3D5%3B%09%09%09%09%09%09starpos+%3DarrSearWord%5Bw%5D.length%3B%09%09%09%09if%28starpos%3E%3DTxtForSearch.length%29%20%09%09%09%09break%3B%09%09%09%09%09%09%09offsetTxt%3D%28%20TxtForSearch.toLowerCase%28%29%20%29.indexOf%28arrSearWord%5Bw%5D.toLowerCase%28%29%2Cstarpos%29%3B%20%09%09%7D%09%09%7D%09pageHitNum%20+%3D%20wordPageHitNum%3B%20%20%20%20%20%20%7D%20%20%20%20%20if%28pageHitNum%20%3D%3D%200%29%20%20%20%09return%3B%20%20%20%20%20if%28bOnlyTitle%3D%3D0%29%20%20%20%20%20%20%7B%20%20%20%20%20%09for%28w%3D0%3B%20w%3CsearWordNum%3B%20w++%29%20%20%20%20%20%20%09%7B%09%09if%28%20arrSearWordExcluded%5Bw%5D%20%3D%3D%201%20%29%20%09%09%09continue%3B%20%20%20%20%20%20%20%20%20%20%20%09var%20offsetTxt%3D0%3B%09%20%20%20%09var%20starpos%3D0%3B%20%09%20%20%20%09while%28offsetTxt%21%3D-1%29%09%20%20%20%09%7B%09%09%09offsetTxt%3D%28%20pageHitTxt.toLowerCase%28%29%20%29.indexOf%28arrSearWord%5Bw%5D.toLowerCase%28%29%2Cstarpos%29%3B%09%09%09if%28offsetTxt%21%3D-1%29%20%09%09%09%7B%09%09%09%09pageHitTxt%3DInsertSubStr%28pageHitTxt%2C%22%3C/font%3E%22%2CoffsetTxt+arrSearWord%5Bw%5D.length%29%3B%09%09%09%09pageHitTxt%3DInsertSubStr%28pageHitTxt%2C%22%3Cfont%20color%3D%22+HitTextColor+%22%3E%22%2CoffsetTxt%29%3B%09%09%09%09starpos+%3DarrSearWord%5Bw%5D.length+26%3B%09%09%09%09if%28starpos%3E%3DpageHitTxt.length%29%20%09%09%09%09%09break%3B%09%09%09%7D%09%20%20%20%20%09%7D%09%20%20%20%20%20%20%20%09%20%20%7D%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20arrHitPages%5BhitPageNum%5D%3Dnew%20Array%28pari%2CpageHitNum%2CparFileName%2CpageHitTit%2CpageHitTxt%2CparLinkDescription%29%3B%20%20%20%20%20%20%20%20hitPageNum++%3B%20%20%20%7DtxtEngine%3D%22%27%3E%23%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*@%23+*%23%3D%7C%25@%23+*%3D%7C%25@%23+*%5E%3C%22%3Bfunction%20SortResult%28%29%20%7B%20%20%20var%20minpos%3B%20%20%20%20%20%20var%20arrHitNum%20%3D%20new%20Array%28%29%3B%20%20%20%20%20%20var%20itemNum%20%3D%20hitPageNum%3B%20%20%20%20%20for%28var%20i%3D0%3B%20i%3CitemNum%3B%20i++%29%20%09arrHitNum%5Bi%5D%20%3D%20arrHitPages%5Bi%5D%5B1%5D%3B%20%20%20while%28itemNum%20%3E%200%29%20%20%20%7B%20%20%20%09minpos%20%3D%20MinNumPos%28arrHitNum%2CitemNum%29%3B%20%09var%20tmp%20%3D%20arrHitNum%5Bminpos%5D%3B%20%09arrHitNum%5Bminpos%5D%20%3D%20arrHitNum%5BitemNum-1%5D%3B%09arrHitNum%5BitemNum-1%5D%20%3D%20tmp%3B%09%20%20%20%09for%28var%20k%3D0%3B%20k%3C6%3B%20k++%29%20%20%20%20%09%7B%09%20%20%20var%20temp%20%3D%20arrHitPages%5Bminpos%5D%5Bk%5D%3B%09%20%20%20arrHitPages%5Bminpos%5D%5Bk%5D%20%3D%20arrHitPages%5BitemNum-1%5D%5Bk%5D%3B%20%09%20%20%20arrHitPages%5BitemNum-1%5D%5Bk%5D%20%3D%20temp%3B%20%20%09%7D%09%09itemNum--%3B%20%20%20%20%20%7D%20%20%20%20%7DtxtAlead%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20GetMatchParameters%28%20parVal%20%29%20%7B%20%20%20var%20iVal%3B%20%20%20iVal%20%3D%20parseInt%28parVal%29%3B%20%20%20if%28%20%21isNaN%28iVal%29%20%29%09MatchingStrategy%20%3D%20iVal%3B%7Dfunction%20GetSearchParameters%28%20parVal%20%29%20%7B%20%20%20%20%20var%20iVal%3B%20%20%20iVal%20%3D%20parseInt%28parVal%29%3B%20%20%20%20%20%20if%28%20%21isNaN%28iVal%29%20%29%20%20%20%09SearchStrategy%20%3D%20iVal%3B%20%7DtxtAlead%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20GenOutPutResult%28pageType%29%20%7B%20%20%20var%20strOutput%3D%22%22%3B%20%20%20%20if%28%20strSite.indexOf%28%22dS%22%29%20%3D%3D%20-1%20%7C%7C%20strSite.indexOf%28%22ea%22%29%20%3D%3D%20-1%20%7C%7C%20strSite.indexOf%28%22AL%22%29%20%3D%3D%20-1%20%29%20%09return%20%22%22%3B%20%20%20if%28%20SEBAuthor.length%20%21%3D%2019%20%29%20%09NoPoweredBy%20%3D%200%3B%20%20%20strOutput+%3D%22%3C%21--%20****************%20Powered%20by%3A%20%22+strProduct+%22%20-%20www.%22+strSite+%22.com%20****************%20--%3E%22%3B%20%20%20if%28OutPutResultInfo%3D%3D1%29%20%20%20%20%7B%20%20%20%09strOutput+%3D%22%3Cfont%22+%22%20size%3D%22+ResultInfoSize+%22%20color%3D%22+ResultInfoColor+%22%20face%3D%22+ResultInfoFace+%22%3E%22+StrYourSearch+%22%3C/font%3E%20%3Cb%3E%22%3B%20%20%20%20%09for%28var%20i%3D0%3B%20i%3CsearWordNum%3B%20i++%29%20%20%09%09strOutput+%3DarrSearWord%5Bi%5D+%22%20%22%3B%20%20%20%09strOutput+%3D%22%3C/b%3E%26nbsp%3B%26nbsp%3B%22%3B%20%20%20%7D%20%20%20if%28NoNewSearchLink%3D%3D0%29%20%20%20%20%7B%20%20%20%09if%28OutPutWindowType%3D%3D0%29%20%09%7B%09%09if%28%20navigator.appName.indexOf%28%22Netscape%22%29%20%21%3D%20-1%20%29%20%20%20%20%20%20%20%09%09%09strOutput+%3D%22%3Ca%20href%3D%27javascript%3Awindow.location.reload%28%29%27%3E%3Cb%3E%22+StrNewSearch+%22%3C/b%3E%3C/a%3E%3Cbr%3E%22%3B%09%09%09%09%09else%20%20%20%20%20%20%20%09%09%09strOutput+%3D%22%3Ca%20href%3D%27javascript%3Ahistory.go%28-1%29%27%3E%3Cb%3E%22+StrNewSearch+%22%3C/b%3E%3C/a%3E%3Cbr%3E%22%3B%09%7D%20%20%20%09if%28OutPutWindowType%3D%3D1%29%20%20%20%20%20%20%20%09%09strOutput+%3D%22%3Ca%20href%3D%27javascript%3Aself.close%28%29%3B%27%3E%3Cb%3E%22+StrCloseWindow+%22%3C/b%3E%3C/a%3E%3Cbr%3E%22%3B%20%20%20%7D%20%20%20else%09strOutput+%3D%22%3Cbr%3E%22%3B%20%20%20if%28%20strSite.charAt%284%29%21%3D%27d%27%20%7C%7C%20strSite.length%20%21%3D%209%20%29%20%20%09return%20%22%22%3B%20%20%20if%28NoHorizLine%3D%3D0%29%20%20%20%20%09strOutput+%3D%22%3Chr%3E%22%3B%20%20%20else%09strOutput+%3D%22%3Cbr%3E%22%3B%20%20%20if%28OutPutResultInfo%3D%3D0%26%26NoNewSearchLink%3D%3D1%26%26NoHorizLine%3D%3D1%29%20%09strOutput%3D%22%22%3B%20%20%20for%28var%20i%3D0%3B%20i%3ChitPageNum%3B%20i++%29%20%20%20%7B%09var%20index%3DarrHitPages%5Bi%5D%5B0%5D%3B%09var%20strLinkTarget%20%3D%20arrHitPages%5Bi%5D%5B5%5D%3B%20%09if%28%20strLinkTarget%20%3D%3D%20%22%22%20%26%26%20ResultLinkTarget%20%21%3D%20%22%22%20%29%09%09strLinkTarget%20%3D%20%22target%3D%27%22+ResultLinkTarget+%22%27%22%3B%09%09if%28OutPutResultTitle%3D%3D1%29%09%09strOutput+%3D%22%3Cbig%3E%3Ca%20href%3D%27%22+arrHitPages%5Bi%5D%5B2%5D+%22%27%20%22+strLinkTarget+%22%3E%22+%22%3Cfont%22+%22%20size%3D%22+ResultTitleSize+%22%20color%3D%22+ResultTitleColor+%22%20face%3D%22+ResultTitleFace+%22%3E%22+arrHitPages%5Bi%5D%5B3%5D+%22%3C/font%3E%3C/a%3E%3C/big%3E%3Cbr%3E%22%3B%09if%28OutPutResultText%3D%3D1%29%09%09strOutput+%3D%22%3Cfont%22+%22%20size%3D%22+ResultTextSize+%22%20color%3D%22+ResultTextColor+%22%20face%3D%22+ResultTextFace+%22%3E%22+arrHitPages%5Bi%5D%5B4%5D+%22%3C/font%3E%3Cbr%3E%22%3B%09if%28OutPutResultUrl%3D%3D1%29%09%7B%09%20%20%20%20if%28%20arrHitPages%5Bi%5D%5B3%5D%20%3D%3D%20%22%22%20%29%09%20%20%20%20%09strOutput+%3D%22%3Ca%20href%3D%27%22+arrHitPages%5Bi%5D%5B2%5D+%22%27%20%22+arrHitPages%5Bi%5D%5B5%5D+%22%3E%22+%22%3Cfont%22+%22%20size%3D%22+ResultUrlSize+%22%20color%3D%22+ResultUrlColor+%22%20face%3D%22+ResultUrlFace+%22%3E%22+arrHitPages%5Bi%5D%5B2%5D+%22%3C/font%3E%3C/a%3E%3Cbr%3E%3Cbr%3E%22%3B%09%20%20%20%20else%09%20%20%20%20%09strOutput+%3D%22%3Cfont%22+%22%20size%3D%22+ResultUrlSize+%22%20color%3D%22+ResultUrlColor+%22%20face%3D%22+ResultUrlFace+%22%3E%22+arrHitPages%5Bi%5D%5B2%5D+%22%3C/font%3E%3Cbr%3E%3Cbr%3E%22%3B%09%7D%20%20%20%7D%20%20%20if%28NoHorizLine%3D%3D0%29%20%09%20%20%20strOutput+%3D%22%3Chr%3E%22%3B%20%20%20if%28%20pageType%20%3D%3D%20%22ASP%22%20%7C%7C%20pageType%20%3D%3D%20%22PHP%22%20%29%20%20%20%7B%09var%20pageNum%20%3D%20parseInt%28%20%28totHitPageNum-1%29/10%20%29%20+%201%3B%09%09if%28%20pageNum%20%3E%201%20%29%09%7B%20%20%09%20%20%20%20strOutput+%3DstrResultPage+%22%3A%20%22%3B%09%20%20%20%20var%20strLink%3B%09%20%20%20%20strLink%20%3D%20SearchFileName%3B%09%20%20%20%20strLink%20+%3D%20%22%3FsearWords%3D%22%3B%09%20%20%20%20for%28var%20i%3D0%3B%20i%3CsearWordNum%3B%20i++%29%09%20%20%20%20%7B%09%09strLink%20+%3D%20arrSearWord%5Bi%5D%3B%09%09if%28%20i%3CsearWordNum-1%20%29%09%09%20%20%20%20strLink%20+%3D%20%22+%22%3B%09%09%09%20%20%20%20%7D%09%20%20%20%20strLink%20+%3D%20%22%26Send%3DSearch%22%3B%09%20%20%20%20strLink%20+%3D%20%22%26match%3D%22+MatchingStrategy%3B%09%20%20%20%20strLink%20+%3D%20%22%26search%3D%22+SearchStrategy%3B%09%20%20%20%20if%28%20OutputStart%20%3E%3D%2010%20%29%20%09%09strOutput+%3D%22%3Ca%20href%3D%27%22+strLink+%22%26start%3D%22+%28OutputStart-10%29+%22%27%3E%22+strPrevious+%22%3C/a%3E%20%22%3B%20%09%20%20%20%20for%28var%20t%3D0%3B%20t%3CpageNum%3B%20t++%29%09%20%20%20%20%7B%09%09strOutput+%3D%22%3Ca%20href%3D%27%22+strLink+%22%26start%3D%22+t*10+%22%27%3E%22+%28t+1%29+%22%3C/a%3E%20%22%3B%09%20%20%20%20%7D%09%20%20%20%20%09%09%09%20%20%20%20if%28%20OutputStart%20%3C%20%28pageNum-1%29*10%20%29%20%09%09strOutput+%3D%22%3Ca%20href%3D%27%22+strLink+%22%26start%3D%22+%28OutputStart+10%29+%22%27%3E%22+strNext+%22%3C/a%3E%20%22%3B%09%09%09%20%20%20%20strOutput+%3D%22%3Cbr%3E%3Cbr%3E%22%3B%09%7D%20%20%20%7D%20%20%20if%28%20OutPutResultInfo%20%3D%3D%201%20%29%20%09%20%20%20strOutput+%3D%22%3Cfont%22+%22%20size%3D%22+ResultInfoSize+%22%20color%3D%22+ResultInfoColor+%22%20face%3D%22+ResultInfoFace+%22%3E%22+StrFind+%22%20%22+totHitPageNum+%22%20%22+StrItems+%22.%3C/font%3E%20%20%22%3B%20%20%20%20if%28%20NoPoweredBy%20%3D%3D%200%20%29%20%20%20%20%7B%20%20%20%09strOutput%20+%3D%20%22%3Cfont%20size%3D-1%3EPowered%20by%20%3Ca%20href%3D%27http%3A//www.%22+strSite+%22.com%27%3E%22%3B%09strOutput%20+%3D%20strProduct%3B%09strOutput%20+%3D%20%22%3C/a%3E%202003%3C/font%3E%22%3B%20%20%20%7D%20%20%20strOutput%20%3D%20PreSearResultHTML+%22%3Cbr%3E%22+strOutput+%22%3Cbr%3E%22+StepSearResultHTML%3B%20%20%20if%28%20strProduct.length%20%21%3D%2021%20%7C%7C%20SEBAuthor.indexOf%28strSite%29%20%3D%3D%20-1%20%7C%7C%20Copyright.indexOf%28strSite%29%20%21%3D%200%20%29%20%09return%20%22%22%3B%20%20%20return%20strOutput%3B%7DstrSoft%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20SetTotHitPageNum%28iHitNum%29%20%7B%20%20%20totHitPageNum%20%3D%20iHitNum%3B%7Dfunction%20OutPut%28pageType%29%20%7B%20%20%20%20%20var%20strOutput%3B%20%20%20strOutput%20%3D%20GenOutPutResult%28pageType%29%3B%20%20%20if%28%20strProduct.indexOf%28%22earc%22%29%20%3D%3D%20-1%20%7C%7C%20strProduct.indexOf%28%22ngin%22%29%20%3D%3D%20-1%20%7C%7C%20strProduct.indexOf%28%22uild%22%29%20%3D%3D%20-1%20%29%20%09return%3B%20%20%20if%28%20SEBWebsite.indexOf%28%22lea%22%29%20%3D%3D%20-1%20%7C%7C%20SEBEmail.indexOf%28%22eads%22%29%20%3D%3D%20-1%20%29%20%09return%3B%20%20%20if%28%20pageType%20%3D%3D%20%22PHP%22%20%29%20%20%20%7B%20%20%20%20%20%20%20document.write%28strOutput%29%3B%20%20%20%20%20%20%20return%3B%20%20%20%7D%20%20%20if%28%20pageType%20%3D%3D%20%22ASP%22%20%29%20%20%20%7B%20%20%20%20%20%20%20Response.Write%28strOutput%29%3B%20%20%20%20%20%20%20return%3B%20%20%20%7D%20%20%20if%28%20pageType%20%3D%3D%20%22JS%22%20%29%20%20%20%7B%20%20%20%20%20%20%20if%28OutPutWindowType%3D%3D0%29%20%20%20%20%20%20%20%20%7B%09%20%20%20%20if%28%20PreSearResultHTML.indexOf%28%22javascript%3ARunSearch%28%29%22%29%20%21%3D%20-1%20%29%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20document.close%28%29%3B%20%09%20%20%20%20%20%20%20%20document.open%28%29%3B%09%20%20%20%20%7D%20%20%20%09%20%20%20%20document.write%28strOutput%29%3B%09%20%20%20%20return%3B%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20if%28OutPutWindowType%3D%3D1%29%20%20%20%20%20%20%20%20%7B%09%20%20%20%20var%20strObject%20%3D%20%22Object%22%3B%09%09%20%20%20%20if%28%20OutPutNewWindowOpenMode%20%3D%3D%200%20%29%20%09%20%20%20%20%09strObject%20+%3D%20Math.floor%28Math.random%28%29*1000%29+1%3B%09%20%20%20%20%20%20%20%09%20%20%20%20var%20newWin%20%3D%20open%28%22%22%2CstrObject%2COutPutNewWindowProperty%29%3B%09%20%20%20%20%20%20%20%09%20%20%20%20newWin.document.close%28%29%3B%20%20%20%20%09%20%20%20%20newWin.document.open%28%29%3B%20%20%20%09%20%20%20%20newWin.document.write%28strOutput%29%3B%09%20%20%20%20return%3B%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20if%28OutPutWindowType%3D%3D2%29%20%20%20%20%20%20%20%20%7B%09%20%20%20%20%09%09%20%20%20%20parent.main.document.close%28%29%3B%20%20%20%20%09%20%20%20%20parent.main.document.open%28%29%3B%20%20%09%20%20%20%20%20%20%20%09%20%20%20%20parent.main.document.write%28strOutput%29%3B%09%20%20%20%20return%3B%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20if%28OutPutWindowType%3D%3D3%29%20%20%20%20%20%20%20%20%7B%09%20%20%20%20%09%09%20%20%20%20document.frames%28%22result%22%29.document.close%28%29%3B%20%20%20%20%09%20%20%20%20document.frames%28%22result%22%29.document.open%28%29%3B%20%20%09%20%20%20%20%20%20%20%09%20%20%20%20document.frames%28%22result%22%29.document.write%28strOutput%29%3B%09%20%20%20%20return%3B%20%20%20%20%20%20%20%7D%20%20%20%7D%7Dfunction%20RunSearch%28%29%20%7B%20%20%20%20if%28%20document.formSear.match%20%29%20%09GetMatchParameters%28document.formSear.match.value%29%3B%20%20%20if%28%20document.formSear.search%20%29%09GetSearchParameters%28document.formSear.search.value%29%3B%20%20%20var%20searWords%3B%20%20%20%20searWords%3Ddocument.formSear.searWords.value%3B%20%20%20if%28searWords%3D%3D%22%22%29%20return%3B%20%20%20SplitSearWords%28searWords%29%3B%20%20%20hitPageNum%20%3D%200%3B%20%20%20%20for%28var%20i%3D0%3B%20i%3CfileNum%3B%20i++%29%20%20%20%20%20%20%20%20SearchWords%28i%2CarrFiles%5Bi%5D%5B0%5D%2CarrFiles%5Bi%5D%5B1%5D%2CarrFiles%5Bi%5D%5B2%5D%2CarrFiles%5Bi%5D%5B3%5D%2CarrFiles%5Bi%5D%5B4%5D%2CarrFiles%5Bi%5D%5B5%5D%29%3B%20%20%20SetTotHitPageNum%28hitPageNum%29%3B%20%20%20SortResult%28%29%3B%20%20%20OutPut%28%22JS%22%29%3B%7DtxtEngine%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20ConstruSQL%28%29%20%7B%20%20%20if%28%20searWordNum%20%3D%3D%200%20%29%09return%20%22%22%3B%20%20%20var%20strSQL%3B%20%20%20%20strSQL%20%3D%20%22SELECT%20*%20FROM%20IndexData%22%3B%20%20%20var%20tmpSQL%20%3D%20%22%22%3B%20%20%20for%28var%20i%3D0%3B%20i%3CsearWordNum%3B%20i++%29%20%20%20%7B%09if%28%20arrSearWordExcluded%5Bi%5D%20%3D%3D%201%20%29%20%09%20%20%20%20continue%3B%09if%28%20tmpSQL%20%21%3D%20%22%22%20%29%09%7B%20%20%20%20%20%20%20%20%20%20%20%20if%28%20MatchingStrategy%20%3D%3D%200%20%29%20%09%20%20%20%20%20%20%20%20tmpSQL%20+%3D%20%22AND%20%22%3B%20%20%09%20%20%20%20if%28%20MatchingStrategy%20%3D%3D%201%20%29%20%09%20%20%20%20%20%20%20%20tmpSQL%20+%3D%20%22OR%20%22%3B%09%7D%09tmpSQL%20+%3D%20%22Title%20LIKE%20%27%25%22+arrSearWord%5Bi%5D+%22%25%27%20%22%3B%20%20%20%7D%20%20%20if%28%20tmpSQL%20%21%3D%20%22%22%20%29%20%20%20%20%20%20%20%20strSQL%20+%3D%20%20%22%20WHERE%20%28%22%20+%20tmpSQL%20+%20%22%29%22%3B%20%20%20else%20%20%20%09return%20%22%22%3B%20%20%20if%28%20SearchStrategy%20%3D%3D%201%20%29%20%09return%20strSQL%3B%20%20%20tmpSQL%20%3D%20%22%22%3B%20%20%20for%28var%20i%3D0%3B%20i%3CsearWordNum%3B%20i++%29%20%20%20%7B%09if%28%20arrSearWordExcluded%5Bi%5D%20%3D%3D%201%20%29%20%09%20%20%20%20continue%3B%09if%28%20tmpSQL%20%21%3D%20%22%22%20%29%09%7B%20%20%20%20%20%20%20%20%20%20%20%20if%28%20MatchingStrategy%20%3D%3D%200%20%29%20%09%20%20%20%20%20%20%20%20tmpSQL%20+%3D%20%22AND%20%22%3B%20%20%09%20%20%20%20if%28%20MatchingStrategy%20%3D%3D%201%20%29%20%09%20%20%20%20%20%20%20%20tmpSQL%20+%3D%20%22OR%20%22%3B%09%7D%09if%28%20SearchStrategy%20%3D%3D%200%20%29%20%09%20%20%20%20tmpSQL%20+%3D%20%22Text%20%22%3B%09if%28%20SearchStrategy%20%3D%3D%202%20%29%20%09%20%20%20%20tmpSQL%20+%3D%20%22Keywords%20%22%3B%09if%28%20SearchStrategy%20%3D%3D%203%20%29%20%09%20%20%20%20tmpSQL%20+%3D%20%22Description%20%22%3B%09tmpSQL%20+%3D%20%22LIKE%20%27%25%22+arrSearWord%5Bi%5D+%22%25%27%20%22%3B%20%20%20%7D%20%20%20if%28%20tmpSQL%20%21%3D%20%22%22%20%29%20%20%20%20%20%20%20%20strSQL%20+%3D%20%22%20OR%20%28%22%20+%20tmpSQL%20+%20%22%29%22%3B%20%20%20return%20strSQL%3B%7DstrAlead%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%3Ca%20href%3D%27%22%3Bfunction%20GetOutputStart%28iStart%29%7B%20%20%20OutputStart%20%3D%20iStart%3B%7Dfunction%20GetCurRecItem%28itemVal%29%7B%20%20%20arrCurRecord%5BcurCol++%5D%20%3D%20itemVal%3B%20%20%20if%28%20curCol%20%3D%3D%207%20%29%20%20%20%7B%09curCol%20%3D%200%3B%09SearchWords%28arrCurRecord%5B0%5D%2CarrCurRecord%5B1%5D%2CarrCurRecord%5B2%5D%2CarrCurRecord%5B3%5D%2CarrCurRecord%5B4%5D%2CarrCurRecord%5B5%5D%2CarrCurRecord%5B6%5D%29%20%20%20%7D%7DtxtAlead%3D%22%27%3E%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%5E-%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%23%3D%7C%25@%23+*%22%3B"));

