﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" here kelsey creek laboratories strive best welcome give chance show that take great pride work give your seeds possible start life successful future orchid starts here professional seed services professional first-time growers 	both owners have extensive backgrounds cell biology research 	each developmental landmark achieved seedlings recorded provided client 	laboratory active especially native orchids habitat restoration projects 	source valuable information need know about growing owned operated roger jane smith since 1996 \",\" replating from mother flasks seedling tropicals terrestrials hardy orchids when replated flasks established prior shipping orchid seed processing orchid cross regardless number seed capsules includes cleaning seeds stop growth bacteria fungi contaminants setting appropriate culture medium genus species taking sample enough batch viability testing checking presence embryos with dissecting microscope estimating total fertile reporting findings back client mother flask which replate seedlings media when requested treatment colchicine increase ploidy highlight tabs above learn more about other services products carry \",\" unique approaches processing orchid materials flasking style initial seed includes general assessment condition viability estimate number set-up germination clients contacted with above information within week after receipt seeds therefore have opportunity anticipate yields 100s 1000s plants return uses plastic petri dishes boxes majority operations eliminating heavy awkward glassware makes transferring individual pots much easier deposits cleanup laboratories periodic notification progress material best method shipping your pods kelsey creek laboratories important into bags especially they still green microbes thrive moisture tight glassine stationery paper envelope sealed tape around glued edges seeds will leak best many possible place small cardboard carton stuffed crumpled cushioning mail 2396 issaquah 98027 \",\" confidence handling jane roger have expertise laboratory facilities state-of-the-art equipment provide with quality quantity plants desire over years experience tissue culturing variety both biotechnology companies university research laboratories organisms including culture history initiated kelsey creek laboratories sixteen focusing primarily orchid seed germination cloning both extensive backgrounds plant academic been scientist commercial where worked crop carrot maize soybean sunflower potato background genetics somatic embryo genesis mutagenesis insects bring their training into world micro propagation although they feel serve clientele well continue make improvements seedlings after cypripedium montanum more growing terrestrial orchids service clients terrestrials sell hardy enthusiasts winter simulation chamber root cellar temperature controlled growth room \",\" information more know you'll youll grow link \",\" contact jane smith roger owners operators postal service kelsey creek laboratories 2396 issaquah 98027 phone messages 369-8688 electronic mail kelseycreeklabs comcast cypripedium montanum mountain lady slipper \",\" services products order here seed germination bags please click button below complete your check thank choosing kelsey creek orchid labs \",\" bags come sizes small most capsule phal paph oncidium terrestrial orchids large those heftier capsules catt they purchased from regular sized pods email with mailing address receive samples kelseycreeklabs comcast bags losing valuable orchid seeds because splits before remember harvest capture your worries place over weeks ripens then sent processing same container roger jane these field able later once placed developing opening closed tape paper clip these glassine envelopes allow breathe moisture escape prevents environment where microbes could grow overwhelm useful basic cover when shipping into simple cushioning such crumpled newspaper packing peanuts side note should plastic takes only couple days especially green succumb microbial infection arriving destination begin almost impossible rescue purchase samples available first-time inquiries \",\" located issaquah nestled next tiger mountain google maps \",\" orchid growing kits coming soon email know interested starter grow kelseycreeklabs comcast purchase orchid \",\" march 2011 monday tuesday wednesday thursday friday saturday sunday \");");
d.write("var pageMap = new Array(\"Home\",\"Services and products\",\"Seed processing\",\"About us\",\"Information\",\"Contact us\",\"Purchase/Order\",\"Pod bags\",\"Google map\",\"Orchid grow kits\",\"Calendar of events\");");
d.write("var linkMap = new Array(\"index.html\",\"page2.html\",\"page3.html\",\"page4.html\",\"page5.html\",\"page6.html\",\"page7.html\",\"page8.html\",\"page9.html\",\"page10.html\",\"page11.html\");");
d.write("var preMap = new Array(\"Here at Kelsey Creek  Laboratories we strive to be the best at :      Welcome to Kelsey Creek Laboratories.      Give us a chance to show you that we take great pride in our work and give your seeds t\",\" Replating from Mother Flasks  $1.00 per seedling for Tropicals  $2.00 per seedling for Terrestrials (Hardy Orchids)  (50% due when replated flasks established; 50% due prior to shipping)  Orchid Seed\",\" Unique approaches to processing orchid materials,flasking KCL style    Initial seed processing includes general assessment of seed condition, seed viability, estimate of seed number, and set-up  fo\",\" Confidence in Handling  Jane and Roger have the expertise, laboratory facilities,  and state-of-the-art equipment to provide you with the  quality and quantity of plants you desire. Jane has over  20\",\"Information  The more you know the more youll grow.! Link 1 Link 2 Link 3 Link 4 Link 5 Link 6 Link 7 Link 8 \",\" Contact Us   Jane A. Smith, Ph.D. Roger H. Smith, Ph.D. Owners & Operators   US Postal Service  Kelsey Creek Laboratories P.O. Box 2396 Issaquah, WA 98027 USA   Phone Messages  (425) 369-8688   Elect\",\"Services: Products:  Order here via Pay Pal Seed germination                                                      Pod bags                                    Please click on the pay pal Button below t\",\"               The pod bags come in two sizes: small, for most capsule sizes (phal, paph, oncidium, terrestrial orchids);  and large, for those heftier capsules (catt, etc.) They can be purchased from\",\"We are located in Issaquah nestled next to tiger mountain. Google maps \",\" Orchid growing kits coming soon! Email us to let us know if you are interested in a starter grow kit. kelseycreeklabs@comcast.net Purchase orchid grow kit \",\"March 2011 Monday Tuesday Wednesday Thursday Friday Saturday Sunday                                      \");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" "+resultsText+" \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
while(sTerms.indexOf("\"") != -1 ) {
sTerms = sTerms.replace("\"","");
};
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}
