
var ImageLoad =
[
['',  'images/spacer.gif',  'Kalahar Construction and Development LLC  ph:520.481.5316'        ],    //  ['URL to linked page', 'URL to image', 'Caption under picture'] //
['',  'images/spacer.gif',  'Tony Rordiguez Agency - American Family Insurance  ph:520.319.2111'     ],    //  The caption is not required and may be left blank like this:  //
['',  'images/spacer.gif',   'Knights of Columbus  ph:520.795.1200'   ],    //  ['URL to linked page', 'URL to image', '']       //
['http://www.kbhome.com/',  'images/spacer.gif',  'KB Home  ph:520.918.6400  web:kbhome.com'         ],
['index.htm',  'images/spacer.gif',    'Continental Ranch Development LLC San Diego CA'       ],    //  Add as many images as you like seperated by commmas     //
['http://www.daviskitchens.com/',  'images/spacer.gif',    'Davis Kitchens  ph:520.292.4800  web:daviskitchens.com'            ],    //  Almost ALL errors are caused by the url or path being wrong   //
['',  'images/spacer.gif',  'Ruben M. Fimbres and Angelina Fimbres'         ],     //  The LAST image declaration does NOT have a comma after it   //
['',  'images/spacer.gif',  'PR Communications Systems LLC  ph:520.360.9291'         ],
['http://www.tvllb.org/',  'images/spacer.gif',  'Tanque Verde Little League  web:tvllb.org'         ],
['http://www.sabinocanyonll.com/',  'images/spacer.gif',  'Sabino Canyon Little League  web:sabinocanyonll.com'         ],
['http://www.tucsonchallenger.org/default.aspx',  'images/spacer.gif',  'Tucson Challenger Little League  web:tucsonchallenger.org/default.aspx'         ],
['http://www.aztecfloors.com/',  'images/spacer.gif',  'Aztec Flooring  ph:520.544.9922  web:aztecfloors.com'         ],
['http://www.westernamericanhousing.com/',  'images/spacer.gif',  'Western American Housing  ph:520.294.4030  5757 S Palo Verde  web:westernamericanhousing.com'         ],
['http://www.aztecfloors.com/',  'images/spacer.gif',  'Southwestern Paint  ph:520.795.0545  5036 E. Broadway'         ],
['',  'images/spacer.gif',  'Hensel Phelps Co  ph:520.624.2216/'         ],
['http://www.jimclick.com//',  'images/spacer.gif',  'The Jim Click Automotive Team  web:jimclick.com'         ]
];

var ImageCount    = 16;        //  *****  Change this to the total number of images loaded above  *****   //
var ImageDelay    = 3000;        //  *****  Set this to the delay interval desired.  5000 = 5 seconds.   //
var LinkTarget		= "_self"		//  *****  Defines where you want linked page to open. _self, _blank, _top, etc	//
var ImageIndex		= 0;			//  DO NOT ALTER	//
var FirstLoad 		= 0;			//  DO NOT ALTER	//
var QuickStartID 	= 0;  			//  DO NOT ALTER	//
var htmlString 		= ""			//  DO NOT ALTER 	//

//  This function rotates the banner  //
function ImageChange()

{

htmlString = '<center>';
htmlString = htmlString + '<font face = "Verdana" size="5">';     //  Font and Font Size for caption may be changed here //
htmlString = htmlString +'<a target="';
htmlString = htmlString + LinkTarget;
htmlString = htmlString + '" href="';
htmlString = htmlString + ImageLoad[ImageIndex][0];
htmlString = htmlString + '"><img border="0" src="';				//  Image border size may be changed here				//
htmlString = htmlString + ImageLoad[ImageIndex][1];
htmlString = htmlString + '"></a><br>';
htmlString = htmlString + ImageLoad[ImageIndex][2];
htmlString = htmlString + '</font>';
htmlString = htmlString + '</center>';

document.getElementById('SponsorImage').innerHTML = htmlString;

if(ImageIndex == ImageCount - 1)		//  This statement increments image displayed and resets if displaying last image  //
{
ImageIndex= 0;
}
else
{
ImageIndex++;
}

if(FirstLoad == 0)						//  Determins if this is the first time function has run.   //
{
SlowFinish();
}

}
//  End Funtion  //

//  This function ensures first banner is displayted without a delay  //
function  QuickStart()
{
QuickStartID=setInterval("ImageChange()", 1000);
}
//  End Funtion  //

//  This function sets display rate to user defined speed  //
function SlowFinish()
{
clearInterval(QuickStartID);
FirstLoad = 1;
setInterval("ImageChange()", ImageDelay);
}
//  End Funtion  //

QuickStart()
