// Set up the image files to be used.
var numAds3 = 15;
var webAds3 = new Array(numAds3);
var webAds3Dir = 'http://www.fbmbmx.com/imgs/webAds/052011/';

for (k = 0; k < numAds3; k++){ webAds3[k] = new Array(6)};

webAds3[0][0] = 'ad1.jpg';
webAds3[0][1] = 371;
webAds3[0][2] = 246;
webAds3[0][3] = '/products/frames/steadfast.php';
webAds3[0][4] = 'Steadfast Frame';
webAds3[0][5] = '_self';

webAds3[1][0] = 'ad2.jpg';
webAds3[1][1] = 371;
webAds3[1][2] = 246;
webAds3[1][3] = '/products/components/doubleFisterGrips.php';
webAds3[1][4] = 'Double Fister Grips';
webAds3[1][5] = '_self';

webAds3[2][0] = 'ad3.jpg';
webAds3[2][1] = 371;
webAds3[2][2] = 246;
webAds3[2][3] = '/products/components/crownRoyal2TopLoadStem.php';
webAds3[2][4] = 'Crown Royal 2 Top Load Stem';
webAds3[2][5] = '_self';

webAds3[3][0] = 'ad4.jpg';
webAds3[3][1] = 371;
webAds3[3][2] = 246;
webAds3[3][3] = '/products/components/6PackSprocket.php';
webAds3[3][4] = 'Sixer Sprocket';
webAds3[3][5] = '_self';

webAds3[4][0] = 'ad15.jpg';
webAds3[4][1] = 371;
webAds3[4][2] = 246;
webAds3[4][3] = '/products/components/tallboys-bars.php';
webAds3[4][4] = 'Tallboys Bars';
webAds3[4][5] = '_self';

webAds3[5][0] = 'ad10.jpg';
webAds3[5][1] = 371;
webAds3[5][2] = 246;
webAds3[5][3] = '/products/components/doubleFisterGrips.php';
webAds3[5][4] = 'Double Fister Grips';
webAds3[5][5] = '_self';

webAds3[6][0] = 'ad11.jpg';
webAds3[6][1] = 371;
webAds3[6][2] = 246;
webAds3[6][3] = '/products/components/crownRoyal2TopLoadStem.php';
webAds3[6][4] = 'Crown Royal 2 Top Load Stem';
webAds3[6][5] = '_self';

webAds3[7][0] = 'ad12.jpg';
webAds3[7][1] = 371;
webAds3[7][2] = 246;
webAds3[7][3] = '/products/components/6PackSprocket.php';
webAds3[7][4] = 'Sixer Sprocket';
webAds3[7][5] = '_self';

webAds3[8][0] = 'ad16.jpg';
webAds3[8][1] = 371;
webAds3[8][2] = 246;
webAds3[8][3] = '/products/components/fbmSlimPivotalSeat.php';
webAds3[8][4] = 'FatBaldMen Slim Piotal Seat';
webAds3[8][5] = '_self';

webAds3[9][0] = 'ad17.jpg';
webAds3[9][1] = 371;
webAds3[9][2] = 246;
webAds3[9][3] = '/products/components/cr2stem.php';
webAds3[9][4] = 'Crown Royal 2 Stem';
webAds3[9][5] = '_self';

webAds3[10][0] = 'ad5.jpg';
webAds3[10][1] = 371;
webAds3[10][2] = 246;
webAds3[10][3] = '/products/components/heart-seat.php';
webAds3[10][4] = 'Heart Seat';
webAds3[10][5] = '_self';

webAds3[11][0] = 'ad7.jpg';
webAds3[11][1] = 371;
webAds3[11][2] = 246;
webAds3[11][3] = '/products/components/headbangers-bars.php';
webAds3[11][4] = 'Headbangers Bars';
webAds3[11][5] = '_self';

webAds3[12][0] = 'ad8.jpg';
webAds3[12][1] = 371;
webAds3[12][2] = 246;
webAds3[12][3] = '/products/components/tallboys-bars.php';
webAds3[12][4] = 'Tallboys Bars';
webAds3[12][5] = '_self';


webAds3[13][0] = 'ad13.jpg';
webAds3[13][1] = 371;
webAds3[13][2] = 246;
webAds3[13][3] = '/products/components/heart-seat.php';
webAds3[13][4] = 'Heart Seat';
webAds3[13][5] = '_self';

