      <!--
      var scrollCounter = 0;
      var scrollText    = "";
      var scrollDelay   = 70;
      var i = 0;
  
      while (i ++ < 140)
        scrollText = " " + scrollText;

      //Scroll a message across the bottom of the browser
      function Scroller(){
        //This function is to dispay some scolling text in the status bar of the browser
        
        window.status = scrollText.substring(scrollCounter++, scrollText.length);
        if (scrollCounter == scrollText.length)
          scrollCounter = 0;

        setTimeout("Scroller()", scrollDelay);
      }
  
      Scroller();



      //Funcion to sort the array by the chosen column
      function sortByValue(sortedValue){
        var userForm = document.forms.recordsPage;

        userForm.OrderBy.value = sortedValue;
        userForm.submit();
      }
      
      function nextPage(){
        //This function allows the user to scroll to the next page of search results
        
        var userForm = document.forms.recordsPage;

        userForm.StartRecord.value = parseInt(userForm.StartRecord.value) + parseInt(userForm.RecordsPerPage.value);

	if(userForm.EndRecord.value + userForm.RecordsPerPage.value > userForm.TotalRecords.value)
          userForm.EndRecord.value = parseInt(userForm.TotalRecords.value);
	else
          userForm.EndRecord.value = parseInt(userForm.EndRecord.value) + parseInt(userForm.RecordsPerPage.value);

        userForm.submit();
      }
      function previousPage(){
        //This function allows the user to scroll to the previous page of search results
        var userForm = document.forms.recordsPage;

        if(userForm.StartRecord.value - userForm.RecordsPerPage.value < 0)
          userForm.StartRecord.value = 1;
        else
          userForm.StartRecord.value = parseInt(userForm.StartRecord.value) - parseInt(userForm.RecordsPerPage.value);

        userForm.EndRecord.value = parseInt(userForm.EndRecord.value) - parseInt(userForm.RecordsPerPage.value);

        userForm.submit();
      }
      
      function showCar(vendor, orderID){
        //This function will open up the window pointing to the Vendors unique product ID
        //so that the user can go to the Vendors actual web site and display the chosen car
        
        window.open("/commonfiles/showCar.asp?Vendor=" + vendor + "&orderID=" + orderID, "", "width=650,height=530,resizeable=yes");
      }
      
      function openVendorWindow(URL){
        //This function opens a new window which displays the list of Insurers
        window.open(URL, '', 'width=650,height=480,scrollbars=yes');
      }


      //Function to set the search criteria in the search results page to that which was 
      //originally selected, so that the user does not have to re-enter the search criteria
      function setSearchCriteria(make, regYear, county, mileage, newCars, usedCars){
        //Set the value of each of the select options to be the values passed through
        //Make of car

        var options
        var searchForm = document.forms['searchForm'];
        
        options = searchForm.make;
        for(i=0; i<options.length; i++){
          if(options.options[i].value == make){
            options.selectedIndex = i;
            i = options.length;
          }
        }
        //Registration Year
        options = searchForm.regYear;
        for(i=0; i<options.length; i++){
          if(options.options[i].value == regYear){
            options.selectedIndex = i;
            i = options.length;
          }
        }
        //County
        options = searchForm.county;
        for(i=0; i<options.length; i++){
          if(options.options[i].value == county){
            options.selectedIndex = i;
            i = options.length;
          }
        }
        //Mileage
        options = searchForm.mileage;
        for(i=0; i<options.length; i++){
          if(options.options[i].value == mileage){
            options.selectedIndex = i;
            i = options.length;
          }
        }
        //new cars
        if(newCars == 'on')
          searchForm.newCars.checked = true;
        //used cars
        if(usedCars == 'on')
          searchForm.usedCars.checked = true;
      }


      //-->
