//all of the windows can be open at once.

function openIt(whichTruck) {
  
whichPage = whichTruck+ "/index.html"; 

 //for more advanced browsers
 //position the pop up window centered, near the top of the screen
  if(navigator.appVersion.indexOf('3.') < 0){

     //set general variables
    var scrWidth = screen.width;
    var flashWinWidth = 720; 

    //calculates the positioning variables
    var theX = ((scrWidth/2)-(flashWinWidth/2));
          
    //open window
    flashWindow = window.open(whichPage,"popWin","toolbar=0,screenX="+theX+",screenY=150,top=150,left="+theX+",location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=735,height=310");
  }

//older browsers get regular, un-positioned window
  else {
    flashWindow = window.open(whichPage,"popWin", 'history=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=no,width=735,height=310');
  }
}