//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
StrPages="pages"; //pages

//Options for the search engine
MatchingStrategy=2; //0:Use all words,1:Use any words,2:Use exact phrase
SearchStrategy=2; //0:search all text,1:Search title,2:Search keywords,3:Search description
OutPutWindowType=0; //0:same window,1:new window,2:use frame
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=0; //0: has New Search link,1: no

NoPoweredBy=1; //0: has Powered By info,1: no
NoHorizLine=0; //0: has Horizontal lines,1: no
ResultTitleSize=3; //default size: '3'
ResultTitleFace='Arial'; //default face: 'arial'
ResultTitleColor='#000000'; //default color: '#0000FF'
ResultTextSize=2; //default size: '2'
ResultTextFace='Verdana'; //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='#0000ff'; //default color: '#CC0033'
HitTextColor='#0000ff'; //default color: '#CC0033'

PreSearResultHTML="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title>Книгопоща MedBookPost</title>\n<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n<meta name=\"description\" content=\"\">\n<meta name=\"keywords\" content=\"\">\n<style type=\"text/css\">\n<!--\nbody,td,th {\n	font-family: Verdana, Arial, Helvetica, sans-serif;\n	font-size: 12px;\n	color: #000000;\n}\nbody {\n	background-color: #FFFFFF;\n	margin-left: 1px;\n	margin-top: 0px;\n	margin-right: 1px;\n	margin-bottom: 1px;\n}\na {\n	font-size: 12px;\n	color: #FF0000;\n	font-family: Verdana, Arial, Helvetica, sans-serif;\n}\na:visited {\n	color: #000000;\n}\na:hover {\n	color: #FF0000;\n}\na:active {\n	color: #336600;\n}\na:link {\n	color: #000000;\n}\n.style1 {font-size: 12px; }\n.style6 {	font-size: 11px;\n	font-weight: bold;\n}\n.style7 {font-size: 11px}\n.style96 {font-size: 12px; font-weight: bold; }\n-->\n</style>\n</head>\n\n<body>\n<table width=\"88%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n  <tr>\n    <td align=\"center\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n      <tr>\n        <td width=\"68%\" valign=\"top\" bgcolor=\"#D7EBFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n          <tr>\n            <td><!-- #BeginLibraryItem \"/Library/specials.lbi\" --><style type=\"text/css\">\n<!--\nbody,td,th {\n	font-family: Verdana, Arial, Helvetica, sans-serif;\n	font-size: 12px;\n	color: #000000;\n}\n-->\n</style><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n              <tr>\n                <td height=\"3\" bgcolor=\"#FFFFFF\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/180.gif\" width=\"180\" height=\"3\" /></td>\n              </tr>\n              <tr bgcolor=\"#EFEFDE\">\n                <td height=\"12\" bgcolor=\"#CCCCCC\"><div align=\"center\"><strong>МЕДИЦИНА</strong></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/obgyn_home.html\">Акушерство и гинекология </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/anatomy_home.html\">Анатомия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\" bgcolor=\"#D7EBFF\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/anesthesiology_home.html\">Анестезиология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/biochemistry_home.html\">Биохимия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/respiratory_home.html\">Белодробни болести </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/internal_home.html\">Вътрешни болести </a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/genetics_home.html\">Генетика</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/dermatology_home.html\">Дерматология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><span class=\"style1\"><a href=\"http://www.medbookpost.com/Home/embryology_home.html\">Ембриология</a></span></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/endocrinology_home.html\">Ендокринология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/cardiology_home.html\">Кардиология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/immunology_home.html\">Клинична имунология </a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/clinlab_home.html\">Клинична лаборатория </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/microbiology_home.html\">Микробиология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/icu_home.html\">Интензивни грижи </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/infectious_home.html\">Инфекциозни болести </a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/gastro_home.html\">Гастроентерология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/logopedia_home.html\">Логопедия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/neurology_home.html\">Неврология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/oncology_home.html\">Онкология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/orthopedia_home.html\">Ортопедия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/ophthalmology_home.html\">Офталмология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><span class=\"style1\"><a href=\"http://www.medbookpost.com/Home/pharmaco_home.html\">Фармакология</a></span></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/physiology_home.html\">Физиология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/physiotherapia_home.html\">Физиотерапия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/pathology_home.html\">Патология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/parazitology_home.html\">Паразитология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/psychology_home.html\">Психология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/pediatria_home.html\">Педиатрия</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/rhemautology_home.html\">Ревматология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/radiology_home.html\">Рентгенология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/social_home.html\">Социална медицина </a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/emergency_home.html\">Спешна медицина </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/crime_home.html\">Съдебна медицина </a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/toxin_home.html\">Токсикология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/urology_home.html\">Урология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/eng_home.html\">Уши, нос и гърло </a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/hematology_home.html\">Хематология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/histology_home.html\">Хистология</a></div></td>\n              </tr>\n              <tr bgcolor=\"#D7EBFF\">\n                <td height=\"12\" bgcolor=\"#FFFFFF\"><div align=\"left\"><a href=\"http://www.medbookpost.com/Home/hygiena_home.html\">Хигиена</a></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"12\" bgcolor=\"#D7EBFF\"><div align=\"left\"><span class=\"style1\"><a href=\"http://www.medbookpost.com/Home/surgery_home.html\">Хирургия</a></span></div></td>\n              </tr>\n              <tr bgcolor=\"#FFFFFF\">\n                <td height=\"3\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" /></td>\n              </tr>\n            </table>\n<!-- #EndLibraryItem --></td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n        </table></td>\n        <td width=\"8%\" valign=\"top\" bgcolor=\"#FFFFFF\"><div align=\"center\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" alt=\"\" style=\"background-color: #FFFFFF\" /></div></td>\n        <td width=\"8%\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n          <tr>\n            <td height=\"3\" valign=\"top\"><div align=\"center\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/606.gif\" width=\"580\" height=\"3\" /></div></td>\n          </tr>\n          <tr>\n            <td valign=\"top\"><img src=\"http://www.medbookbg.com/medbookpost/images/logo_3.gif\" width=\"580\" height=\"100\" /></td>\n          </tr>\n          <tr>\n            <td height=\"2\"><img src=\"file:///C|/Documents and Settings/1/My Documents/images/dot.gif\" width=\"3\" height=\"3\" alt=\"\" style=\"background-color: #FFFFFF\" /></td>\n          </tr>\n          <tr>\n            <td height=\"14\" valign=\"top\"><div align=\"center\"><a href=\"file:///C|/Documents and Settings/1/My Documents/Title/mid_low.html\"></a>\n              <table id=\"table7\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n                <tbody>\n                  <tr>\n                    <td height=\"2\" align=\"left\" valign=\"top\"><div align=\"center\"><img src=\"http://www.medbookbg.com/medbookpost/images/580_all.gif\" width=\"580\" height=\"80\" /></div></td>\n                  </tr>\n                  <tr>\n                    <td height=\"2\" align=\"left\" valign=\"top\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" /></td>\n                  </tr>\n                  <tr>\n                    <td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\"><div align=\"center\"><!-- NOTE: The following variable should not be removed. It will be replaced with the search result.\nYou can insert anything before and after it,such as menu bar,web logo,company info etc. -->\n\n                        <div align=\"left\">\n                          <!-- Search Engine Builder (www.aleadsoft.com) -- Add a search tool to your website. -->\n";
StepSearResultHTML="\n                        </div>\n                    </div></td>\n                  </tr>\n                  <tr>\n                    <td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\">&nbsp;</td>\n                  </tr>\n                </tbody>\n              </table>\n            </div></td>\n          </tr>\n        </table></td>\n        <td width=\"8%\" valign=\"top\" bgcolor=\"#FFFFFF\"><div align=\"center\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" alt=\"\" style=\"background-color: #FFFFFF\" /></div></td>\n        <td width=\"8%\" valign=\"top\" bgcolor=\"#D7EBFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n          <tr>\n            <td><style type=\"text/css\">\n<!--\n.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}\nbody,td,th {\n	font-family: Verdana, Arial, Helvetica, sans-serif;\n	color: #000000;\n}\nbody {\n	background-color: #FFFFFF;\n}\n.style2 {font-size: 11px}\n-->\n            </style>\n              <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n                <tr>\n                  <td height=\"3\" bgcolor=\"#FFFFFF\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/200.gif\" width=\"200\" height=\"3\" /></td>\n                </tr>\n                <tr>\n                  <td height=\"3\" valign=\"top\" bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n                      <tr>\n                        <td height=\"15\" bgcolor=\"#FFFFFF\"><div align=\"center\">\n                            <table width=\"98%\" height=\"60\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#CCCCCC\" bgcolor=\"#CCCCCC\" style=\"font:normal 12px Verdana, Arial, Helvetica, sans-serif\">\n                              <form action=\"http://www.medbookbg.com/buletin/Order/post1.php\" method=\"post\">\n                                <tr bgcolor=\"#CCCCCC\">\n                                  <td height=\"14\" colspan=\"2\" valign=\"top\" bgcolor=\"#D7EBFF\"><div align=\"center\"><span class=\"style1\"></span>\n                                          <div align=\"center\" class=\"style2\">Изпратете Вашия email, и ще получите новини за   най новите медицински издания</div>\n                                  </div></td>\n                                </tr>\n                                <tr bgcolor=\"#CCCCCC\">\n                                  <td width=\"50\" height=\"22\" bgcolor=\"#D7EBFF\"><div align=\"left\" class=\"style114 style1\">\n                                      <div align=\"center\">email</div>\n                                  </div></td>\n                                  <td width=\"136\" bgcolor=\"#D7EBFF\"><div align=\"center\" class=\"style1\">\n                                      <input name=\"email\" type=\"text\" id=\"email\" size=\"20\" maxlength=\"40\" />\n                                  </div></td>\n                                </tr>\n                                <tr>\n                                  <td height=\"24\" colspan=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#D7EBFF\"><div align=\"center\" class=\"style1\">\n                                      <input name=\"ebuletin\" type=\"submit\" id=\"ebuletin\" value=\"Изпрати\" />\n                                  </div></td>\n                                </tr>\n                              </form>\n                            </table>\n                        </div></td>\n                      </tr>\n                      <tr>\n                        <td height=\"3\" bgcolor=\"#FFFFFF\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" alt=\"\" style=\"background-color: #FFFFFF\" /></td>\n                      </tr>\n\n                  </table></td>\n                </tr>\n                <tr bgcolor=\"#EFEFDE\">\n                  <td height=\"2\" bgcolor=\"#FFFFFF\"><img src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"3\" height=\"3\" /></td>\n                </tr>\n              </table></td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n          </tr>\n        </table></td>\n      </tr>\n    </table></td>\n  </tr>\n  <tr>\n    <td align=\"center\" valign=\"top\"><img name=\"\" src=\"file:///C|/Documents and Settings/1/My Documents/images/dot.gif\" width=\"3\" height=\"3\" alt=\"\" style=\"background-color: #FFFFFF\" /></td>\n  </tr>\n  \n  <tr>\n    <td align=\"center\" valign=\"top\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td><img name=\"\" src=\"../../../../Documents and Settings/seroge/My Documents/medbookpost/images/dot.gif\" width=\"2\" height=\"2\" alt=\"\" style=\"background-color: #FFFFFF\" /></td>\n  </tr>\n  <tr>\n    <td height=\"42\" bgcolor=\"#D7EBFF\"><div align=\"center\">\n                <!- NACHALO NA TYXO.BG BROYACH -->\n        <a href=\"http://www.tyxo.bg/?9388\" title=\"Tyxo.bg counter\" target=\"_blank\">\n                <script language=JavaScript>\n<!--\nd=document;d.write('<img width=88 height=31  border=0 alt=\"Tyxo.bg counter\"');\nd.write(' src=\"http://cnt.tyxo.bg/9388?rnd='+Math.round(Math.random()*2147483647));\nd.write('&sp='+screen.width+'x'+screen.height+'&r='+escape(d.referrer)+'\" /></a>');\n//-->\n            </script>\n                <noscript>\n                <img src=\"file:///C|/Documents and Settings/1/My Documents/9388\" width=88 height=31       border=0\nalt=\"Tyxo.bg counter\" />\n                </noscript>\n        </a>\n    </div></td>\n  </tr>\n</table>\n\n</body>\n</html>\n";
eval( unescape("document.write%28%22%3Cscript%20LANGUAGE%3D%27JavaScript%27%20src%3D%27webdata.js%27%3E%3C/script%3E%22%29%3B%20arrSearWord%3Dnew%20Array%28%29%3B%20searWordNum%3D0%3B%20arrHitPages%3Dnew%20Array%28%29%3B%20hitPageNum%3D0%3B%20function%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%7Dfunction%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%28%29%20%7B%20%20%20var%20searWords%3B%20%20%20%20searWords%3Ddocument.formSear.searWords.value%3B%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%7Dfunction%20SearchWords%28%29%20%7B%20%20var%20TxtIndex%20%3D%202%3B%20%20%20if%28SearchStrategy%3D%3D2%29%20%20%20%20%20TxtIndex%20%3D%203%3B%20%20if%28SearchStrategy%3D%3D3%29%20%20%20%20%20TxtIndex%20%3D%204%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%20hitPageNum%3D0%3B%20%20%20for%28var%20i%3D0%3B%20i%3CfileNum%3B%20i++%29%20%20%7B%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%28arrFiles%5Bi%5D%5B1%5D.length%20%3E%2080%29%20%09pageHitTit%3DarrFiles%5Bi%5D%5B1%5D.substring%280%2C80%29+%22...%22%3B%20%20%20%20%20else%09pageHitTit%3DarrFiles%5Bi%5D%5B1%5D%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%09var%20wordPageHitNum%3D0%3B%20%20%20%20%20%20%20%20%20var%20offsetTit%3B%20%20%20%20%20%20%20%20var%20offsetTxt%3B%09offsetTit%3D%28%20pageHitTit.toLowerCase%28%29%20%29.indexOf%28%20arrSearWord%5Bw%5D.toLowerCase%28%29%20%29%3B%09offsetTxt%3D%28%20arrFiles%5Bi%5D%5BTxtIndex%5D.toLowerCase%28%29%20%29.indexOf%28%20arrSearWord%5Bw%5D.toLowerCase%28%29%20%29%3B%09if%28MatchingStrategy%3D%3D0%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%3DarrFiles%5Bi%5D%5BTxtIndex%5D.substring%280%2CoffsetTxt%29%3B%09%09%09%09else%09%09%09%09%09preText%3D%22...%22+arrFiles%5Bi%5D%5BTxtIndex%5D.substring%28offsetTxt-80%2CoffsetTxt%29%3B%09%09%09%09if%28offsetTxt+arrSearWord%5Bw%5D.length+80%20%3E%20arrFiles%5Bi%5D%5BTxtIndex%5D.length%29%09%09%09%09%09sufText%3DarrFiles%5Bi%5D%5BTxtIndex%5D.substring%28offsetTxt+arrSearWord%5Bw%5D.length%2CarrFiles%5Bi%5D%5BTxtIndex%5D.length%29%3B%09%09%09%09else%09%09%09%09%09sufText%3DarrFiles%5Bi%5D%5BTxtIndex%5D.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%3DarrFiles%5Bi%5D%5BTxtIndex%5D.length%29%20%09%09%09%09break%3B%09%09%09%09%09%09%09offsetTxt%3D%28%20arrFiles%5Bi%5D%5BTxtIndex%5D.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%09continue%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%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%28i%2CpageHitNum%2CpageHitTit%2CpageHitTxt%29%3B%20%20%20%20%20%20%20%20hitPageNum++%3B%20%20%20%7D%7Dfunction%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%3C4%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%7Dfunction%20OutPut%28%29%20%7B%20%20%20var%20strOutput%3D%22%22%3B%20%20%20%20var%20bIE%3B%20%20%20%20if%28%20navigator.appName.indexOf%28%22Microsoft%22%29%20%21%3D%20-1%20%20%29%20%20%20%20%20%20%20%09bIE%20%3D%201%3B%20%20%20%20else%20%20%20%09bIE%20%3D%200%3B%20%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%20%20%20%20%20%20%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%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%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%09if%28OutPutResultTitle%3D%3D1%29%09%09strOutput+%3D%22%3Cbig%3E%3Ca%20href%3D%27%22+arrFiles%5Bindex%5D%5B0%5D+%22%27%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%5B2%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%5B3%5D+%22%3C/font%3E%3Cbr%3E%22%3B%09if%28OutPutResultUrl%3D%3D1%29%09%09strOutput+%3D%22%3Cfont%22+%22%20size%3D%22+ResultUrlSize+%22%20color%3D%22+ResultUrlColor+%22%20face%3D%22+ResultUrlFace+%22%3E%22+arrFiles%5Bindex%5D%5B0%5D+%22%3C/font%3E%3Cbr%3E%3Cbr%3E%22%3B%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%28OutPutResultInfo%3D%3D1%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+hitPageNum+%22%20%22+StrPages+%22.%3C/font%3E%20%20%22%3B%20%20%20%20if%28NoPoweredBy%3D%3D0%29%20%20%20%20%09strOutput+%3D%22%3Csmall%3EPowered%20by%20%3Ca%20href%3D%27http%3A//www.aleadsoft.com%27%3EALeadSoft.com%3C/a%3E%202002%3C/small%3E%22%3B%20%20%20strOutput%20%3D%20PreSearResultHTML+%22%3Cbr%3E%22+strOutput+%22%3Cbr%3E%22+StepSearResultHTML%3B%20%20%20if%28OutPutWindowType%3D%3D0%29%20%20%20%20%7B%20%20%20%20%20%20%20%20document.close%28%29%3B%09document.open%28%29%3B%20%20%20%09document.write%28strOutput%29%3B%09if%28%20bIE%3D%3D1%20%29%09%09window.location.reload%28%29%3B%09return%3B%20%20%20%7D%20%20%20if%28OutPutWindowType%3D%3D1%29%20%20%20%20%7B%20%20%20%09var%20newWin%20%3D%20open%28%22%22%2C%22Object%22%2C%20%22resizable%3Dyes%2Cscrollbars%3Dyes%2Ctoolbar%3Dyes%2Cmenubar%3Dyes%2Clocation%3Dno%2Cdirectories%3Dno%2Cwidth%3D590%2Cheight%3D300%22%29%3B%20%20%20%09newWin.document.close%28%29%3B%20%20%20%09newWin.document.open%28%29%3B%20%20%20%09newWin.document.write%28strOutput%29%3B%09if%28%20bIE%3D%3D1%20%29%09%09newWin.location.reload%28%29%3B%09return%3B%20%20%20%7D%20%20%20if%28OutPutWindowType%3D%3D2%29%20%20%20%20%7B%20%20%20%09parent.main.document.close%28%29%3B%20%20%20%09parent.main.document.open%28%29%3B%20%20%20%09parent.main.document.write%28strOutput%29%3B%09if%28%20bIE%3D%3D1%20%29%09%09parent.main.location.reload%28%29%3B%09return%3B%20%20%20%7D%7Dfunction%20GetParameters%28%29%20%7B%20%20%20%20if%28%20document.formSear.match%20%29%20%20%20%09MatchingStrategy%20%3D%20document.formSear.match.value%3B%20%20%20if%28%20document.formSear.search%20%29%20%20%20%09SearchStrategy%20%3D%20document.formSear.search.value%3B%7Dfunction%20RunSearch%28%29%20%7B%20%20%20GetParameters%28%29%3B%20%20%20SplitSearWords%28%29%3B%20%20%20SearchWords%28%29%3B%20%20%20SortResult%28%29%3B%20%20%20OutPut%28%29%3B%7D") );

