i'm having trouble with the below script. its supposed to work as a search engine, however, when a word that is not listed as a keyword is entered it doesn't take you to the assigned page. it keeps taking me to item41.html could someone please tell me what i'm doing wrong. to try it for your self visit http://www.karencurran.com/store.html

Code:
  
<SCRIPT language="JavaScript">
function searchengine()
{
var pages= new Array()
pages["healing ac cream"]="http://www.karencurran.com/item1.html";
pages["bruise"]="http://www.karencurran.com/item1.html";
pages["burn"]="http://www.karencurran.com/item1.html";
pages["muscle"]="http://www.karencurran.com/item1.html";
pages["arnica"]="http://www.karencurran.com/item1.html";
pages["calendula"]="http://www.karencurran.com/item1.html";
pages["food enzymes"]="http://www.karencurran.com/item2.html";
pages["hcl"]="http://www.karencurran.com/item2.html";
pages["digest"]="http://www.karencurran.com/item2.html";
pages["trace mineral maintenance"]="http://www.karencurran.com/item3.html";
pages["mineral"]="http://www.karencurran.com/item3.html";
pages["lbs 2 vegitabs"]="http://www.karencurran.com/item4.html";
pages["colon"]="http://www.karencurran.com/item4.html";
pages["bowel"]="http://www.karencurran.com/item4.html";
pages["stimulant"]="http://www.karencurran.com/item4.html";
pages["hsn-w capsules"]="http://www.karencurran.com/item5.html";
pages["horsetail"]="http://www.karencurran.com/item5.html";
pages["hair"]="http://www.karencurran.com/item5.html";
pages["skin"]="http://www.karencurran.com/item5.html";
pages["nails"]="http://www.karencurran.com/item5.html";
pages["vs-c capsules"]="http://www.karencurran.com/item6.html";
pages["viral"]="http://www.karencurran.com/item6.html";
pages["virus"]="http://www.karencurran.com/item6.html";
pages["tiao he cleanse"]="http://www.karencurran.com/item7.html";
pages["chinese"]="http://www.karencurran.com/item7.html";
pages["cleanse"]="http://www.karencurran.com/item7.html";
pages["echinacea"]="http://www.karencurran.com/item8.html";
pages["defense"]="http://www.karencurran.com/item8.html";
pages["golden seal"]="http://www.karencurran.com/item9.html";
pages["bacteria"]="http://www.karencurran.com/item9.html";
pages["ginko biloba extract t/r"]="http://www.karencurran.com/item10.html";
pages["brain"]="http://www.karencurran.com/item10.html";
pages["oxygen"]="http://www.karencurran.com/item10.html";
pages["gotu kola"]="http://www.karencurran.com/item11.html";
pages["memory"]="http://www.karencurran.com/item11.html";
pages["kelp"]="http://www.karencurran.com/item12.html";
pages["gland"]="http://www.karencurran.com/item12.html";
pages["iodine"]="http://www.karencurran.com/item12.html";
pages["echinacea golden seal"]="http://www.karencurran.com/item13.html";
pages["cholester-reg"]="http://www.karencurran.com/item14.html";
pages["cholesterol"]="http://www.karencurran.com/item14.html";
pages["vari-gone"]="http://www.karencurran.com/item15.html";
pages["varicose"]="http://www.karencurran.com/item15.html";
pages["spider"]="http://www.karencurran.com/item15.html";
pages["cleanstart-citrus"]="http://www.karencurran.com/item16.html";
pages["detoxify"]="http://www.karencurran.com/item16.html";
pages["nature's cleanse"]="http://www.karencurran.com/item17.html";
pages["weight-loss"]="http://www.karencurran.com/item17.html";
pages["bowel detox"]="http://www.karencurran.com/item18.html";
pages["eliminate"]="http://www.karencurran.com/item18.html";
pages["vitamin e with selenium"]="http://www.karencurran.com/item19.html";
pages["antioxidant"]="http://www.karencurran.com/item19.html";
pages["vitamins a and d"]="http://www.karencurran.com/item20.html";
pages["vision"]="http://www.karencurran.com/item20.html";
pages["b-complex"]="http://www.karencurran.com/item21.html";
pages["stress"]="http://www.karencurran.com/item21.html";
pages["vitamin c"]="http://www.karencurran.com/item22.html";
pages["citrus bioflavonoids"]="http://www.karencurran.com/item22.html";
pages["calcium-magnesium"]="http://www.karencurran.com/item23.html";
pages["calcium"]="http://www.karencurran.com/item23.html";
pages["magnesium"]="http://www.karencurran.com/item23.html";
pages["caprylic acid"]="http://www.karencurran.com/item24.html";
pages["yeast"]="http://www.karencurran.com/item24.html";
pages["candida"]="http://www.karencurran.com/item24.html";
pages["mega-chel"]="http://www.karencurran.com/item25.html";
pages["metals"]="http://www.karencurran.com/item25.html";
pages["nutri-calm"]="http://www.karencurran.com/item26.html";
pages["everflex tablets"]="http://www.karencurran.com/item27.html";
pages["msm"]="http://www.karencurran.com/item27.html";
pages["chondroitin"]="http://www.karencurran.com/item27.html";
pages["glucosamine"]="http://www.karencurran.com/item27.html";
pages["flax seed oil"]="http://www.karencurran.com/item28.html";
pages["lignans"]="http://www.karencurran.com/item28.html";
pages["linoleic"]="http://www.karencurran.com/item28.html";
pages["omega-3 epa"]="http://www.karencurran.com/item29.html";
pages["fish oil"]="http://www.karencurran.com/item29.html";
pages["super supplemental without iron"]="http://www.karencurran.com/item30.html";
pages["multiple"]="http://www.karencurran.com/item30.html";
pages["vitamin"]="http://www.karencurran.com/item30.html";
pages["black ointment"]="http://www.karencurran.com/item31.html";
pages["comfrey"]="http://www.karencurran.com/item31.html";
pages["msm glucosamine cream"]="http://www.karencurran.com/item32.html";
pages["pau d'arco"]="http://www.karencurran.com/item33.html";
pages["spirulina"]="http://www.karencurran.com/item34.html";
pages["uva ursi"]="http://www.karencurran.com/item35.html";
pages["valerian root"]="http://www.karencurran.com/item36.html";
pages["pro-g-yam"]="http://www.karencurran.com/item37.html";
pages["greenzone"]="http://www.karencurran.com/item38.html";
pages["green zone"]="http://www.karencurran.com/item38.html";
pages["green"]="http://www.karencurran.com/item38.html";
pages["alfalfa"]="http://www.karencurran.com/item38.html";
pages["barley"]="http://www.karencurran.com/item38.html";
pages["hista-block"]="http://www.karencurran.com/item39.html";
pages["allergies"]="http://www.karencurran.com/item39.html";
pages["black walnut capsules"]="http://www.karencurran.com/item40.html";
pages["cascara sagrada vegitabs"]="http://www.karencurran.com/item41.html";
pages["elimination"]="http://www.karencurran.com/item41.html";
pages["constipation"]="http://www.karencurran.com/item41.html";
pages["laxative"]="http://www.karencurran.com/item41.html";
pages["peristalsis"]="http://www.karencurran.com/item41.html";
pages["nature's noni juice"]="http://www.karencurran.com/item42.html";
pages["morinda"]="http://www.karencurran.com/item42.html";
pages["nature's noni capsules"]="http://www.karencurran.com/item43.html";
pages["alj vegitabs"]="http://www.karencurran.com/item44.html";
pages["alj liquid"]="http://www.karencurran.com/item45.html";
pages["fat grabbers"]="http://www.karencurran.com/item46.html";

var searchterm=document.formx.form1.value.toLowerCase();

if ((searchterm=="healing ac cream") &#0124;&#0124; (searchterm=="bruise") &#0124;&#0124; (searchterm=="burn") &#0124;&#0124; (searchterm=="muscle") &#0124;&#0124; (searchterm=="food enzymes") &#0124;&#0124; (searchterm=="hcl") &#0124;&#0124; (searchterm=="digest") &#0124;&#0124; (searchterm=="trace mineral maintenance") &#0124;&#0124; (searchterm=="arnica") &#0124;&#0124; (searchterm=="calendula") &#0124;&#0124; (searchterm=="mineral") &#0124;&#0124; (searchterm=="lbs 2 vegitabs") &#0124;&#0124; (searchterm=="colon") &#0124;&#0124; (searchterm=="bowel") &#0124;&#0124; (searchterm=="stimulant") &#0124;&#0124; (searchterm=="hsn-w capsules") &#0124;&#0124; (searchterm=="horsetail") &#0124;&#0124; (searchterm=="hair") &#0124;&#0124; (searchterm=="skin") &#0124;&#0124; (searchterm=="nails") &#0124;&#0124; (searchterm=="vs-c capsules") &#0124;&#0124; (searchterm=="viral") &#0124;&#0124; (searchterm=="virus") &#0124;&#0124; (searchterm=="tiao he cleanse") &#0124;&#0124; (searchterm=="chinese") &#0124;&#0124; (searchterm=="cleanse") &#0124;&#0124; (searchterm=="echinacea") &#0124;&#0124; (searchterm=="defense") &#0124;&#0124; (searchterm=="golden seal") &#0124;&#0124; (searchterm=="bacteria") &#0124;&#0124; (searchterm=="ginko biloba extract t/r") &#0124;&#0124; (searchterm=="brain") &#0124;&#0124; (searchterm=="oxygen") &#0124;&#0124; (searchterm=="gotu kola") &#0124;&#0124; (searchterm=="memory") &#0124;&#0124; (searchterm=="kelp") &#0124;&#0124; (searchterm=="gland") &#0124;&#0124; (searchterm=="iodine") &#0124;&#0124; (searchterm=="echinacea golden seal") &#0124;&#0124; (searchterm=="cholester-reg") &#0124;&#0124; (searchterm=="cholesterol") &#0124;&#0124; (searchterm=="vari-gone") &#0124;&#0124; (searchterm=="varicose") &#0124;&#0124; (searchterm=="spider") &#0124;&#0124; (searchterm=="cleanstart-citrus") &#0124;&#0124; (searchterm=="detoxify") &#0124;&#0124; (searchterm=="nature's cleanse") &#0124;&#0124; (searchterm=="weight-loss") &#0124;&#0124; (searchterm=="bowel detox") &#0124;&#0124; (searchterm=="eliminate") &#0124;&#0124; (searchterm=="vitamin e with selenium") &#0124;&#0124; (searchterm=="antioxidant") &#0124;&#0124; (searchterm=="witamins a and d") &#0124;&#0124; (searchterm=="vision") &#0124;&#0124; (searchterm=="b-complex") &#0124;&#0124;(searchterm=="stress") &#0124;&#0124; (searchterm=="vitamin c") &#0124;&#0124; (searchterm=="citrus bioflavonoids") &#0124;&#0124; (searchterm=="calcium-magnesium") &#0124;&#0124; (searchterm=="calcium") &#0124;&#0124; (searchterm=="magnesium") &#0124;&#0124; (searchterm=="caprylic acid") &#0124;&#0124; (searchterm=="yeast") &#0124;&#0124; (searchterm=="candida") &#0124;&#0124; (searchterm=="mega-chel") &#0124;&#0124; (searchterm=="metals") &#0124;&#0124; (searchterm=="nutri-calm") &#0124;&#0124; (searchterm=="everflex tablets") &#0124;&#0124; (searchterm=="msm") &#0124;&#0124; (searchterm=="chondroitin") &#0124;&#0124; (searchterm=="glucosamine") &#0124;&#0124; (searchterm=="flax seed oil") &#0124;&#0124; (searchterm=="lignans") &#0124;&#0124; (searchterm=="linoleic") &#0124;&#0124; (searchterm=="omega-3 epa") &#0124;&#0124; (searchterm=="fish oil") &#0124;&#0124; (searchterm=="super supplemental without iron") &#0124;&#0124; (searchterm=="multiple") &#0124;&#0124; (searchterm=="vitamin") &#0124;&#0124; (searchterm=="black ointment") &#0124;&#0124; (searchterm=="comfrey") &#0124;&#0124; (searchterm=="msm glucosamine cream") &#0124;&#0124; (searchterm=="pau d'arco") &#0124;&#0124; (searchterm=="spirulina") &#0124;&#0124; (searchterm=="uva ursi") &#0124;&#0124; (searchterm=="valerian root") &#0124;&#0124; (searchterm=="pro-g-yam") &#0124;&#0124; (searchterm=="greenzone") &#0124;&#0124; (searchterm=="green zone") &#0124;&#0124; (searchterm=="green") &#0124;&#0124; (searchterm=="alfalfa") &#0124;&#0124; (searchterm=="barley") &#0124;&#0124; (searchterm=="hista-block") &#0124;&#0124; (searchterm=="allergies") &#0124;&#0124; (searchterm=="black walnut capsules") &#0124;&#0124; (searchterm="cascara sagrada vegitabs") &#0124;&#0124;(searchterm="elimination") &#0124;&#0124; (searchterm="constipation") &#0124;&#0124; (searchterm="laxative") &#0124;&#0124; (searchterm="peristalsis") &#0124;&#0124; (searchterm="nature's noni juice") &#0124;&#0124; (searchterm="morinda") &#0124;&#0124; (searchterm="nature's noni capsules") &#0124;&#0124; (searchterm="alj vegitabs") &#0124;&#0124; (searchterm="alj liquid") &#0124;&#0124; (searchterm="fat grabbers"))
{
window.location=" " + pages[searchterm] + " ";
}

else
{
window.location="http://www.karencurran.com.com/invalidsearch.html";
}

}
</SCRIPT>
_________________________
"It's better to burn out, than to fade away."