// JavaScript Document



<!-- Begin copyright - This must be retained and posted as is to use this script -->



// This Script was created by Satadip Dutta. 

// Email: sat_dutta@post1.com  / satadipd@inf.com 

// URL:http://dutta.home.ml.org

// Please honor my hard work, if you use a variant of this in your page, 

// then please email me :) and keep these comments in the Script.

// This code is Copyright (c) 1997 Satadip Dutta

// all rights reserved.

// License is granted to user to reuse this code on their own Web site 

// if, and only if, this entire copyright notice is included. The Web Site

// containing this  script   must be a not-for-profit ( non-commercial ) web site. If the script is to be used in a commercial   

// website exclusive permission must be obtained before using it.

// Joe Burns of htmlgoodies.com has been authorised to use this code in the

// site htmlgoodies.com.



<!-- End copyright - This must be retained and posted as is to use this script -->



title = new Object();

desc = new Object();

links= new Object();

matched= new Object();

keywords= new Object();

found= new Object();

var temp=0;

// actual location or the item to be searched

// description of he location

// actual link

// percentage match found

// keywords as parsed from the input

// # of titles present in the database

title[0]=87

//no of keywords after parsing

keywords[0]=0

//no of  matches found.

found[0]=0



<!-- Begin List of Searchable Items -->





title[1]="grant grants application schedule awards guide acrobat pdf process proposal deadline requirements"

desc[1]="Grant Process"

links[1]="http://www.hmturnerfoundation.org/html/grant.html"

matched[1]=0



title[2]="resource center"

desc[2]="The Resource Center"

links[2]="http://www.hmturnerfoundation.org/html/resourcecenter.html"

matched[2]=0



title[3]="Sara Landess Sarah"

desc[3]="About Us - Sara Landess"

links[3]="http://www.hmturnerfoundation.org/html/bios/sara_bio.html"

matched[3]=0



title[4]="John Landess"

desc[4]="About Us - John Landess"

links[4]="http://www.hmturnerfoundation.org/html/bios/john_bio.html"

matched[4]=0



title[5]="Tracy Greeley Tracey"

desc[5]="About Us - Tracy Greeley"

links[5]="http://www.hmturnerfoundation.org/html/bios/tracy_bio.html"

matched[5]=0



title[6]="Rob Kearns"

desc[6]="About Us - Rob Kearns"

links[6]="http://www.hmturnerfoundation.org/html/bios/rob_bio.html"

matched[6]=0



title[7]="Sophia Vandiford"

desc[7]="About Us - Sophia Vandiford"

links[7]="http://www.hmturnerfoundation.org/html/bios/sophia_bio.html"

matched[7]=0



title[8]="Ray Hagerman"

desc[8]="About Us - Ray Hagerman"

links[8]="http://www.hmturnerfoundation.org/html/bios/ray_bio.html"

matched[8]=0



title[9]="Lisa Goddard"

desc[9]="About Us - Lisa Goddard"

links[9]="http://www.hmturnerfoundation.org/html/bios/lisa_bio.html"

matched[9]=0



title[10]="Laurie Stanton"

desc[10]="About Us - Laurie Stanton"

links[10]="http://www.hmturnerfoundation.org/html/bios/laurie_bio.html"

matched[10]=0



title[11]="Kyle McKinnon"

desc[11]="About Us - Kyle McKinnon"

links[11]="http://www.hmturnerfoundation.org/html/bios/kyle_bio.html"

matched[11]=0



title[12]="Michael Morris Mike"

desc[12]="About Us - Michael Morris"

links[12]="http://www.hmturnerfoundation.org/html/bios/mike_bio.html"

matched[12]=0



title[13]="Tamara Wait Tammy Tami"

desc[13]="About Us - Tamara Wait"

links[13]="http://www.hmturnerfoundation.org/html/bios/tami_bio.html"

matched[13]=0



title[14]="about us Harry Turner Sara Landess John Landess Tracy Greeley Rob Kearns Sophia Vandiford Ray Hagerman Lisa Goddard Laurie Stanton Kyle McKinnon Michael Morris Kevin Rose Tamara Wait history foundation mission associates board directors"

