  function StyleSelection() {
    style  = document.f_style.s_style.options[document.f_style.s_style.options.selectedIndex].value
    select = document.f_sort.select.options[document.f_sort.select.options.selectedIndex].value;
    order  = document.f_sort.order.options[document.f_sort.order.options.selectedIndex].value;
    year   = document.f_sort.year.options[document.f_sort.year.options.selectedIndex].value;
      if (style == 0) {
         window.alert('Select a style!');
      } else {
         window.location = 'tracks.cgi?style=' + style + '&select=' + select + '&order=' + order + '&year=' + year ;
      }
  }

  function details(MyID) { 
    WinWide = 650
    WinTall = 350
    PosLeft = screen.availWidth /2 - WinWide /2 
    PosTop = screen.availHeight /2 - WinTall /2 
    window.open('http://mtm2.com/~tracks/details.cgi?thistrack=' + MyID,
                'MyWin1',
                'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
  }

  function MyRev(MyID) { 
    WinWide = 400
    WinTall = 400
    PosLeft = screen.availWidth /2 - WinWide /2 
    PosTop = screen.availHeight /2 - WinTall /2 
    window.open('http://mtm2.com/~tracks/review.cgi?thistrack=' + MyID,
                'MyWin2',
                'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
  }

// called from mtm2 track page
  function MyPic(MyID) { 
    WinWide = 660
    WinTall = 500
    PosLeft = screen.availWidth /2 - WinWide /2 
    PosTop = screen.availHeight /2 - WinTall /2 
    window.open('http://mtm2.com/~tracks/trackshot.cgi?mode=pic&thistrack=' + MyID,
                'MyWin3',
                'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
  }

// called from details page
  function MyScrn(MyID) { 
    WinWide = 660
    WinTall = 500
    PosLeft = screen.availWidth /2 - WinWide /2 
    PosTop = screen.availHeight /2 - WinTall /2 
    window.open('http://mtm2.com/~tracks/trackshot.cgi?thistrack=' + MyID,
                'MyWin4',
                'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
  }










