oscommerce search box remain on focus help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I am using oscommerce.com for a shopping cart program.

I tried many contribs on oscommerce's site and googled. I got focus to
the search box via this script below but when i go to a product it does
not remain on focus. or when i search for a product that does not exist
it does not go on focus. How can this be done? I am out of ideas thanks
my site is www.philcos.com


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function placeFocus() {
if (document.forms.length > 0) {
var field = document.forms[0];
for (i = 0; i < field.length; i++) {
if ((field.elements[i].type == "text") || (field.elements[i].type ==
"textarea") || (field.elements[i].type.toString().charAt(0) == "s")) {

//  End -->


email me off list if you can at skalcev...@NOSPAMgmail.com remove
nospam thanks

Site Timeline