desc[14]="About Us"

links[14]="http://www.hmturnerfoundation.org/html/aboutus.html"

matched[14]=0



title[15]="Turner Legacy history Atlanta Harry Springfield 1920 insurance depression Wallace Cincinnati Financial Charitable foundation"

desc[15]="Turner Legacy"

links[15]="http://www.hmturnerfoundation.org/html/legacy.html"

matched[15]=0



title[16]="grant grants application procedure steps"

desc[16]="Grant Application Procedure Steps"

links[16]="http://www.hmturnerfoundation.org/html/grant_pop.html"

matched[16]=0



title[17]="Final Report"

desc[17]="2010 - 2011 Final Report"

links[17]="http://www.hmturnerfoundation.org/html/grant_form.html"

matched[17]=0



title[18]="smart growth trends edward mcmahon planning commissioners journal suburban town centers washington d.c. reston town center cascades village kentlands Intercommunications urbanismmalls apartments retail downtown green residential golf recreation home open space corporation development"

desc[18]="Smart Growth Trends"

links[18]="http://www.hmturnerfoundation.org/html/artSmGrowth.html"

matched[18]=0



title[19]="cancer center patient neighborhood E. Columbia construction physician oncology center city association"

desc[19]="New Cancer Center To Heal Both Patient and Neighborhood"

links[19]="http://www.hmturnerfoundation.org/html/cancercenter.html"

matched[19]=0



title[20]="historic preservation growth restoration audubon society donovan rypkema"

desc[20]="Historic Preservation is Smart Growth"

links[20]="http://www.hmturnerfoundation.org/html/artsmartgrow.html"

matched[20]=0



title[21]="news events"

desc[21]="News & Events - Spotlight"

links[21]="http://www.hmturnerfoundation.org/html/news.html"

matched[21]=0



title[22]="news events downtown revitalization"

desc[22]="News & Events - Downtown Revitalization"

links[22]="http://www.hmturnerfoundation.org/html/downtown.html"

matched[22]=0



title[23]="business gary geis school dance company springfield health fitness Hazel flowers fountain main"

desc[23]="Bushnell Building, Building Business"

links[23]="http://www.hmturnerfoundation.org/html/artbushnell.html"

matched[23]=0



title[24]="education news events"

desc[24]="News & Events - Education"

links[24]="http://www.hmturnerfoundation.org/html/education.html"

matched[24]=0



title[25]="education pv array solar energy science ohio schools"

desc[25]="Blazing New Trails: Schools Take a Closer Look at Their Energy Use"

links[25]="http://www.hmturnerfoundation.org/html/artsolarschools.html"

matched[25]=0



title[26]="news events restoration preservation"

desc[26]="News & Events - Restoration and Preservation"

links[26]="http://www.hmturnerfoundation.org/html/restoration.html"

matched[26]=0



title[27]="restoration preservation east high preservation architecture richardson bushnell diamond westcott wright "

desc[27]="East High Street: An Open Museum of Architecture and Enterprise"

links[27]="http://www.hmturnerfoundation.org/html/highpreserv.html"

matched[27]=0



title[28]="news events restoration preservation archives"

desc[28]="Restoration and Preservation Archives"

links[28]="http://www.hmturnerfoundation.org/html/restor_archives.html"

matched[28]=0



title[29]="news events restoration preservation museum art springfield william gerdts across america"

desc[29]="Ohio's Artistic Tradition"

links[29]="http://www.hmturnerfoundation.org/html/artart.html"

matched[29]=0



title[30]="restoration preservation president pennsylvania house daughters american revolution jackson clay corwin national road dayton-springfield"

desc[30]="Fit for the President - The Pennsylvania House"

links[30]="http://www.hmturnerfoundation.org/html/artpenn.html"

matched[30]=0



title[31]="community development historic architecture preservation"

desc[31]="A Sense of Place and Identity"

links[31]="http://www.hmturnerfoundation.org/html/artsense.html"

matched[31]=0



title[32]="daniel hertzler george rogers clark park "

