Newsgroup: it.discussioni.ingegneria
Titolo: Ricerca in database con le DCom di Win98

Ho acquistato il CD delle pagine bianche.
Vorrei fare una ricerca nei num. di telefono avendone solo un pezzo (spesso
scrivo male i num. di telefono e poi non rieco piu' a capire di chi sono e
se sono giusti), ma il prg non lo fa: chiede l'intero numero oppure
l'identificativo della persona.
Ho provato a guardare che fa: visto che non ha un vero e proprio prg .exe
come motore di ricerca e che richiede Win98+Eplorer5.0 oppure carica ComCat
e IE5 (e se uso Opera non funziona), ne deduco che utilizza le DCom di W98
Ho beccato la zona "incriminata" ( che riporto sotto), ma poi non so come
intervenire.
Qualche aiuto?
--
Doc Hollywood
---------------------------------------------------------------------------
Non penso mai al futuro, viene cosi' presto. (A.Einstein)
---------------------------------------------------------------------------
Member of Doc Hollywood Group  
http://docholly.supereva.it
(mirrored in 
http://www.infinito.it/utenti/docholly
)
Prova la nostra nuova sezione musicale!
---------------------------------------------------------------------------
<html>
<head>
<title>Pagine Bianche</title>
<SCRIPT javascript>
<!--
function setConnRes(){
  document.CDWSearchForm.CDWPPConnRes.value="    1"
}
function disp_frame(){
 var tmpdir = "file://C:/Programmi/SEAT/PBO/TPLT_I/";
 top.frames.inferiore.location = tmpdir + "bottoni.htm";
 return 0;
}
function KeyDown(){
  var keycode = event.keyCode
  if (keycode == 13) {
    document.CDWSearchForm.cerca.focus();
    with(document.CDWSearchForm){
     if (FldTelefono.value!="") {SplitPhone(FldTelefono.value)}
    }
    var oSource = window.event.srcElement
    if ((oSource != null) && (oSource.type=='text')){
       oSource.Ric2Do = "1"
       if (CheckSearch(oSource.name)){
         CDWButton("CDWComList")
       }
    }
   return true;
  }
}
 document.onkeydown = KeyDown
 agent = navigator.userAgent
 browserVer = 2
 if (agent.indexOf("a/3",6) == -1) {browserVer = 2}
 else {browserVer = 1}
 if (agent.indexOf("a/4",6) != -1 ) {browserVer = 1}
 if (browserVer == 1) {
  bt_cog = new Image(100,22);
  bt_cog.src = "../icone/bt_1.gif";
  bt_cog_x = new Image(100,22);
  bt_cog_x.src = "../icone/bt_1_x.gif";
  bt_com = new Image(100,22);
  bt_com.src = "../icone/bt_3.gif";
  bt_com_x = new Image(100,22);
  bt_com_x.src = "../icone/bt_3_x.gif";
  bt_pro = new Image(100,22);
  bt_pro.src = "../icone/bt_4.gif";
  bt_pro_x = new Image(100,22);
  bt_pro_x.src = "../icone/bt_4_x.gif";
  bt_reg = new Image(100,22);
  bt_reg.src = "../icone/reg.gif";
  bt_reg_x = new Image(100,22);
  bt_reg_x.src = "../icone/reg_x.gif";
  bt_via = new Image(100,22);
  bt_via.src = "../icone/dizi.gif";
  bt_via_x = new Image(100,22);
  bt_via_x.src = "../icone/dizi_x.gif";
  cerca = new Image(100,22);
  cerca.src = "../icone/ric_29.gif";
  cerca_x = new Image(100,22);
  cerca_x.src = "../icone/ric_29_x.gif";
  del = new Image(100,22);
  del.src = "../icone/ric_27.gif";
  del_x = new Image(100,22);
  del_x.src = "../icone/ric_27_x.gif";
  segn = new Image(100,22);
  segn.src = "../icone/segn.gif";
  segn_x = new Image(100,22);
  segn_x.src = "../icone/segn_x.gif";
  }
