var Warenruppe; var Detail; var gefunden; function suchen(form) { var s; s = form.suchfeld.value; if (suchen_fill(s)>0) { suchepaint(); } else { alert("Leider wurde nichts gefunden!"); } } function SuchEintrag(nummer,bezeichung,wg,intern) { this.nummer = nummer; this.bezeichnung = bezeichung; this.bild = wg; this.url = intern; return this; } function suchen_fill(was) { var i,s1,s2,s3,s4; was = was.toUpperCase(); i=0; gefunden = new Array(); s1 = "0001"; s1 = s1.toUpperCase(); s2 = "Black Diamond Skye O2"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_o2.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("0001","Black Diamond Skye O2",s3,s4); i = gefunden.length; } s1 = "00012"; s1 = s1.toUpperCase(); s2 = "Black Diamond CROSSBOW"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_bd_crossbow.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("00012","Black Diamond CROSSBOW",s3,s4); i = gefunden.length; } s1 = "00013"; s1 = s1.toUpperCase(); s2 = "K2 SuperStinx"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_k2_superstinx.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("00013","K2 SuperStinx",s3,s4); i = gefunden.length; } s1 = "00014"; s1 = s1.toUpperCase(); s2 = "Black Diamond ArcAngel"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_arc_angel.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("00014","Black Diamond ArcAngel",s3,s4); i = gefunden.length; } s1 = "00015"; s1 = s1.toUpperCase(); s2 = "Black Diamond MIRA"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_mira.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("00015","Black Diamond MIRA",s3,s4); i = gefunden.length; } s1 = "0002"; s1 = s1.toUpperCase(); s2 = "Rottefella Cobra"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_cobra_blue.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("0002","Rottefella Cobra",s3,s4); i = gefunden.length; } s1 = "0003"; s1 = s1.toUpperCase(); s2 = "Black Diamond Riva Z Comp Plus"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_riva_z_comp.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("0003","Black Diamond Riva Z Comp Plus",s3,s4); i = gefunden.length; } s1 = "0004"; s1 = s1.toUpperCase(); s2 = "7 tm Auslösebindung"; s2 = s2.toUpperCase(); s3 = "grafik/7tm.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("0004","7 tm Auslösebindung",s3,s4); i = gefunden.length; } s1 = "0005"; s1 = s1.toUpperCase(); s2 = "SuperCarve Erhöhungsplatte"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("0005","SuperCarve Erhöhungsplatte",s3,s4); i = gefunden.length; } s1 = "11200"; s1 = s1.toUpperCase(); s2 = "SCARPA T1"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_t1.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("11200","SCARPA T1",s3,s4); i = gefunden.length; } s1 = "11201"; s1 = s1.toUpperCase(); s2 = "SCARPA T RACE"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_t-race.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("11201","SCARPA T RACE",s3,s4); i = gefunden.length; } s1 = "11202"; s1 = s1.toUpperCase(); s2 = "SCARPA T2"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_mt2.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("11202","SCARPA T2",s3,s4); i = gefunden.length; } s1 = "15002"; s1 = s1.toUpperCase(); s2 = "Vertige Extrem"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("15002","Vertige Extrem",s3,s4); i = gefunden.length; } s1 = "20061"; s1 = s1.toUpperCase(); s2 = "HMS Schrauber schräge Öffnung"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("20061","HMS Schrauber schräge Öffnung",s3,s4); i = gefunden.length; } s1 = "400/12-S"; s1 = s1.toUpperCase(); s2 = "HMS Schrauber"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("400/12-S","HMS Schrauber",s3,s4); i = gefunden.length; } s1 = "400/12-T"; s1 = s1.toUpperCase(); s2 = "HMS Twister"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("400/12-T","HMS Twister",s3,s4); i = gefunden.length; } s1 = "401/65"; s1 = s1.toUpperCase(); s2 = "Express-Set massive Schnapper"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("401/65","Express-Set massive Schnapper",s3,s4); i = gefunden.length; } s1 = "409/65"; s1 = s1.toUpperCase(); s2 = "Express-Set Drahtschnapper"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("409/65","Express-Set Drahtschnapper",s3,s4); i = gefunden.length; } s1 = "garenergy01"; s1 = s1.toUpperCase(); s2 = "Garmont Ener-G"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_garmont_energ.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("garenergy01","Garmont Ener-G",s3,s4); i = gefunden.length; } s1 = "gargara01"; s1 = s1.toUpperCase(); s2 = "Garmont GARA"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_garmont_gara.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("gargara01","Garmont GARA",s3,s4); i = gefunden.length; } s1 = "garsynerg01"; s1 = s1.toUpperCase(); s2 = "Garmont Syner-G"; s2 = s2.toUpperCase(); s3 = "grafik/thumb_garmont_synerg.jpg"; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("garsynerg01","Garmont Syner-G",s3,s4); i = gefunden.length; } s1 = "rocky 50"; s1 = s1.toUpperCase(); s2 = "Einfachseil LANEX Rocky 50 m"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("rocky 50","Einfachseil LANEX Rocky 50 m",s3,s4); i = gefunden.length; } s1 = "rocky 60"; s1 = s1.toUpperCase(); s2 = "Einfachseil LANEX Rocky 60 m"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("rocky 60","Einfachseil LANEX Rocky 60 m",s3,s4); i = gefunden.length; } s1 = "rocky 70"; s1 = s1.toUpperCase(); s2 = "Einfachseil LANEX Rocky 70 m"; s2 = s2.toUpperCase(); s3 = ""; if (s3!="") { s3=""; } s4 = ""; if (s1.indexOf(was)>-1 || s2.indexOf(was)>-1) { gefunden.length++; gefunden[i]= new SuchEintrag("rocky 70","Einfachseil LANEX Rocky 70 m",s3,s4); i = gefunden.length; } return i; } function suchepaint() { var menuFrame = self.frames["inhalt"]; warenFrame = menuFrame.window.document; warenFrame.open("text/html"); warenFrame.write(""); warenFrame.write("\n"); warenFrame.write("

\n"); warenFrame.write("\n"); warenFrame.write("Suchergebnis:

\n"); warenFrame.write("\n"); warenFrame.write(""); for (var i=0; i"); warenFrame.write(""); warenFrame.write(""); warenFrame.write(""); } warenFrame.write("
"); warenFrame.write(gefunden[i].url + gefunden[i].nummer+""); warenFrame.write(""); warenFrame.write(gefunden[i].url + gefunden[i].bild + gefunden[i].bezeichnung+""); warenFrame.write("
"); warenFrame.write("<\P>\n"); warenFrame.write("
"); warenFrame.write(""); warenFrame.close(); }