desc[32]="A Spirit of Entrepreneurship - The Hertzler House"

links[32]="http://www.hmturnerfoundation.org/html/arthertzler.html"

matched[32]=0



title[33]="clarence brown reservoir outdoor bake oven david barbara crabill restoration preservation clark historical society"

desc[33]="A Pioneering Perspective: The Crabill House"

links[33]="http://www.hmturnerfoundation.org/html/artcrabill.html"

matched[33]=0



title[34]="ohio national road american moadonna trail statue historic preservation thomas jefferson springfield"

desc[34]="An All American Road"

links[34]="http://www.hmturnerfoundation.org/html/artallamerican.html"

matched[34]=0



title[35]="community communities"

desc[35]="Communities That Work - Spotlight"

links[35]="http://www.hmturnerfoundation.org/html/community.html"

matched[35]=0



title[36]="health care community medical home facility pediatric"

desc[36]="Building Blocks for a Healthier Community"

links[36]="http://www.hmturnerfoundation.org/html/artbuild.html"

matched[36]=0



title[37]="health care community robert wood johnson foundation institute improvement IHI physician doctor"

desc[37]="Raising the Bar for Health Care Performance"

links[37]="http://www.hmturnerfoundation.org/html/artraisebar.html"

matched[37]=0



title[38]="preservation historic audubon society donovan rypkema"

desc[38]="Historic Preservation Is Smart Growth"

links[38]="http://www.hmturnerfoundation.org/html/artsmartgrow.html"

matched[38]=0



title[39]="community communities development wi-fi wireless technology"

desc[39]="Communities That Work - Community Development"

links[39]="http://www.hmturnerfoundation.org/html/commdev.html"

matched[39]=0



title[40]="community communities development landscape architects environment architecture"

desc[40]="Landscape Architects: Stewards of the Built Environment"

links[40]="http://www.hmturnerfoundation.org/html/artlandscape.html"

matched[40]=0



title[41]="community communities development springfield assurant group technology"

desc[41]="Staying in the Fast Lane"

links[41]="http://www.hmturnerfoundation.org/html/artfast.html"

matched[41]=0



title[42]="community communities education school"

desc[42]="Communities That Work - Education Outlook"

links[42]="http://www.hmturnerfoundation.org/html/educatout.html"

matched[42]=0



title[43]="community communities education high school springfield performance"

desc[43]="High Expectations: Transforming High School for Springfield's Future"

links[43]="http://www.hmturnerfoundation.org/html/arthigh.html"

matched[43]=0



title[44]="community communities education school student health energy environment"

desc[44]="Smart Schools Mean Healthy Student"

links[44]="http://www.hmturnerfoundation.org/html/artsmartschools.html"

matched[44]=0



title[45]="community communities public education academic income GRAD"

desc[45]="Project GRAD - Working to Close the Academic Achievement Gap"

links[45]="http://www.hmturnerfoundation.org/html/artedout.html"

matched[45]=0



title[46]="grant grants application question FAQ"

desc[46]="Grant Process - Frequently Asked Questions"

links[46]="http://www.hmturnerfoundation.org/html/faq.html"

matched[46]=0



title[47]="community communities health care"

desc[47]="Communities That Work"

links[47]="http://www.hmturnerfoundation.org/html/health.html"

matched[47]=0



title[48]="community communities health care washington amy kossoff donate charity womenade"

desc[48]="Second Helpings"

links[48]="http://www.hmturnerfoundation.org/html/artsecond.html"

matched[48]=0



title[49]="community communities leader service"

desc[49]="Communities That Work - Leaders in Service"

links[49]="http://www.hmturnerfoundation.org/html/leaders.html"

matched[49]=0



title[50]="community communities leader landfill recycle children volunteer service"

desc[50]="All the Debris I Could Ever Use"

links[50]="http://www.hmturnerfoundation.org/html/artalldebris.html"

matched[50]=0



title[51]="community communities leader children child labor service craig kielburger"

desc[51]="Free the Children"

links[51]="http://www.hmturnerfoundation.org/html/artfree.html"