function hiLite(imgDocID,imgObjName) {
 if (browserVer == 1) {
  document.images[imgDocID].src = eval(imgObjName + ".src")
  }
}
// -->
</script>
<base href="file://C:\Programmi\SEAT\PBO\ICONE\">
</head>
<body onLoad="disp_frame(); Merge(); NoFound(); SettaFocus()"
onbeforeunload="setConnRes()" background="../icone/sf_dx.gif" topmargin="0">
<form Name = "CDWSearchForm">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#004590"><p align="left"><img src="../ICONE/tito.gif"
width="101" height="20"></td>
  </tr>
</table>
<br>
<p><img name="chi" src="../ICONE/chi.gif" width="390" height="16"
border="0"></p>
 <img src="../ICONE/v_1.gif" width="219" height="11">
 <A href=javascript:CDWButton("CDWComDict~01");
onMouseOver="hiLite('bt_cog','bt_cog_x'); window.status=''; return true"
onMouseOut="hiLite('bt_cog','bt_cog'); window.status=''; return true">
 <img src="../ICONE/bt_1.gif" width="171" height="11"
 align="absbottom" border="0" name="bt_cog" alt="Apri l'indice delle Rag.
Soc./Cognomi"></a><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="64" tabindex="1" name=CDWPPFld_01
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
 LANGUAGE="JavaScript" ONBLUR="if (this.VAL2!=this.value)
{this.Ric2Do='1'}"; ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch(
this.name
)" ;
 style="background-color: rgb(200,224,251); font-family: Arial"><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="38" tabindex="2" name=CDWPPFld_02
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
 style="display:none"
 LANGUAGE="JavaScript" ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch(
this.name
)" ; ONBLUR="if (this.VAL2!=this.value)
{this.Ric2Do='1'}">
<img src="../ICONE/v_1.gif" width="219" height="11">
<img src="../ICONE/bt_2.gif" width="171" height="11"
 align="absbottom" border="0"><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="64" tabindex="3" name=FldTelefono
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
 style="background-color: rgb(200,224,251); font-family: Arial"
 LANGUAGE="JavaScript" ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch('FldTelefono')"; ONBLUR="SplitPhone(this.value); if
(this.VAL2!=this.value) {this.Ric2Do='1'}">
<br>
<br>
<p><img name="dove" src="../ICONE/dove.gif" width="390" height="16"
border="0"></p>
 <img src="../ICONE/v_1.gif" width="219" height="11">
 <A href=javascript:CDWButton("CDWComDict~10");
onMouseOver="hiLite('bt_com','bt_com_x'); window.status=''; return true"
onMouseOut="hiLite('bt_com','bt_com'); window.status=''; return true">
  <img src="../ICONE/bt_3.gif" width="171" height="11" align="absbottom"
border="0" name="bt_com" alt="Apri l'indice dei Comuni"></a><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="64" tabindex="4" name=CDWPPFld_10
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
 style="background-color: rgb(231,231,231); font-family: Arial"
 LANGUAGE="JavaScript" ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch(
this.name
)" ; ONBLUR="if (this.VAL2!=this.value)
{this.Ric2Do='1'}"><br>
 <img src="../ICONE/v_1.gif" width="219" height="11">
 <A href=javascript:CDWButton("CDWComDict~09");
onMouseOver="hiLite('bt_pro','bt_pro_x'); window.status=''; return true"
onMouseOut="hiLite('bt_pro','bt_pro'); window.status=''; return true">
  <img src="../ICONE/bt_4.gif" width="171" height="11" align="absbottom"
border="0" name="bt_pro" alt="Apri l'indice delle Province"></a><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="64" tabindex="5" name=CDWPPFld_09
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
 style="background-color: rgb(231,231,231); font-family: Arial"
 LANGUAGE="JavaScript" ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch(
this.name
)" ; ONBLUR="if (this.VAL2!=this.value)
{this.Ric2Do='1'}">
<br>
 <img src="../ICONE/v_1.gif" width="219" height="11">
        <A href=javascript:CDWButton("CDWComDict~19");
onMouseOver="hiLite('bt_reg','bt_reg_x'); window.status=''; return true"
onMouseOut="hiLite('bt_reg','bt_reg'); window.status=''; return true">
                <img src="../ICONE/reg.gif" width="171" height="11"
