
// break out of frames

      if (top.location != location) top.location.href = location.href; 


// image pop up

  function MyPic(MyID) { 
    WinWide = 660
    WinTall = 500
    PosLeft = (screen.availWidth /2) - (WinWide /2) ;
    PosTop = (screen.availHeight /2) - (WinTall /2) ;
    xWin = window.open('truckpic.cgi?resize=on&thistruck=' + MyID,
                       'MyWin1',
                       'scrollbars=no,resizable=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
    xWin.focus();
  }


// sort validation

      function checkLetters() {
        if (document.iName.letter.options[document.iName.letter.selectedIndex].value == "") {
          alert("Pick a letter!");
          document.iName.letter.focus();
          return false;
        }
      }
      function checkSearch() {
        if (document.iSearch.search.value == "") {
          alert("Nothing to search for!");
          document.iSearch.search.focus();
          return false;
        }
      }
      function checkChecks1() {
        if (document.iSearch.truck.checked == true || document.iSearch.maker.checked == true) 
          document.iSearch.file.checked = false ;
      }
      function checkChecks2() {
        if (document.iSearch.file.checked == true) {
          document.iSearch.truck.checked = false ;
          document.iSearch.maker.checked = false ; 
        }
      }



// EOF