matched[51]=0



title[52]="community communities leader st. luke lutheran church service betty pitzer ann lite pantry volunteer"

desc[52]="Hygiene Pantry Honored for Unique Service"

links[52]="http://www.hmturnerfoundation.org/html/arthygiene.html"

matched[52]=0



title[53]="community communities leader service archives"

desc[53]="Leaders in Service Archives"

links[53]="http://www.hmturnerfoundation.org/html/lead_archives.html"

matched[53]=0



title[54]="community communities leader service irene sendler jew nazi concentration zegota children"

desc[54]="Life in A Jar - The Irene Sendler Story"

links[54]="http://www.hmturnerfoundation.org/html/artjar.html"

matched[54]=0



title[55]="community communities archives"

desc[55]="Communities That Work Archives"

links[55]="http://www.hmturnerfoundation.org/html/com_archives.html"

matched[55]=0



title[56]="community communities archives development"

desc[56]="Community Development Archives"

links[56]="http://www.hmturnerfoundation.org/html/commdev_archives.html"

matched[56]=0



title[57]="community communities development technology business springfield"

desc[57]="Greater Springfield Technology Initiative"

links[57]="http://www.hmturnerfoundation.org/html/artspringtech.html"

matched[57]=0



title[58]="community communities education archives"

desc[58]="Education Outlook Archives"

links[58]="http://www.hmturnerfoundation.org/html/eduout_archives.html"

matched[58]=0



title[59]="education wittenberg robert welker"

desc[59]="A National Leader In Teaching Excellence"

links[59]="http://www.hmturnerfoundation.org/html/artnateach.html"

matched[59]=0



title[60]="news events archives"

desc[60]="News and Events Archives"

links[60]="http://www.hmturnerfoundation.org/html/news_archives.html"

matched[60]=0



title[61]="news events archives downtown revitalization"

desc[61]="Downtown Revitalization Archives"

links[61]="http://www.hmturnerfoundation.org/html/down_archives.html"

matched[61]=0



title[62]="news events archives education school"

desc[62]="Education Archives"

links[62]="http://www.hmturnerfoundation.org/html/edu_archives.html"

matched[62]=0



title[63]="news events lexis nexis technology bob taft springfield"

desc[63]="High Tech Hopes"

links[63]="http://www.hmturnerfoundation.org/html/artlex.html"

matched[63]=0



title[64]="downtown revitalization news events architecture community springfield"

desc[64]="Gateway to Improvement"

links[64]="http://www.hmturnerfoundation.org/html/artgateway.html"

matched[64]=0



title[65]="downtown revitalization news events courtyard springfield inn hotel ashley marriott"

desc[65]="Downtown Springfield to Receive a new Courtyard"

links[65]="http://www.hmturnerfoundation.org/html/artcourt.html"

matched[65]=0



title[66]="education news events presidential jim mamer michigan state university springfield"

desc[66]="Local Teacher Receives Presidential Award"

links[66]="http://www.hmturnerfoundation.org/html/artmamer.html"

matched[66]=0



title[67]="education news events wittenberg springfield teacher institute robert welker clark students"

desc[67]="A Unique Partnership, The Springfield-Wittenberg Teacher Institute"

links[67]="http://www.hmturnerfoundation.org/html/artsprwitt.html"

matched[67]=0



title[68]="education news events springfield leadership school milken"

desc[68]="Education in Springfield, A Success Story in the Making"

links[68]="http://www.hmturnerfoundation.org/html/artsuccess.html"

matched[68]=0



title[69]="grant grants application question procedure request"

desc[69]="Grant Process - Best Practices"

links[69]="http://www.hmturnerfoundation.org/html/bestpractice.html"

matched[69]=0



title[70]="Kevin Rose"

desc[70]="About Us - Kevin Rose"

links[70]="http://www.hmturnerfoundation.org/html/bios/kevin_bio.html"

matched[70]=0



title[71]="annual report funding form"

desc[71]="Annual Report Multi-year Funding Form"

links[71]="http://www.hmturnerfoundation.org/html/annual_form.html"