align="absbottom" border="0" name="bt_reg" alt="Apri l'indice delle
Regioni"></a><br>
<input TYPE="text" VAL2="" Ric2Do="" SIZE="64" tabindex="6" name=CDWPPFld_19
value="" onChange="javascript:this.value=StrGood(
this.name
,this.value)"
        style="background-color: rgb(231,231,231); font-family: Arial"
        LANGUAGE="JavaScript" ONFOCUS="this.Ric2Do=''; this.VAL2=this.value;
CheckSearch(
this.name
)" ; ONBLUR="if (this.VAL2!=this.value)
{this.Ric2Do='1'}">
<br>
<br>
<table border="0" width="400" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%">
<br><img src="../ICONE/v_1.gif" width="219" height="11">
<A href=javascript:CDWButton("CDWComList"); onClick=CheckSearch(
this.name
);
onMouseOver="hiLite('cerca','cerca_x'); window.status=''; return true"
onMouseOut="hiLite('cerca','cerca'); window.status=''; return true">
 <img name="cerca" src="../ICONE/ric_29.gif" width="96" height="24"
border="0" alt="Avvia la ricerca"></a><br>
 <img src="../ICONE/v_1.gif" width="219" height="11">
<A href=javascript:CDWButton("CDWComDelete");
onMouseOver="hiLite('del','del_x'); window.status=''; return true"
onMouseOut="hiLite('del','del'); window.status=''; return true">
 <img name="del" src="../ICONE/ric_27.gif" width="171" height="11"
border="0" alt="Cancella il contenuto dei campi"></a>
</td>
  </tr>
