﻿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(\" site designed greenwood 2010 elland junior infant school westgate 01422 373159 admin elland calderdale home 	welcome information nursery sure start letters gallery class pages ‘forward with children hearts' hearts welcome church england school's schools vision education underpinned christian values inclusive school celebrate children's childrens achievements allow them reach their true potential pupils between ages years part community communities being member family diocese wakefield whilst same time serving parish mary's marys saints contact click current newsletter \",\" dear parents behalf governors staff elland church england school welcome look site aided school distinction upon which proud serves local community where children from different faiths backgrounds abilities encouraged learn live together treat other people with care consideration part work witness neighbourhood links mary's marys saints strong vital embody christian foundation aspects life long aspired high standards behaviour achievement their very best caring supportive environment everyone working plays important making feel valued happy secure teachers experienced conscientious duties devote great deal time effort provide quality education pupils however cannot succeed alone children need know parents partnership working help achieve true potential there will many more things wish about have questions please hesitate contact yours sincerely holdsworth headteacher forward with hearts westgate 01422 373159 admin elland calderdale inclusion policy headteacher		mrs wendy teaching staff nursery		mrs debra greenwood emma brown reception		mrs brown	 y1			miss helen longstaff			edinburgh y2			mrs anita pritchard			lisbon 3			mrs kirsty bedford 			paris 5			mrs caroline savage			rome 6			mrs louise allen			madrid intervention		mrs kathryn walsh assistants nurture group carol charlene watson			 foundation stage tracy kelly johnson year lesley kitchen clare tordoff jennifer hastings james miss sarah agnew maxine learning mentor hayley walker support assistant office staff				 lisa haigh nicky wadsworth marie wainwright claire jenkins cook rita groves anne farren symes		 lunchtime supervisors senior philip hamer chair lynn lord vice chair—miss julia williams david burrows patricia penman pauline pascall matthew askey watson cooper marilyn clerk 					 school information dinners………………………………………	£1 week please note that dinner money needs paid mondays advance give dinners without payment tuck………………………………………………………………20p tuck shop available years each healthy eating options offered including types fruit home baking kitchen tuck money should fridays nursery reception tuck……………………………………………… this weekly half termly milk …………………………………………………………………………… milk charge this government subsidises coming into purse envelope your child's childs name class written stating clearly what disco make sure child comes coat weather change during being playtimes lunchtimes causes problems remember uniform health safety reasons allowed drive walk through park even means walking around outside building dogs premises unless registered guide equal opportunities welcome pack 2011 \",\" forward with children hearts welcome information page here will find links school please select below timetable pricing info diary dates uniform 											events performance links parents calderdale council wakefield diocese virtual learning environment self evaluation tool 2011 \",\" forward with children hearts nursery welcome elland church england school here extremely proud quality care education provide place nursery purpose built learning environment that completed very highest standards 2000 works hand with reception unit which co-joined within secure setting this allows children benefit from full range school life socialise learn older reception offer your child fun-filled morning sessions help them make lots friends session runs between monday friday please aware longer afternoon choosing emotive decision understand what important both parents perfect solution parent looking best start their then please feel free book appointment visit speak foundation stage coordinator places still available 2010 touch reserve \",\" forward with children hearts letters parents here find links weekly newsletters other correspondence click envelopes below weekly newsletter other \",\" forward with children hearts gallery selection photographs from around school which include recent refurbishments undertaken during summer 2009 these refurbishments follows main entrance that enhances both security aesthetics ramp into allow better disabled access building secure doors between foundation stage rest this also incorporates brand meeting room including kitchen facilities staffroom provides larger more comfortable area members staff gallery download latest flash plug-in here video coming soon \",\" forward with children hearts class pages please find below links class pages what have been click chalkboard \",\" forward with children hearts school timetable reception stage opens registration morning session begins break lunchtime afternoon closes monday thursday friday nursery ends please note that longer offer afternoon nursery session \",\" forward with children hearts pricing information school dinners…………………………………………£1 week please note that school dinner money needs paid mondays advance cannot provide dinners without payment also desireable children could stick either sandwiches entire tuck…………………………………………………… tuck shop available years each healthy eating consisting different types fruit home baking from kitchen preferred friday nursery reception tuck……………………… this weekly half termly milk …………………………………………… milk year there charge this government subsidises coming into should purse envelope with your child's childs name class written saying what disco teacher office please printed envelopes school—20 \",\" forward with children hearts 																					 																		 diary dates 2011 close open midsummer thursday 21st july tuesday september october half term friday november christmas 16th december 2012 january training february monday 10th 20th februaty easter 30th march april wednesday june 11th \",\" forward with children hearts uniform apparel school uniform prices would like purchase items please contact office complete order form attached below navy polo shirt sweatshirt blue t-shirt black shorts bookbag outdoor coat grey trousers sold school skirt dress compulsory games physical education important part curriculum children will have both indoor outdoor games lessons that black navy shorts blue t-shirt similar white plimsolls trainers times suggest these kept drawstring taken home washing each weekend tracksuits worn also wear their clothing rest interests hygiene should changed lesson permitted participate activity whilst wearing earrings order \",\" forward with children hearts events \",\" forward with children hearts performance \",\" forward with children hearts \",\" forward with children hearts other letters proposed admissions policy 2013-14 covering letter \",\" forward with children hearts teaching staff greenwood foundation manager holdsworth headteacher allen deputy year teacher savage pritchard senco miss longstaff brown stage bedford walsh inclusion \",\" forward with children hearts foundation welcome stage manager greenwood teaching staff brown kelly johnson \",\" forward with children hearts year welcome teaching staff miss longstaff kitchen \",\" forward with children hearts year welcome teaching staff pritchard tordoff \",\" forward with children hearts year welcome teaching staff bedford hastings \",\" forward with children hearts year welcome teaching staff savage miss agnew \",\" forward with children hearts year welcome teaching staff allen \",\" forward with children hearts sure start local programmes form cornerstone government's governments drive tackle child poverty social exclusion based firm evidence what works they concentrated neighbourhoods where higher proportion children living help them succeed pioneering ways working improve services work with parents parents-to-be children's childrens life chances through better access family support advice nurturing health early learning area-based initiative improving health well-being families from before birth four ready flourish when they school delivered partnerships strong parental community involvement agencies authorities voluntary sector others encouraged together constructive order provide focused needs young programmes also service providers outside catchment areas identify delivering their expect that these methods will eventually adopted this lessons learned children's childrens centres|external link benefit whilst designed meet under within each area offered those first many developed available example choose open drop-in facilities nationally operational helping disadvantaged including third elland telephone 01422 373133 \",\" forward with children hearts contact elland school westgate 01422 373159 admin elland calderdale office opening hours 																			 answerphone only please aware that operational circumstances there times where nobody take your call these very rare occasions please either leave message will back alternatively later time \",\" forward with children hearts accessibility improving your experience website change text size website you're youre having trouble reading this recent versions three major browsers microsoft internet explorer users select 'view' view then 'text text size' desired netscape firefox zoom' zoom 100% default original windows user with scroll-wheel mouse ‘ctrl' ‘ctrl increase another browser look help section tips increasing this your keyboard instead press ctrl move link want other operating systems check bbc's bbcs pages using navigate websites computer make more accessible visit disabled access have full disabled access into school visiting special requirements hesitate contact here \",\" forward with children hearts \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" forward with children hearts sure start elland telephone 01422 373133 \",\" forward with children hearts sure start elland telephone 01422 373133 \",\" forward with children hearts selection photographs from trip robinwood \",\" forward with children hearts selection photographs from pirate \",\" forward with children hearts tree planting knott wood \",\" forward with children hearts video \");");
d.write("var pageMap = new Array(\"Elland CE Primary School Home\",\" Elland CE Welcome\",\"Elland CE Key Information\",\"Elland CE Nursery\",\"Elland CE Letters\",\"Elland CE Gallery\",\"Elland CE Class Pages\",\"Elland CE School Timetable\",\"Elland CE Pricing\",\"Elland CE Diary\",\"Elland CE Uniform\",\"Elland CE Events\",\"Elland CE Performance\",\"Elland CE Newsletter\",\"Elland CE Letters\",\"Elland CE Staff\",\"Elland CE Foundation\",\"Elland CE Year 1\",\"Elland CE Year 2\",\"Elland CE Year 2/3\",\"Elland CE Year 4/5\",\"Elland CE Year 5/6\",\"Sure Start\",\"Elland CE Contact Us\",\"Elland CE Accessibility\",\"Headteachers Blog\",\"Class Newsletters\",\"Foundation Stage - London\",\"Year 1 - Edinburgh\",\"Year 2 - Lisbon\",\"Year 3/4 - Paris\",\"Year 4/5 - Rome\",\"Year 6 - Madrid\",\"Newsletter\",\"Elland Children's Centre\",\"Robinwood \",\"Pirate Day\",\"Tree Planting \",\"Video\");");
d.write("var linkMap = new Array(\"index.html\",\"welcome.html\",\"information.html\",\"nursery.html\",\"letters.html\",\"gallery.html\",\"classpages.html\",\"timetable.html\",\"pricing.html\",\"diary.html\",\"uniform.html\",\"events.html\",\"performance.html\",\"newsletter.html\",\"otherletters.html\",\"staff.html\",\"foundation.html\",\"year1.html\",\"year2.html\",\"year2and3.html\",\"year 4and5.html\",\"year5and6.html\",\"surestart.html\",\"contactus.html\",\"access.html\",\"page27.html\",\"page28.html\",\"page29.html\",\"page30.html\",\"page31.html\",\"page32.html\",\"page33.html\",\"page34.html\",\"page35.html\",\"page36.html\",\"page37.html\",\"page38.html\",\"page39.html\",\"page40.html\");");
d.write("var preMap = new Array(\"Web Site Designed By Dan Greenwood 2010 ©  Elland C of E Junior And Infant School Westgate Elland  HX5 0BB 01422 373159 admin@elland.calderdale.sch.uk                   Home   	Welcome    Key Informat\",\"Dear Parents On behalf of the Governors and staff of Elland Church of England School I welcome you to our new look web site. Elland Church of England School is an aided school, a distinction upon whic\",\"Forward With Children In Our Hearts Welcome to our information page Here you will find links to all the key information for our school. Please select the links below.     Timetable Pricing Info Diary \",\"Forward With Children In Our Hearts Nursery  Welcome to the Elland Church of England School Nursery Here at Elland Church of England School we are extremely proud of the quality of care and education \",\"Forward With Children In Our Hearts Letters For Parents Here you can find links to our weekly newsletters and other correspondence. Click the envelopes below Weekly Newsletter Other Letters \",\"Forward With Children In Our Hearts Gallery A selection of photographs from around our school which include our recent refurbishments undertaken during the summer of 2009. These Refurbishments are as \",\"Forward With Children In Our Hearts Our Class Pages Please find below links to our class pages and find out what we have been up to!!  Click the links on the chalkboard!! \",\"Forward With Children In Our Hearts School Timetable    Reception Key Stage 1 and 2    School Opens 8.45 a.m. Registration 8.50 a.m. Morning Session Begins 8.55 a.m. Morning Break 10.15 a.m. Lunchtime\",\"Forward With Children In Our Hearts Pricing Information  School dinners…………………………………………£1.80 per day = £9 per week Please note that  school dinner money needs to be paid on Mondays in advance. Please \",\"Forward With Children In Our Hearts 																					 																		  Diary Dates 2011 Close Open    Midsummer Thursday 21st July Tuesday 6th September October Half Term Friday 21st October Tu\",\"Forward With Children In Our Hearts Uniform and Apparel  Our school uniform and prices. If you would like to purchase any items please contact the school office. Or complete the order form attached be\",\"Forward With Children In Our Hearts Events \",\"Forward With Children In Our Hearts Performance  \",\"Forward With Children In Our Hearts  \",\"Forward With Children In Our Hearts Other Letters  Proposed Admissions Policy 2013-14 Proposed Admissions Covering Letter \",\"Forward With Children In Our Hearts Teaching Staff Mrs D. Greenwood Foundation Manager  Mrs W Holdsworth   Headteacher Mrs L Allen  Deputy Headteacher  & Year 5/6 Teacher Mrs C Savage Year 4/5 Mrs A P\",\"Forward With Children In Our Hearts Foundation Welcome To Our Foundation Stage Foundation Manager : - Mrs D. Greenwood Teaching Staff : - Mrs E. Brown, Mrs T. Kelly and Mrs W Johnson \",\"Forward With Children In Our Hearts Year 1 Welcome To Year 1 Teaching Staff :- Miss H Longstaff & Mrs L Kitchen \",\"Forward With Children In Our Hearts Year 2/3 Welcome to Year 2 Teaching Staff : - Mrs A Pritchard & Mrs C Tordoff \",\"Forward With Children In Our Hearts Year 2/3 Welcome To Year 2/3 Teaching Staff : - Mrs K Bedford & Mrs J Hastings \",\"Forward With Children In Our Hearts Year 4/5 Welcome To Year 4/5 Teaching Staff : - Mrs C Savage & Miss S Agnew  \",\"Forward With Children In Our Hearts Year 5/6 Welcome To Year 5/6 Teaching Staff : - Mrs L Allen & Mrs M Fox \",\"Forward With Children In Our Hearts Sure Start local programmes form a cornerstone of the Governments drive to tackle child poverty and social exclusion, based on firm evidence of what works. They ar\",\"Forward With Children In Our Hearts Contact Us Elland C of E School Westgate Elland  HX5 0BB 01422 373159 admin@elland.calderdale.sch.uk Office Opening Hours Mon - Fri ..... 8.30 a.m - 12.30 p.m 					\",\"Forward With Children In Our Hearts Accessibility Improving Your Experience Of Our Website  You can change the text size on our website if you’re having trouble reading it. This is how to change the t\",\"Forward With Children In Our Hearts \",\"\",\"\",\"\",\"\",\"\",\"\",\" \",\"Forward With Children In Our Hearts Sure Start Elland. Telephone 01422 373133 \",\"Forward With Children In Our Hearts Sure Start Elland. Telephone 01422 373133 \",\"Forward With Children In Our Hearts A selection of photographs from our trip to Robinwood  \",\"Forward With Children In Our Hearts A selection of photographs from our Pirate Day  \",\"Forward With Children In Our Hearts  Y 2/3 Tree Planting at Knott Wood \",\"Forward With Children In Our Hearts Video \");");
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();
}