matched[71]=0



title[72]="architecture westcott frank lloyd wright stanley tigerman"

desc[72]="Destination Springfield"

links[72]="http://www.hmturnerfoundation.org/html/artdest.html"

matched[72]=0



title[73]="facade improvement program restore historic architecture center city association regional urban assistance team rudat"

desc[73]="Facade Improvement Program - Restarting the Heart"

links[73]="http://www.hmturnerfoundation.org/html/artfacade.html"

matched[73]=0



title[74]="Wilbur Orville Wright brothers Harry Toulmin patent"

desc[74]="Springfield Shares Role In Inventing Flight"

links[74]="http://www.hmturnerfoundation.org/html/artflight.html"

matched[74]=0



title[75]="Ohio Supercomputer Center Springfield OSC technology computer networking high tech research"

desc[75]="OSC-Springfield Fills Its Research Positions in Record Time"

links[75]="http://www.hmturnerfoundation.org/html/artOSC.html"

matched[75]=0



title[76]="grant nonprofit organization funding books workshops resources"

desc[76]="Grant Process Resource Center"

links[76]="http://www.hmturnerfoundation.org/html/resourcecenter.html"

matched[76]=0



title[77]="news events"

desc[77]="News and Events - Spotlight"

links[77]="http://www.hmturnerfoundation.org/html/news2.html"

matched[77]=0



title[78]="Turner Foundation grants grant application request final report annual"

desc[78]="The Turner Foundation - Homepage"

links[78]="http://www.hmturnerfoundation.org/html/main.html"

matched[78]=0



title[79]="community communities health care"

desc[79]="Communities That Work - Health Care"

links[79]="http://www.hmturnerfoundation.org/html/health_arch.html"

matched[79]=0



title[80]="contact address directions phone fax map email"

desc[80]="Contact The Turner Foundation"

links[80]="http://www.hmturnerfoundation.org/html/contact.html"

matched[80]=0



title[81]="Sara Jane Turner Landess Wally Martinson"

desc[81]="Go ahead, eat your baloney sandwich"

links[81]="http://www.hmturnerfoundation.org/html/saraBaloney.html"

matched[81]=0



title[82]="Sara Jane Turner Landess Lawrence history"

desc[82]="Sara Landess - A Brief History of Her Life"

links[82]="http://www.hmturnerfoundation.org/html/sarahistory.html"

matched[82]=0



title[83]="Sara Jane Turner Landess memoirs memories"

desc[83]="In Memory of Sara Landess"

links[83]="http://www.hmturnerfoundation.org/html/saralandess.html"

matched[83]=0



title[84]="Sara Jane Turner Landess memoirs"

desc[84]="The Memoirs of Sara Jane Landess"

links[84]="http://www.hmturnerfoundation.org/html/saramemoirs.html"

matched[84]=0



title[85]="Sara Jane Turner Landess remember Wally Martinson Nancy Lutz Susuie Raslatter"

desc[85]="Sara Landess - Remembering Sara"

links[85]="http://www.hmturnerfoundation.org/html/sararememberMain.html"

matched[85]=0



title[86]="Sara Jane Turner Landess remember Nancy Lutz Susie Rastatter"

desc[86]="Sara Landess - Remembering Sara"

links[86]="http://www.hmturnerfoundation.org/html/sararemember.html"

matched[86]=0



title[87]="Sara Jane Turner Landess remember Wally Martinson"

desc[87]="Sara Landess - Remembering Sara"

links[87]="http://www.hmturnerfoundation.org/html/sararemember2.html"

matched[87]=0











<!-- End list of Searchable items -->



