I have buttons in a navbar that I need to "toggle". Once clicked, I need the button to become inactive until the result returns.

I also need to change the cursor to be an hourglass for the duration of the that action/search.

Any help would be appreciated.

Thanks,

mhutch

(code follows)
-------------------------------------------------------------------------
Code:
<html> 
<head> 
<title>Search Form</title> 
<SCRIPT LANGUAGE="JavaScript"> 

var my_test = "0"; 

        
function Msg(msg) { 
   self.status=msg 
} 

function ResetBoth() { 
        if ((navigator.appName=="Netscape") && (navigator.appVersion.substring(0,1)=="4")) { 
                top.frameB.location="form.htm" 
        } 
        else { 
                top.frameB.ResetForm(top.frameB.document.person) 
        } 
} 

function search1(){ 
        top.frameA.location="demosearch1.htm"; 
        self.parent.frameB.location="search1body.htm"; 
        
} 

function search(my_test){ 
        my_test = "0"; 
        parent.frameB.collectinfo(my_test); 
} 

</SCRIPT> 
</head> 
<body bgcolor="ffffff"><center> 
<table cellspacing="-1" cellpadding="-1" border="0"> 
        <tr> 
           <td><img border="0" src="/pics/left_end.gif"></td> 
           <td><a href="/cgi-bin/homepick.cgi" target="_top"><img border="0" src="/pics/home.gif"></a></td> 
           <td><a href="javascript:search()"><img border="0" src="/pics/search.gif"></a></td> 
           <td><a href="javascript:ResetBoth()"><img border="0" src="/pics/reset.gif"></a></td> 
           <td><a href="javascript:search1()"><img border="0" src="/pics/search1.gif"></a></td> 
           <td><a href="cdchelp.html" target="_top"><img border="0" src="/pics/sys_help.gif"></a></td> 
           <td><img border="0" src="/pics/right_end.gif"></td> 
        </tr> 

</table></center> 
</body> 




</html>