  function getXMLHTTPRequest() {
                    try {
                         req = new XMLHttpRequest();
                        } catch(err1) {
                            try  {
                              req= new ActiveXObject("msm12.SMLHTTP");
                              }
                           catch(err2) {
                              try {
                                 req = new ActiveXObject("Microsoft.XMLHTTP");     
                                 }
                            catch(err3) {                                                                                                   
                                 req = false;
                                 }
                            }     
                          }      
                            return req;
                       } 
                       
                  var showstuff = getXMLHTTPRequest();
                    // open httpRequest for previous stays form if checkbox is checked
                  function showtip(moyrurl,location) {
                                       
                      var locate = location;
                    //   moyrurl = 'bio.html';
                       
                       var randit = parseInt(Math.random()*99999999);

                       var addmoyrurl = moyrurl + '&locate=' + locate;

                            // open a server connection
                        showstuff.open("GET",addmoyrurl,true);
                                 // prepare for response
                        showstuff.onreadystatechange = showwhatresponse;
                                 // send the request
                        showstuff.send(null);                  
                    place = location;
                    
                   }
                   

                     // Get the response
                    function showwhatresponse() {  
  
                                                  
                      if (showstuff.readyState == 4)  {
                         if (showstuff.status == 200)  {
                                  // remove the Waiting Gif                       
                         document.getElementById(place).innerHTML = '';
                                  // parse the XML and Display the result                
                         var okshow = showstuff.responseText;
                         document.getElementById(place).innerHTML = okshow
                         } 
                    } else { 
                                 // Display nothing
                      // document.getElementById('moyr').innerHTML = '<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><img src ="./assets/images/waiting.gif>';
                       }
                }
                
                     // Get the response
                    function noshowresponse() {  
  
                                                   
                      if (showstuff.readyState == 4)  {
                         if (showstuff.status == 200)  {
                                  // remove the Waiting Gif                       
                         document.getElementById(place).innerHTML = '';
                                  // parse the XML and Display the result                
                         var okshow = showstuff.responseText;

                         document.getElementById(place).innerHTML = okshow
                         } 
                    } else { 
                                 // Display nothing
                      // document.getElementById('moyr').innerHTML = '<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><img src ="./assets/images/waiting.gif>';
                       }
                }                
                
                  function noshowtip(location,band) {
                      
                       moyrurl = '../dbase/forms/displayactsrtn.php';
                       
                       var randit = parseInt(Math.random()*99999999);

                       var addmoyrurl = moyrurl + '?band=' +  band + '&locate=' + location;
//document.write(addmoyrurl);
                            // open a server connection
                        showstuff.open("GET",addmoyrurl,true);
                                 // prepare for response
                        showstuff.onreadystatechange = noshowresponse;
                                 // send the request
                        showstuff.send(null);  
                        place = location; 
             
                    
                   }
                   
                                                   // Get the response
               