function search(){

// get the input from the input by the user and strip it into keywords

//+

var skeyword=document.searchengine.keywords.value.toLowerCase();

var check=1;

var pos=0;

var i=0;

var j=0;

var  itemp=0;

var config='';



while (true)

	{

	if (skeyword.indexOf("+") == -1 )

		{

		keywords[check]=skeyword;

		break;

		}

	pos=skeyword.indexOf("+");

	if (skeyword !="+")	

	{

	keywords[check]=skeyword.substring(0,pos);

	check++;

	}

	else

	{

	check--;

	break;

	}

	skeyword=skeyword.substring(pos+1, skeyword.length);	

	if (skeyword.length ==0)

		{

		check--;

		break;

		}

			 

	}

// the keywords have been put in keywords object.

keywords[0]=check;

//alert(check);

// matching and storing the matches in matched

for ( i=1; i<=keywords[0];i++)

	{

	for (j=1;j<=title[0];j++)

		{

		if (title[j].toLowerCase().indexOf(keywords[i]) > -1 )

			{

			  matched[j]++;

			}

		}	

	}

// putting all the indexes of the matched records  in found



for (i=1;i<=title[0];i++)

{

	if (matched[i] > 0 )

		{

		  found[0]++;

		// increment the found 	

		  found[found[0]]=i;

			

		}	

}

//alert("found 0 " +  found[0]);

// sort the list as per max percentage of matches





for (i=1;i<=found[0]-1;i++)

	{

	for(j=i+1;j<=found[0];j++)

		{

		if ( matched[found[i]]< matched[found[j]] )

			{

			temp= found[j];

			found[j]=found[i];

			found[i]=temp;

			}

		}

	}







// end of sort



// prepare for document write.

config='toolbar=yes,location=no,directories=no,status=no,menubar=no,' 

config += 'scrollbars=yes,resizable=yes' 

output = window.open ("","outputwindow",config) 

output.document.write('<title> Turner Search Results </title>');

output.document.write('<' + 'link rel="stylesheet" type="text/css" href="../global/turner.css" >');



output.document.write('<BODY bgcolor=#ffffff marginwidth=0 marginheight=0 topmargin=0 left margin=0 >');

output.document.write('<br>&nbsp;&nbsp;&nbsp;&nbsp;<img src="../global/images/tlogo.jpg" width="197" height="20">');



output.document.write('<table height="15" width="1110" bgcolor="#336699" border="0" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td></tr></table>');    





output.document.write('&nbsp;&nbsp;&nbsp;&nbsp;<span class=mainartheads>Search Results</span><br>' )

output.document.write('&nbsp;&nbsp;&nbsp;<span class=articletext>The Keyword(s) you searched ::</span> '.big() )

for (i=1;  i<=keywords[0]; i++)

	{

	output.document.write( keywords[i].bold() +"   ");

	}

output.document.write('<br>');



if (found[0]==0)

	{

	//alert(found[0]);

	

	 output.document.write("<br><span class=mainartheads>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No matches resulted in this search </span> <br><br>");

	

	}

else

	{

	// data has been found

	output.document.write("&nbsp;&nbsp;&nbsp;<span class=articletext> The Results of the search are  : </span>  ");

	output.document.write( "<span class=articletext>" + found[0] +"  Entries found  ".italics() + "</span>");

		output.document.write("<br><br>");

	output.document.write("<table border=0 width=100%>");

	for (i=1; i<=found[0];i++)

		{

		output.document.write("<tr><td valign=top>");

		output.document.write("<span class=mainartheads>" +i +"&nbsp;&nbsp;</span>");



		itemp=found[i];

		output.document.write("<span class=mainartheads>" + desc[itemp].bold() + "</span>" + "<br>" + "<span class=maintext>&nbsp;&nbsp;&nbsp;&nbsp;" +

links[itemp].link(links[itemp])+ "</span>" +"<br>");

		temp= (matched[itemp]/keywords[0])*100

		output.document.write("<span class=articletext>&nbsp;&nbsp;&nbsp;&nbsp;" + "Matched  with keywords  ::" +temp+" %  </span><br><br>" );

		matched[itemp]=0

		} 

	found[0]=0;

	

	output.document.write("</table>");

	}



output.document.write('<table height="5" width="1110" bgcolor="#003366" border="0" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td></tr></table>');



output.document.write ("<br>&nbsp;&nbsp;&nbsp;&nbsp;<input type='button' value='Start Another Search' onClick = 'self.close()'>") 

output.document.write ("</form>") 

}


