﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour)
{
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(\" christmas will sponsoring society protection cruelty animals spca texas this year effort raise awareness supplies means requirement experience however donating unopened food other spca's spcas wish list something that want very thankful christmastime human nature what support those need however groups like usually aren't arent recipients holiday cheer check back more details regarding most importantly have joyful holidays gift selected d-light designs winner their world 2008 contest channels less view entry here advocate magazine's magazines recent blog mentions read story click important announcements visitors limo drivers since live street without outlet suggest keep mind when visit especially limo drivers wright splits montreal avenue train station does dedicated addition advise visitors please caution using neighbors' neighbors driveways some slight which unexpected been told best thing park lights music heard from walk display houses away still hear speakers visit many times bring friends love having courteous parking blocking allow lane traffic pass seen them frustration trying house attention around fender bender would really damper spirit differentiating between turn your flashers driving slow parked also move upset come yell plan stay while just fine with encourage couple down take train growing number taking less than block hampton rail please information about station schedule monetary donations make monetary donations outside visiting knock door place donation mail slot right only wish list items gray located driveway full beside check collect fills special thanks awesome response fortunate local media embraced spread word efforts money thanks town-mall dallas morning news cliff people online examiner countless facebook pages extra special great helping show running living takes deal patience lucky also repeat spreading your kindness generosity wonderful don't dont afraid sharing invite planning preparation soldering sequencing design layout controller plug labelling improving various elements worth some pointed into challenges getting over again heartbeat last were much learning works lighting professionals electricians this controlling individual channels light computer including fireflies control snow tubes wire well sure hope puts smile face faces season texas? little years adopted mckinney labradoodle guess where name? probably able look window blinds open definitely permanent fixture world never knows happened interested animating display? interested answer questions spend time possible plans update promising provide insight hobby before installed attempted take photos setup give idea required hopefully after decompressed begin describing went continue answering receive even post how-tos' how-tos jump start projects click blair witch christmas project unique amateur occhristmas snow tubes image watch occhristmas youtube channel links left press inthe received 2009 \",\" what songs that included your display? music sequence geared ages from children college students adults grandfolks brilliantly mixed steven hammond opens with mannheim steamroller's steamrollers hear hear? then flows into destiny's destinys child's childs opera bells after this short acapella real excitement begins disney's disneys reflections earth believe… holiday magic transitioning final song creatively edits christmas medley boston pops highlight candy canes finale spirit season mormon tabernacle choir introduction which uses tso's tsos boughs holly background show runs minutes long minute breaks between includes holiday well changing non-sequenced static light scenes think screensaver computer photos example kind effect going have realized concept translates animated displays allows visitors interested waiting next pleasing display lights point during turned power company would send card they were these also allow time traffic control voiceovers indicate when will begin asks courteous neighbors wanted make magical experience everyone with overwhelming support received many feel truly captures spirit season that must taken forever decorations placed yard house week before thanksgiving newbies thought budgeted plenty could grand lighting ceremony night after many friends family attendance luckily griswold-esque type moment where near grandness envisioned surprise high-fives praise really pushed finish good thing planned only gave them glimpse what come they been able evolve until started doing something like this? thoroughly enjoyed welcome questions insane hobby mean addiction more than happy provide much advice possibly once over post instructions tips created sprinkle some obstacles overcame order create fiirst piece give start tomorrow 2009 check local chain stores bargains garland christmasdisplays offers very nice month timeline keep focused this assumes already 2008 insists take january february best luck holidays other questions asked using d-light controllers light-o-rama software controlled executing design placement arrangement build began first purchased june sequencing soon thereafter unfamiliar magically blink unfortunately sequencing seconds sometimes hour completed nearly including took about months perfect although planning starting back didn't didnt purchase controller july-ish through november couple sequences turns terribly wrong instead having multiple decent decided dedicate efforts pleased result \",\" enriching community anyone dallas what kind people live cliff texas probably wouldn't wouldnt hear most pleasant adjectives april 2008 editorial people begins with acknowledgement outside world's worlds perception some days when wake check morning news seems match dubious reputation example we're were happy find cars unburned driveway it's good spring night leave windows open cool awakened gunshots since pervasive wanted bring positive attention community cliffdweller highlights once area seemingly decline transformed itself from loose association urban pioneers into true north representing nearly dozen swelling neighborhoods dedicated making their part thrive keeping this effort bringing press visitors over they leaving smiles faces even received high five viewer junior here said that would never have expected something like returned multiple suvs full friends goal those around world also others exactly read newspapers nightly news very honored invite being computer nerds thought going christmas excited purchased after after admiring displays inspired marty slack richard holdman realized channels enough began journey addictive animated lights some call crazies…and guess little crazy countless forums instructables brainstorming sessions later became reality real reason doing though give display chance escape pressures life negativity wall street radio neighbors bill collectors being fired relentless pace think about focus truly wonderful family loved ones this giggles children ooohs ahhhs college kids inquisitive looks want animate every drop sweat equity every search through forum hoping clueless strand fought totally worth because happiest holidays hope again next year have holiday season happy year \",\" pictures from 2008 photos 2009 \",\" contact form below contact prefer also email directly contactus occhristmas sign guestbook without sending name e-mail address comments sign \",\" videos display 2008 videos 2009 click icon download video \",\" updates projects 2009 posted first tweet follow progress http twitter occhristmas currently have multiple going them detailed below meteor tubes meteor tubes arrived christmas provided videos what expect display website project completely revamped website site hopefully much easier navigate offers even more insight into added countdown until lights please email suggestions improve candy cane redesigning candy canes each cane will controlled individually this means that using channels control also make sturdy include some trip wires design deter unpleasantness from awful people find enjoyment destroying displays this future blog controller currently experimenting with adding controllers links sites included page mission been officially aborted angel bells thanks eshepherds light introducing these props show they details posted their link firework addition firework palm tree additional lights these prototype phase require controller scouring watch shows inspiration give lots nylon ties ready digital electronic pyro-excitement true dallas experience only able cliff like never before think leave here understanding animated truly that getting right fireflies coming expecting lightning bugs unfortunately disappoint beauties d-light letdown realizing don't dont flying around soon replaced amazement when things four house collaboration official expanding neighbors joining action might look well since request santa jump roof neighbor's well took idea always made unfortunately santa involved guarantee there still rooftop more powerful transmission powerful regulations violated hear meant heard crystal clear stereo sound enhanced sign while revealing secrets behind improved sign become most talked about elements least locals tell visual treat wont guess next illuminated then running enjoy scenesavers accompanied sounds season just blink indicating begin stay throughout hopefully decrease amount emails receive asking were dancing they visited explanations? questions either explain question warrants create explaining something effort provide detail snow result minute video diary discusses than random very blair witch nature camera playing hope \",\" inspirations where goodies affiliation with them forums support groups christmas crazies local supporters \",\" what spca texas what does leading animal welfare agency north with shelters spay neuter clinics located dallas mckinney serves active resource center providing array programs services that bring people animals together enrich each others' others lives comprehensive affiliated other entity receive general operating funds from city state federal government humane organization christmas will accept donations supplies 2009 hope fulfilling least small portion spca's spcas wish list while needs after holiday season think about those able support themselves chose gesture giving back little over years rescued labradoodle guess where name?? obligated donate please feel need enjoy lights wish list during display hours have video monitored collection drop boxes monetary plan lockbox secure there might even times there greet don't dont frightened just want make sure traffic moving smoothly would also like thank visiting these bins collect items dire surprised some things help help dear occhristmas wonderful celebrate whole family grateful generous care we're were local group responds community we're were here because wonderful folks thank again maura davies senior director communications \");");
d.write("var pageMap = new Array(\"Christmas in the O. C.\",\"How\",\"Why\",\"Photos\",\"Contact\",\"Videos\",\"Projects\",\"Links\",\"SPCA of Texas\");");
d.write("var linkMap = new Array(\"index.html\",\"how.html\",\"why.html\",\"photos.html\",\"contactus.html\",\"videos.html\",\"projects.html\",\"links.html\",\"spca information.html\");");
d.write("var preMap = new Array(\"Christmas in the O. C. will be sponsoring the Society for the Protection of Cruelty to Animals (SPCA) of Texas this year! Our effort to raise awareness and supplies for the SPCA is by no means a requi\",\"How Do You Do It? What are the songs that are included in your display? The music sequence is geared for all ages, from children to college students to adults to grandfolks! Brilliantly mixed by Ste\",\"Enriching Our Community If you ask anyone in Dallas what kind of people live in Oak Cliff Texas, you probably wouldn’t hear the most pleasant of adjectives.    An April 8, 2008 editorial in Oak Cliff \",\"Pictures from the O.C. 2008 Photos 2009 Photos  \",\"Contact us Use the form below to contact us - if you prefer, you can also email us directly at contactus@occhristmas.com. You can also sign our guestbook without sending us an email. Name E-mail Addre\",\"Videos of the Display 2008 videos 2009 Click icon to download video \",\"O.C. updates O.C. projects 11/23/2009 - Posted our first tweet.  Follow our progress at http://twitter.com/occhristmas  Currently, we have multiple projects going on - a few of them are detailed below\",\"Inspirations Where we buy the goodies - no affiliation, with any of them Forums and “Support Groups” for Christmas Crazies Local Supporters \",\"What is the SPCA of Texas and what does it do?  The SPCA of Texas is the leading animal welfare agency in North Texas with two shelters and two spay/neuter clinics located in Dallas and McKinney, and \");");
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+\" result(s) found for search term: \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}