<!--

/* Random Image Rotator JavaScript reserved for Boeing Home Page ONLY as of launch 12-09-05 */
// Last updated 01/17/07 by Joe Meboe

function imgRotator() {

var imgNum;

var rtnPicture;


// Begin: image Array, ID's brand photos. Keep these three arrays in sync!


// list of images


var a = new Array();


    a[00]= "images/2007/image1.jpg";
    a[01]= "images/2007/image2.jpg";
    a[02]= "images/2007/image3.jpg";
    a[03]= "images/2007/image4.jpg";
    a[04]= "images/2007/image5.jpg";
    a[05]= "images/2007/image6.jpg";
    a[06]= "images/2007/image7.jpg";
    a[07]= "images/2007/image8.jpg";





// list of alt texts


var b = new Array();


    b[00]= "Los Iracundos";
    b[01]= "Los Iracundos";
    b[02]= "Los Iracundos";
    b[03]= "Los Iracundos";
    b[04]= "Los Iracundos";
    b[05]= "Los Iracundos";
    b[06]= "Los Iracundos";
    b[07]= "Los Iracundos";
  
    
    


// list of links


var c = new Array();


    c[00]= "http://www.iracundomania.com";
    c[01]= "http://www.iracundomania.com";
	c[02]= "http://www.iracundomania.com";
    c[03]= "http://www.iracundomania.com";
    c[04]= "http://www.iracundomania.com";
    c[05]= "http://www.iracundomania.com";
    c[06]= "http://www.iracundomania.com";
    c[07]= "http://www.iracundomania.com";

    
    


// End: image Array, ID's brand photos. Keep these three arrays in sync!



   imgNum = Math.floor( Math.random() * a.length );

   // error trap: just in case browser capability exceeded

   if(!isNaN(imgNum)) {   

   // construct valid image return string

// rtnPicture = "<IMG SRC='" + a[imgNum] + "' WIDTH='582' HEIGHT='364' BORDER='0' ALIGN='center'>"

     rtnPicture = '<a href="'  + c[imgNum] + '">' + '<IMG SRC="' + a[imgNum] + '" WIDTH="582" HEIGHT="364" BORDER="0" ALIGN="center" TITLE = "' + b[imgNum] + '">';


// window.alert(b[imgNum]);
// window.alert('This is the string I am sending' + rtnPicture);


// Set the td title tag for the image

var image_alt = document.getElementById('image_id');

image_alt.title = b[imgNum];


   }


   else {   


   // if image value fails to show up then load document with this background image.

   rtnPicture = "<IMG SRC='images/vision_01.jpg' ALT='Los Iracundos' WIDTH='582' HEIGHT='364' BORDER='0' ALIGN='center'>" + " ";

   } 

   return rtnPicture;

}

//-->
