// -------------- Trackshot zip dl --------------

function dL(FileNum) {
          window.location = 'http://mtm2.com/~tracks/dl.cgi?dl=' + FileNum ;
         } 


// -------------- Fastlaps Window --------------

     function fl(ThisPage) { 
         WinWide = 750
         WinTall = 400
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin1 = window.open('fl.htm?fl' + ThisPage,
         'MyWin1',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin1.focus();
     }


// -------------- Truckshot zip dl --------------

function dL2(FileNum) {
          window.location = 'http://mtm2.com/~trucks/dl.cgi?dl=' + FileNum ;
         } 


// -------------- Trackshot (rhino) Window --------------

    function trak(ThisPic) { 
         WinWide = 660
         WinTall = 500
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin2 = window.open('trackpop.html?name=' + ThisPic,
         'MyWin2',
         'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin2.focus();
     }


// -------------- Truck (rhino) Window --------------

    function truk(ThisPic) { 
         WinWide = 340
         WinTall = 260
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin3 = window.open('truckpop.html?name=' + ThisPic,
         'MyWin3',
         'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin3.focus();
     }


// -------------- Truck (rhino 660x260) Window --------------

    function truk1(ThisPic) { 
         WinWide = 660
         WinTall = 260
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin4 = window.open('truckpop.html?name=' + ThisPic,
         'MyWin4',
         'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin4.focus();
     }


// -------------- Truck (rhino 360x260 scroll) Window --------------

    function truk2(ThisPic) { 
         WinWide = 400
         WinTall = 300
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin5 = window.open('truckpop.html?name=' + ThisPic,
         'MyWin5',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin5.focus();
     }


// -------------- Truck (rhino 660x500) Window --------------

    function truk3(ThisPic) { 
         WinWide = 670
         WinTall = 500
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin6 = window.open('truckpop.html?name=' + ThisPic,
         'MyWin6',
         'scrollbars=no,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin6.focus();
     }

      
// -------------- Truck (info) Window --------------

    function truckinfo(ThisPage) { 
         WinWide = 650
         WinTall = 300
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin7 = window.open('info/' + ThisPage,
         'MyWin7',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin7.focus();
     }


// -------------- Track Details Window --------------

     function winAZ(ThisPage) { 
         WinWide = 750
         WinTall = 300
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin8 = window.open('info/' + ThisPage,
         'MyWin8',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin8.focus();
     }


// -------------- Reviews Window --------------

     function winRV(ThisPage) { 
         WinWide = 450
         WinTall = 350
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         xWin9 = window.open('reviews/' + ThisPage,
         'MyWin9',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         xWin9.focus();
     }





// -------------- Various Size and Purpose Windows --------------

     function winNo() { 
         WinWide = 650
         WinTall = 300
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgA = window.open('info/NoTruckName.htm',
         'MyWinA',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgA.focus();
     }

     function win01() { 
         WinWide = 400
         WinTall = 400
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgB = window.open('UpdatesTrack.htm',
         'MyWinB',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgB.focus();
     }

     function win02() { 
         WinWide = 250
         WinTall = 400
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgC = window.open('authors.htm',
         'MyWinC',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgC.focus();
     }

     function win03() { 
         WinWide = 400
         WinTall = 300
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgD = window.open('UpdatesTruck.htm',
         'MyWinD',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgD.focus();
     }

     function win1() { 
         WinWide = 650
         WinTall = 400
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgE = window.open('info/description.html',
         'MyWinE',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgE.focus();
     }

     function win2() { 
         WinWide = 340
         WinTall = 360
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgF = window.open('info/NascarPack.htm',
         'MyWinF',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgF.focus();
     }

     function win3() { 
         WinWide = 340
         WinTall = 360
         PosLeft = screen.availWidth /2 - WinWide /2
         PosTop = screen.availHeight /2 - WinTall /2
         msgG = window.open('info/stppack.htm',
         'MyWinG',
         'scrollbars=yes,left=' + PosLeft + ',top=' + PosTop + ',width=' + WinWide + ',height=' + WinTall);
         msgG.focus();
     }