</table>
<br>
<br>
<input TYPE="text" SIZE="26" name=CDWPPFld_11 value=""
onChange="javascript:this.value=StrGood(
this.name
,this.value)"
STYLE="display:none"> <!-- da eliminare -->
<input TYPE="text" SIZE="26" name=CDWPPFld_13 value=""
onChange="javascript:this.value=StrGood(
this.name
,this.value)"
STYLE="display:none">
<input TYPE="text" SIZE="5"  name=CDWPPConnRes value="    0"
STYLE="display:none">
<input TYPE="text" SIZE="5"  name=CDWNoFoundFldLbl value="0"
STYLE="display:none">
<input TYPE="text" SIZE="10" name="CDWCallerFld" value=""
STYLE="display:none">
</form>
<SCRIPT LANGUAGE="JavaScript">
// Script by Enrico DeLodovici
// Reggiani SpA Varese
function SettaFocus(){
 with(document.CDWSearchForm){
  if  ((CDWCallerFld.value=="CDWPPFld_01") ||
       (CDWCallerFld.value=="FldTelefono") ||
       (CDWCallerFld.value=="CDWPPFld_10") ||
       (CDWCallerFld.value=="CDWPPFld_09") ||
       (CDWCallerFld.value=="CDWPPFld_19")) {
     eval(CDWCallerFld.value).focus()
     }
  else
     CDWPPFld_01.focus()
 }
}
function CheckSearch(CallerFld){
  var bGoOn = false
  with(document.CDWSearchForm){
    if (CDWPPFld_01.Ric2Do == "1") {bGoOn =
SearchFld(CallerFld,'CDWPPFld_01')}
    if ((!bGoOn) && (CDWPPFld_02.Ric2Do == "1")) {bGoOn =
SearchFld(CallerFld,'CDWPPFld_02')}
    if ((!bGoOn) && (FldTelefono.Ric2Do == "1")) {bGoOn =
SearchFld(CallerFld,'CDWPPFld_13')}
    if ((!bGoOn) && (CDWPPFld_10.Ric2Do == "1")) {bGoOn =
SearchFld(CallerFld,'CDWPPFld_10')}
    if ((!bGoOn) && (CDWPPFld_09.Ric2Do == "1")) {bGoOn =
SearchFld(CallerFld,'CDWPPFld_09')}
  }
  return (parseInt(CDWSearchForm.CDWPPConnRes.value) != 0);
}
function SetSearch(){
  with(document.CDWSearchForm){
    if ((CDWPPFld_01.value != "") && (CDWPPFld_01.value !=
CDWPPFld_01.VAL2)) (CDWPPFld_01.Ric2Do = "1")
    if ((CDWPPFld_02.value != "") && (CDWPPFld_02.value !=
CDWPPFld_02.VAL2)) (CDWPPFld_02.Ric2Do = "1")
    if ((FldTelefono.value != "") && (FldTelefono.value !=
FldTelefono.VAL2)) (FldTelefono.Ric2Do = "1")
    if ((CDWPPFld_10.value != "") && (CDWPPFld_10.value !=
CDWPPFld_10.VAL2)) (CDWPPFld_10.Ric2Do = "1")
    if ((CDWPPFld_09.value != "") && (CDWPPFld_09.value !=
CDWPPFld_09.VAL2)) (CDWPPFld_09.Ric2Do = "1")
  }
}
function SearchFld(CallerFld,Fld){
 var StrTemp=""
 var Llabel=2
 with(document.CDWSearchForm){
  if (eval(Fld).value != "") {
   StrTemp = "CDWOper=IRE_Or~"
   for (i=0;i<elements.length;i++)
if(elements[i].name.substring(0,elements[i].name.length-Llabel)=="CDWPPFld_"
)
      StrTemp = StrTemp + elements[i].name + "="  + elements[i].value + "~"
   StrTemp = StrTemp + "CDWCallerFld=" + CallerFld +"~"
   WWWCDH.Parametri = StrTemp
   WWWCDH.Comando = "CDWComSearch"
   WWWCDH.Execute()
   var sResult = WWWCDH.TestSearch;
   var aResult
   aResult = sResult.split(",");
   i = aResult[0].indexOf("=");
   CDWSearchForm.CDWPPConnRes.value = aResult[0].slice(++i);
   i = aResult[1].indexOf("=");
   CDWSearchForm.CDWNoFoundFldLbl.value = aResult[1].slice(++i);
   i = aResult[2].indexOf("=");
   CDWSearchForm.CDWCallerFld.value = aResult[2].slice(++i);
   disp_frame();
   Merge();
   NoFound();
   return (CDWSearchForm.CDWCallerFld.value != 0)
  } else return true
 }
}
function NoFound(){
var tmpstr=""
with(document.CDWSearchForm){
file://alert(CDWNoFoundFldLbl.value)
 if ((CDWPPFld_01.value!="") ||
     (CDWPPFld_02.value!="") ||
     (CDWPPFld_10.value!="") ||
     (CDWPPFld_09.value!="") ||
     (FldTelefono.value!="")){
          if (CDWPPConnRes.value==0){
              if (CDWNoFoundFldLbl.value!=0){
                switch (CDWNoFoundFldLbl.value){
                 case "1":
                   tmpstr = "'Ragione sociale / Cognome'";
                   if (confirm("Nessuna occorrenza trovata sul campo " +
tmpstr + ". Premere OK e selezionare dall'indice un termine oppure premere
ANNULLA per continuare."))
                      CDWButton("CDWComDict~"+CDWNoFoundFldLbl.value)
                   break;
                 case "2":
                   alert("Nessuna occorrenza trovata sul campo 'Nome'.")
                   break;
                 case "13":
                   alert("Nessuna occorrenza trovata sul campo 'Telefono'.")
                   break;
                 case "10":
                   tmpstr = "'Comune'";
                   if (confirm("Nessuna occorrenza trovata sul campo " +
tmpstr + ". Premere OK e selezionare dall'indice un termine oppure premere
ANNULLA per continuare."))
                      CDWButton("CDWComDict~"+CDWNoFoundFldLbl.value)
                   break;
                 case "9":
                   tmpstr = "'Provincia'";
                   if (confirm("Nessuna occorrenza trovata sul campo " +
tmpstr + ". Premere OK e selezionare dall'indice un termine oppure premere
ANNULLA per continuare."))
                      CDWButton("CDWComDict~"+CDWNoFoundFldLbl.value)
                   break;
                 case "19":
                   tmpstr = "'Regione'";
                   if (confirm("Nessuna occorrenza trovata sul campo " +
tmpstr + ". Premere OK e selezionare dall'indice un termine oppure premere
ANNULLA per continuare."))
                      CDWButton("CDWComDict~"+CDWNoFoundFldLbl.value)
                   break;
                }
               }
              else
               alert("Nessun abbonato trovato")
              return false
              }
     }
  }
}
function SplitPhone(Telefono){
  if (Telefono=="") {
    with(document.CDWSearchForm){
      CDWPPFld_11.value=""
      CDWPPFld_13.value=""
    }
    return false
  } else {
    with(document.CDWSearchForm){
      CDWPPFld_11.value=""
      CDWPPFld_13.value=Telefono
    }
    return true
  }
}
function Merge(){
  with(document.CDWSearchForm){
   FldTelefono.value=CDWPPFld_13.value
  }
  return true;
}
function StrGood(Nome,Valore){
var res;
var posit;
if (Valore.length != 0){
 for (var iCnt=0; iCnt<Valore.length; iCnt++){
   if (Valore.charAt(iCnt) != " ") break;
 }
 var iIni = iCnt;
 for (var iCnt=Valore.length; iCnt>=0; iCnt--){
   if (Valore.charAt(iCnt) != " ") break;
 }
 var iFin = iCnt;
 Valore = Valore.slice(iIni,iFin)
}
res=Valore;
if (Nome=="FldTelefono"){
  posit = Valore.indexOf(".")
  while(posit>=0){
    Valore=Valore.substr(0,posit)+Valore.substr(posit+1)
    posit = Valore.indexOf(".")
  }
  posit = Valore.indexOf(",")
  while(posit>=0){
    Valore=Valore.substr(0,posit)+Valore.substr(posit+1)
    posit = Valore.indexOf(",")
  }
  posit = Valore.indexOf("/")
  while(posit>=0){
    Valore=Valore.substr(0,posit)+Valore.substr(posit+1)
    posit = Valore.indexOf("/")
  }
  posit = Valore.indexOf("-")
  while(posit>=0){
    Valore=Valore.substr(0,posit)+Valore.substr(posit+1)
    posit = Valore.indexOf("/")
  }
  posit = Valore.indexOf(" ")
  while(posit>=0){
    Valore=Valore.substr(0,posit)+Valore.substr(posit+1)
    posit = Valore.indexOf(" ")
  }
  res = Valore
  if (isNaN(res))
   alert("Nel campo numero telefonico possono essere inseriti solo valori
numerici");
   file://res = ""
 }
 return res;
}
function CheckMask(Comando){
 var res = true
 if (Comando!="CDWComList") {return true;}
 with(document.CDWSearchForm){
  // Vincolo mask
  if ((CDWPPFld_01.value=="") & (CDWPPFld_10.value=="") &
(CDWPPFld_09.value=="") &
      (CDWPPFld_19.value=="") & (CDWPPFld_13.value=="")){
   alert("ATTENZIONE la maschera di ricerca e' vuota.")
   res = false;
  }
  // Vincolo nome / telefono
  if ((CDWPPFld_01.value=="") & (CDWPPFld_13.value=="")){
   alert("ATTENZIONE inserire la Ragione sociale e/o il numero telefonico")
   res = false;
  }
 }
 return res;
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function
Button(CDWCommand){ 
WWWCDH.stato = "1-inizio"
var StrTemp=""
var Llabel=2
var Oper
with(document.CDWSearchForm){
if (CDWCommand!="CDWComAnn") {
// fa il check della maschera
 if (!(CheckMask(CDWCommand)))  return;
// determina il tipo di operatore per la connessione AND, OR
 StrTemp = "CDWOper=IRE_And~" 
file://concatena tutti i campi della form CDWSearchForm con nome CDWFld_xx
for (i=0;i<elements.length;i++){
if(elements[i].name.substring(0,elements[i].name.length-Llabel)=="CDWPPFld_"){
   if ((i == 0) && (CDWCommand == "CDWComDict~01") && (elements[0].value == "")){
    StrTemp = StrTemp + elements[i].name + "=aafrombeginaa~"
   }else {
    StrTemp = StrTemp + elements[i].name + "="  + elements[i].value + "~"}
   }
  if(elements[i].name.substring(0,elements[i].name.length-Llabel)=="IREOp"){
    if(elements[i].checked){
      StrTemp = StrTemp + elements[i].name + "="  + elements[i].value + "~"}
    }
    if(elements[i].name.substring(0,elements[i].name.length-Llabel)=="IREOpV"){
      if(elements[i].checked){
        StrTemp = StrTemp + elements[i].name + "="  + elements[i].value + "~"}
      }
      if(elements[i].name=="file_save"){
        StrTemp = StrTemp + elements[i].name + "="  + elements[i].value + "~"}
        if(elements[i].name=="Select"){
          if(elements[i].selectedIndex>=0){
            StrTemp = StrTemp + elements[i].name + "="  + elements[i].options[elements[i].selectedIndex].text + "~"
          }
        }
      }
      WWWCDH.Parametri = StrTemp
      WWWCDH.Comando =CDWCommand
      WWWCDH.Execute()
      location = WWWCDH.html + "#aBk1"
    }
  }
}
funct
ion CDWRef(CDWCommand){
var StrTemp=""
var pcanc=0
  StrTemp=self.location.href
  pcanc=StrTemp.indexOf("%23", 0)
  if (pcanc>0) {
    StrTemp=StrTemp.substring(0,pcanc-2)
  } else {
    pcanc=StrTemp.indexOf("#", 0)
    if (pcanc>0) {
      StrTemp=StrTemp.substring(0,pcanc)
    }
  }
  self.location.href=StrTemp+"#"+CDWCommand
}
function CDWCallFind(CDWCommand){
var StrTemp=""
var Llabel=2
with(document.CDWSearchForm){
 WWWCDH.comando=CDWCommand
 WWWCDH.Parametri = CDWDictFind.value + "~" + CDWDictSelected.value
 WWWCDH.Execute()
 location = WWWCDH.html
}
}
</SCRIPT>
<OBJECT style="{visibility:hidden}"
classid="clsid:700BA683-CF63-11D3-ADA2-0050040D27BC" id=WWWCDH
codebase="wwwcdh.CAB#version=1,0,0,0">
<param NAME="Stato" VALUE="1-inizio">
<param NAME="xFile" VALUE="traccia">
<param NAME="ActxId" VALUE="clsid:700BA683-CF63-11D3-ADA2-0050040D27BC">
</OBJECT>
<script language="javascript">
WWWCDH.Stato="1-inizio"
WWWCDH.xFile="traccia"
WWWCDH.ActxId="clsid:700BA683-CF63-11D3-ADA2-0050040D27BC"
</script>
</body>
</html>

 Qualche aiuto?
Alla fine hai riportato del codice HTML unito a codice Javascript, e
pure troppo... pertanto ti suggerisco di postare la tua domanda su 
it.comp.lang.javascript riportando unicamente il testo delle funzioni :
- CheckSearch
- SetSearch
- SearchFld
evitando di mandare cosi' un messaggio di circa 600 righe...
Altrimenti potresti sempre inviare un email a :
- Casella ..........: 
in...@reggiani.it
- All'attenzione di : Enrico De Lodovici
visto che tale persona dovrebbe aver scritto le funzioni sopra citate.
-- 
|Ż \/Ż | /Ż\ /Ż__/Ż__|-<|> 
http://planynet.hypermart.net
 ŻŻŻŻŻ<|
|Ż|\/|Ż|/Ż_Ż\|(__\__ \-<|> 
http://pub44.ezboard.com/bplanynet
 <|
|_|  |_/_/ \_\___|___/-<|> NEWS: free.it.tlc.provider.fastweb <| 
|>Togli/Remove .INVALID<|>_____ engineering && computers _____<|

 Qualche aiuto?
Alla fine hai riportato del codice HTML unito a codice Javascript, e
pure troppo... pertanto ti suggerisco di postare la tua domanda su 
it.comp.lang.javascript riportando unicamente il testo delle funzioni :
- CheckSearch
- SetSearch
- SearchFld
evitando di mandare cosi' un messaggio di circa 600 righe...
Altrimenti potresti sempre inviare un messaggio email a :


 evitando di mandare cosi' un messaggio di circa 600 righe...
Scusa per l'ingombro del msg (non te ne accorgi con il copia/incolla) e
grazie per l'info.