webAds3[14][0] = 'ad14.jpg';
webAds3[14][1] = 371;
webAds3[14][2] = 246;
webAds3[14][3] = '/products/components/headbangers-bars.php';
webAds3[14][4] = 'Headbangers Bars';
webAds3[14][5] = '_self';



// do not edit anything below this line

var jj3 = 0;
var pp3 = numAds3;
var webAdsPreBuffer3 = new Array()
for (ii3 = 0; ii3 < pp3; ii3++){
   webAdsPreBuffer3[ii3] = new Image()
   webAdsPreBuffer3[ii3].src = webAds3Dir+webAds3[ii3][0]
}
var whichWebAd3 = Math.round(Math.random()*(pp3-1));
function showWebAd3(){
document.write('<a href="'+webAds3[whichWebAd3][3]+'" target="'+webAds3[whichWebAd3][5]+'"><img src="'+webAds3Dir+webAds3[whichWebAd3][0]+'" width="'+webAds3[whichWebAd3][1]+'" height="'+webAds3[whichWebAd3][2]+'" alt="'+webAds3[whichWebAd3][4]+'" border="0"></a>');
}

//  End -->

<!-- Begin SHOW NEW TEAM RIDER ADS on index.php ***************************************************
// Set up the image files to be used.
var numAds = 6;
var webAds2 = new Array(numAds);
var webAdsDir = 'http://www.fbmbmx.com/imgs/webAds/';

for (k = 0; k < numAds; k++){ webAds2[k] = new Array(6)};

webAds2[0][0] = 'adam-guilliams-371.jpg';
webAds2[0][1] = 371;
webAds2[0][2] = 247;
webAds2[0][3] = '/team/adam-guilliams.php';
webAds2[0][4] = 'Adam Guilliams';
webAds2[0][5] = '_self';

webAds2[1][0] = 'garrett-guilliams-371.jpg';
webAds2[1][1] = 371;
webAds2[1][2] = 247;
webAds2[1][3] = '/team/garrett-guilliams.php';
webAds2[1][4] = 'Garrett Guilliams';
webAds2[1][5] = '_self';

webAds2[2][0] = 'eric-hennessey-371.jpg';
webAds2[2][1] = 371;
webAds2[2][2] = 247;
webAds2[2][3] = '/team/eric-hennessey.php';
webAds2[2][4] = 'Eric Hennessey';
webAds2[2][5] = '_self';

webAds2[3][0] = 'kenny-horton-371.jpg';
webAds2[3][1] = 371;
webAds2[3][2] = 247;
webAds2[3][3] = '/team/kenny-horton.php';
webAds2[3][4] = 'Kenny Horton';
webAds2[3][5] = '_self';

webAds2[4][0] = 'tom-blyth-371.jpg';
webAds2[4][1] = 371;
webAds2[4][2] = 247;
webAds2[4][3] = '/team/tom-blyth.php';
webAds2[4][4] = 'Tom Blyth';
webAds2[4][5] = '_self';

webAds2[5][0] = 'ruel-smith-371.jpg';
webAds2[5][1] = 371;
webAds2[5][2] = 247;
webAds2[5][3] = '/team/ruel-smith.php';
webAds2[5][4] = 'Ruel Smith';
webAds2[5][5] = '_self';


// do not edit anything below this line

var jj2 = 0;
var pp2 = numAds;
var webAdsPreBuffer2 = new Array()
for (ii2 = 0; ii2 < pp2; ii2++){
   webAdsPreBuffer2[ii2] = new Image()
   webAdsPreBuffer2[ii2].src = webAdsDir+webAds2[ii2][0]
}
var whichWebAd2 = Math.round(Math.random()*(pp2-1));
function showWebAd2(){
document.write('<a href="'+webAds2[whichWebAd2][3]+'" target="'+webAds2[whichWebAd2][5]+'"><img src="'+webAdsDir+webAds2[whichWebAd2][0]+'" width="'+webAds2[whichWebAd2][1]+'" height="'+webAds2[whichWebAd2][2]+'" alt="'+webAds2[whichWebAd2][4]+'" border="0"></a>');
}

//  End -->
