Hi there all ! Im hoping that someone out there can help me with this! i have a script that i found a while back that searches my site and pulls up items that people are looking for , works great on my site... its just that i am trying to implement it on another site which needs it alittle different this script does the following: enter keyword, it displays the choices that come up on another part of the page which then the user needs to click AGAIN to display the results in a framed area on the same page! i want to by pass the choosing of the item , i want to display the results on the first select choice, instead of displaying all the items that the user has a choice of seeing. you can check it out if you do not understand here http://www.busybeeretail.com this is were i want it to work like this , but now i need to change it and i do not no where to change it so that the results come up right away in the display box instead of another select box, there is two script html files that do the work here they are : <SCRIPT LANGUAGE="JavaScript"> function doSrch(){ parent.test="b"; parent.results.location.href="site-search-display.html" } </SCRIPT> <BODY> <CENTER> <FORM NAME="searcher" onSubmit="doSrch();return false"> <TABLE BORDER=0 WIDTH=400> <TR> <INPUT TYPE="text" NAME="findword" VALUE="" SIZE=10> <INPUT TYPE="button" NAME="button" VALUE=" Search " onClick="doSrch();"></TD> </TR> </TABLE> </FORM> HTML: and the display : <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function initArray(){ this.length=initArray.arguments.length; for (var i=0;i<this.length;i++){ this[i]=initArray.arguments[i]; } } var sr=new initArray("4b","5b","8b","8b"); function doSrch(){ if (sr[0]=="4b"){ parStr(); } findw = parent.main.document.searcher.findword.value findw=findw.toLowerCase(); disp = ""; document.write('<HTML><BODY BGCOLOR="white">' +'<FORM NAME="isn"> ' +'<SE' +'LECT NAME="isn1" SIZE=1>'); flg=2; // Set flag to "no matches found" for (i=0;i<stp;i++){ fold=sr[i].toLowerCase(); if (fold.indexOf(findw)>-1){ pos=sr[i].indexOf("~"); pos1=sr[i].indexOf("|"); disp="<OPTION VALUE='"+sr[i].substring(0,pos); if (flg!=3){ // disp+='<SELECT NAME="isn1" SIZE=1>'+disp; disp+="' onClick='' SELECTED>"; } else{ disp+="' onClick=''>"; } disp+=sr[i].substring(pos+1,pos1); document.write(disp); flg=3; // Set flag to "matches found" } } if (flg!=2){ document.write('</SELECT>' +'<INPUT TYPE="button" NAME="button" Value' +'=" Show me my Item " onClick="doloc(this.fo' +'rm)">'); } document.write('<FONT COLOR="red"><B>'); if (flg!=3){ document.write('</TD><TD VALIGN=CENTER><FONT ' +'COLOR="red"><B><BR>No Item Found' +' ' +' '); } document.write('</B></FONT></TD></TR></TABLE>' +'</FORM></BODY></HTML><P>'); } function parStr() { srs=parent.find; var i=0; while (srs.indexOf("*")>0) { pos=srs.indexOf("*"); sr[i]=srs.substring(0,pos); srs=srs.substring(pos+1,srs.length); i++; stp=i; } } function doloc() { durl=(document.isn.isn1.options[document.isn.isn1.selectedIndex].value); /* This next line will target the selection to the main pane of your frameset. */ window.open(durl,'results'); /* But if you wish to target the selection to the top (just as you would use <A HREF="filenm" TARGET="_top">) simply uncomment this next line and use it instead: parent.main.location.href=durl; parent.location.href=durl; parent.location.href=durl; and comment out the line now being used above. */ } // End --> </SCRIPT> <BODY BGCOLOR=white> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin if (parent.test != "a") { doSrch(); } // End --> </SCRIPT> HTML: any help would be appreciated !! Thanks, Elaine