function sbook()
{
/* To add a new book, simply add the next line of the array
     example:
     	titles[5] = "Book 6";
     	titles[6] = "Book 7";
     	titles[7] = "Book 8";
     To add the new book, add
     	titles[8] = "Book 9";
     This needs to be done with both arrays, and the numbers in each array correspond with one another
*/
var titles = new Array()
titles[0]="22nd Annual Convention Compendium";
titles[1]="23rd Annual Convention Compendium";
titles[2]="24th Annual Convention Compendium";
titles[3]="25th Annual Convention Compendium";
titles[4]="27th Annual Convention Compendium";
titles[5]="ABC for You and Me";
titles[6]="AEPS Measurement for 3 to 6 years";
titles[7]="After Your Child's Diagnosis:  A Practical Guide for Families Raising Children with Disabilities";
titles[8]="Angel Passed This Way, An";
titles[9]="Another Season:  A Coach's Story of Raising an Exceptional Son";
titles[10]="Are There Stripes in Heaven";
titles[11]="Babies with Down Syndrome";
titles[12]="Babies with Down Syndrome, 2nd Ed.";
titles[13]="Baby Sitter's Club, The:  Dawn & Whitney, Friends Forever";
titles[14]="Building the Future";
titles[15]="Bus Girl";
titles[16]="Cara";
titles[17]="Circle of Friends";
titles[18]="Child Who Never Grew, The";
titles[19]="Choosing Naia";
titles[20]="Classroom Language Skills for Children with Down Syndrome:  A Guide for Parents and Teachers";
titles[21]="Colors";
titles[22]="Communication Skills in Children with Down Syndrome";
titles[23]="Communication-Based Intervention for Problem Behavior:  A User's Guide for Producing Positive Change";
titles[24]="Como Favorecer Los Habilidades Comunicativas de los ninos con sindrome de down";
titles[25]="Cookie";
titles[26]="Count Us In";
titles[27]="Counting";
titles[28]="Creativity and Collaborative Learning:  A Practical Guide to Empowering Students and Teachers";
titles[29]="Curriculum Consideration in Inclusive Classrooms";
titles[30]="David Decides About Thumb Sucking:  A Story for Children, A Guide for Parents";
titles[31]="Delicate Threads";
titles[32]="Difference In the Family, A";
titles[33]="Differences in Common:  Straight Talk on Mental Retardation, Down Syndrome and Life";
titles[34]="Directory of Agencies--Individuals with Disabilities";
titles[35]="Down Syndrome--Growing and Learning";
titles[36]="Effective Teaching Strategies for Successful Inclusion";
titles[37]="Effective Teaching Strategies for Successful Inclusion:  A Focus on Down Syndrome";
titles[38]="Everyday Social Interactions";
titles[39]="Families, Disability, and Empowerment:  Active Coping Skills and Strategies for Family Interventions";
titles[40]="Fine Motor Skills in Children with Down Syndrome";
titles[41]="Furrtails, The";
titles[42]="Gross Motor Skills in Children with Down Syndrome";
titles[43]="Homework Book, The";
titles[44]="Hope for Families";
titles[45]="How to Get Services by Being Assertive";
titles[46]="I Can Hear the Sun";
titles[47]="Infants and Mothers";
titles[48]="Integration Experiences";
titles[49]="K&W Guide to Colleges for Learning Disabled";
titles[50]="Keys to Parenting a Child with Down Syndrome";
titles[51]="Language of Toys, The";
titles[52]="El Libro de Tarea";
titles[53]="Life As We Know It:  A Father, A Family, and an Exceptional Child";
titles[54]="Making Room for Uncle Joe";
titles[55]="Medical and Surgical Care for Children with Down Syndrome";
titles[56]="Medical Care in Down Syndrome";
titles[57]="My Friend Isabelle";
titles[58]="My Sister is Special";
titles[59]="My First Number Book";
titles[60]="New Life In the Neighborhood";
titles[61]="New Perspectives on Down Syndrome";
titles[62]="One Miracle at a Time";
titles[63]="Opening Doors Again (Toys for Special Education)";
titles[64]="Oral Motor Exercises for Speech Clarity";
titles[65]="Pencil Portraits, 1971-1990";
titles[66]="Premature Babies:  A Handbook for Parents";
titles[67]="Promises To Keep";
titles[68]="Que un buen IDEA";
titles[69]="Ready, Willing, and Disabled";
titles[70]="Respite Care";
titles[71]="Retarded Isn't Stupid, Mom";
titles[72]="Russ and the Almost Perfect Day";
titles[73]="SenseAbilities:  Understanding Sensory Integration";
titles[74]="Sexuality and People with Intellectual Disability";
titles[75]="She'll Never Do Anything, Dear";
titles[76]="Show Me No Mercy";
titles[77]="Show Me Some More";
titles[78]="Since Owen";
titles[79]="Some Just Clap Their Hands";
titles[80]="Sometimes Miracles Hide:  Stirring Letters from Those Who Discovered God's Blessings in a Special Child";
titles[81]="Special Kids Make Special Friends";
titles[82]="Teaching Reading to Children with Down Syndrome";
titles[83]="Thumbs Up, Rico";
titles[84]="Toilet Training In Less Than a Day";
titles[85]="Uncommon Fathers:  Reflections on Raising a Child with a Disability";
titles[86]="Under His Wings:  Meeting the Spiritual Needs of the Mentally Disabled";
titles[87]="Vermont Interdependent Services Team Approach (VISTA):  A Guide to Coordinating Educational Support Services";
titles[88]="We Have Been There";
titles[89]="We'll Paint the Octopus Red";
titles[90]="What Can You Find:  In the Yard";
titles[91]="What Can You Find:  On the Beach"; 
titles[92]="What Happened When Grandma Died";
titles[93]="Wit to Win, The";
titles[94]="You Will Dream New Dreams";
titles[95]="Your Down Syndrome Child";


var author = new Array()
author[0]="National Down Syndrome Congress";
author[1]="National Down Syndrome Congress";
author[2]="National Down Syndrome Congress";
author[3]="National Down Syndrome Congress";
author[4]="National Down Syndrome Congress";
author[5]="Girnis, Meg";
author[6]="Bricker, Diane and Kristie Pretti-Frontezak";
author[7]="Binstock, Cathy";
author[7]="Henderson, Faye";
author[8]="Stallings, Gene and Sally Cook";
author[9]="Henderson, Faye";
author[10]="Stray-Gunderson, Karen";
author[11]="Stray-Gunderson, Karen";
author[12]="Martin, Ann M.";
author[13]="Janicki, Matthew P.";
author[14]="Josephson, Gretchen";
author[15]="Jablow, Martha Moraghan";
author[16]="Persky, Robert";
author[17]="Berkes, Clara Widess ";
author[18]="Pearl S. Buck";
author[19]="Zuckoff, Michell";
author[20]="Kumin, Libby";
author[21]="Dorling Kindersley";
author[22]="Kumin, Libby";
author[23]="Various";
author[24]="Kumin, Libby";
author[25]="Linda Kneeland";
author[26]="Kingsley, Jason & Levitz, Michael";
author[27]="Dorling Kindersley";
author[28]="Thousand, Jacqueline S.,  Richard A. Villa, and Ann I. Nevin";
author[29]="Stainbeck, Susan and William";
author[30]="Heitler, Susan";
author[31]="Staub, Debbie, Ph.D.";
author[32]="Heatherstone, Helen";
author[33]="Trainer, Marilyn";
author[34]="Texas--Region IV Education Service Center";
author[35]="Pueschel, Siegfired, ed.";
author[36]="PREP Program";
author[37]="PREP";
author[38]="Riches, Vivienne C.";
author[39]="Singer, George and Powers, Laurie";
author[40]="Bruni, Maryann";
author[41]="Finnessey, Shandi"; 
author[42]="Winders, Patricia";
author[43]="Rosenfeld-Johnson, Sara";
author[44]="Persky, Robert";
author[45]="DesJardin, Charlotte";
author[46]="Polaho, Patricia";
author[47]="Brazelton, T. Berry";
author[48]="Janiki, Matthew P. and Keefer";
author[49]="Kravets, Marybeth and Imy F. Wax";
author[50]="Brill, Madelene";
author[51]="Schwartz, Sue and Joan E. Heller Miller";
author[52]="Rosenfeld-Johnson, Sara";
author[53]="Berube, Michael";
author[54]="Litchfield, Ada B.";
author[55]="Van Dyke, D.C., et al.";
author[56]="Paul T. Rogers and Mary Coleman";
author[57]="Woloson, Eliza";
author[58]="Jansen, Larry";
author[59]="Heinst, Marie";
author[60]="Persky, Robert";
author[61]="Pueschel, Siegfired, ed.";
author[62]="Dickman, Irving with Sol Gordon";
author[63]="Schell, Matthew P.";
author[64]="Rosenfeld-Johnson, Sara";
author[65]="Perkse, Martha";
author[66]="Nance, Sherri";
author[67]="Melton, David";
author[68]="ARC of Texas";
author[69]="Kunc, Norman";
author[70]="Salisberg, Christine L. and James Intagliate";
author[71]="Kaufman, Sandra Z.";
author[72]="Rickert, Janet Elizabeth ";
author[73]="Trott, Maryann Colby, et al.";
author[74]="Fegan, Lydia and A. Rauch";
author[75]="Hebden, Joan";
author[76]="Persky, Robert";
author[77]="Cianciulli, M&M";
author[78]="Callahan CR";
author[79]="Mantle, Margaret";
author[80]="Carroll, Bruce";
author[81]="Shalom, Debra B.";
author[82]="Oelwein, Patricia Logan";
author[83]="Testa, Maria";
author[84]="Arzin, Nathan H. and Richard M. Foxx";
author[85]="Meyer, Donal, Ed.";
author[86]="Bittne, Robert";
author[87]="Giangreco, Michael";
author[88]="Dougan, Isbell and Vyas Ferrell";
author[89]="Stuve-Bodeen, Stephanie";
author[90]="Dorling Kindersley";
author[91]="Dorling Kindersley";
author[92]="Barker, Peggy";
author[93]="Lepore, Phillip and Matthew Janicki";
author[94]="edited by Klein, Stanley D. and Kim Schive";
author[95]="McClurg, Eunice";


var catgry = new Array()
catgry[0]="Compendium";
catgry[1]="Compendium";
catgry[2]="Compendium";
catgry[3]="Compendium";
catgry[4]="Compendium";
catgry[5]="Juvenile";
catgry[6]="Education";
catgry[7]="Family";
catgry[8]="Biography";
catgry[9]="Biography";
catgry[10]="Juvenile";
catgry[11]="Parent Guide";
catgry[12]="Parent Guide";
catgry[13]="Fiction";
catgry[14]="Community";
catgry[15]="Poetry";
catgry[16]="Biography";
catgry[17]="Family Life";
catgry[18]="Juvenile";
catgry[19]="Biography";
catgry[20]="Biography";
catgry[21]="Education";
catgry[22]="Juvenile";
catgry[22]="Speech";
catgry[23]="Education";
catgry[24]="Parent Guide";
catgry[25]="Juvenile";
catgry[26]="Biography";
catgry[27]="Juvenile";
catgry[28]="Education";
catgry[29]="Education";
catgry[30]="Family";
catgry[31]="Education";
catgry[32]="Family Life";
catgry[33]="Family Life";
catgry[34]="Directory";
catgry[35]="Parent Guide";
catgry[36]="Education";
catgry[37]="Parent Guide";
catgry[38]="Education";
catgry[39]="Family Life";
catgry[40]="Parent Guide";
catgry[41]="Juvenile";
catgry[42]="Parent Guide";
catgry[43]="Speech";
catgry[44]="Family";
catgry[45]="Education";
catgry[46]="Misc";
catgry[47]="Parent Guide";
catgry[48]="Community";
catgry[49]="Education";
catgry[50]="Parent Guide";
catgry[51]="Speech";
catgry[52]="Speech";
catgry[53]="Biography";
catgry[54]="Fiction, Juvenile";
catgry[55]="Medical";
catgry[56]="Medical";
catgry[57]="Juvenile";
catgry[58]="Fiction, Juvenile";
catgry[59]="Juvenile";
catgry[60]="Family Life";
catgry[61]="Parent Guide";
catgry[62]="Education";
catgry[63]="Education";
catgry[64]="Speech";
catgry[65]="Misc";
catgry[66]="Parent Guide";
catgry[67]="Parent Guide";
catgry[68]="Parent Guide";
catgry[69]="Education";
catgry[70]="Community";
catgry[71]="Biography";
catgry[72]="Juvenile";
catgry[73]="Education";
catgry[74]="Education";
catgry[75]="Biography";
catgry[76]="Fiction";
catgry[77]="Juvenile";
catgry[78]="Biography";
catgry[79]="Family Life";
catgry[80]="Inspirational";
catgry[81]="Family Life";
catgry[82]="Reading";
catgry[83]="Fiction, Juvenile";
catgry[84]="Education";
catgry[85]="Family";
catgry[86]="Religion";
catgry[87]="Education";
catgry[88]="Parent Guide";
catgry[89]="Juvenile";
catgry[90]="Juvenile";
catgry[91]="Juvenile";
catgry[92]="Fiction, Juvenile";
catgry[93]="Community";
catgry[94]="Inspirational";
catgry[95]="Parent Guide";


var results = new Array()



























































/**********************************************************************************
THIS SHOULD NOT BE EDITED
***********************************************************************************/

	var i = 0;
	var ttl = new RegExp(document.getElementById("title_b").value.toUpperCase(), "gi");
	var a = null;
	var t = null;
	var count = 0;
	
	document.getElementById("inform").innerHTML = "";
	
	//Search
	
	if(document.getElementById("title_b").value != "")
	{
		while(i < titles.length)
		{
			t = ttl.test(titles[i].toUpperCase());
			a = ttl.test(author[i].toUpperCase());
			if(t == true || a == true)
			{
				//Only add it if it fits the category
				if(catgry[i].toUpperCase() == document.getElementById("cats").value.toUpperCase() || document.getElementById("cats").value.toUpperCase() == 'ALL')
				{
					results[count] = "<tr><td>" + catgry[i] + "</td><td>" + titles[i] + "</td><td>" + author[i] + "</td></tr>";
					count++;
				}
			}
			i++;
		}
		i = 0;
		results.sort();
		t = "<table border=0 align=center cellpadding=5><tr><th>Category</th><th>Title</th><th>Author</th></tr>";
		while(i < results.length)
		{
			t += results[i];
			i++;
		}
		t += "</table>";
		document.getElementById("inform").innerHTML = t;
	}
	else
	{
		//If left blank, return all results from selected category
	}
}
