
//*
//* To add any sponsor, you must supply all three, sponsorImage, sponsorStory, and sponsorMore.
//*
var sponsorMore  = new Array(	
/// #1
"&nbsp;",
/// #2
"&nbsp;",
/// #3
"&nbsp;",
/// #4
"&nbsp;",
/// #5
"&nbsp;",
/// #6
"&nbsp;",
/// #7
"&nbsp;",
/// #8
"&nbsp;",
/// #9
"&nbsp;",
/// #10
"&nbsp;",
/// #11
"&nbsp;",
/// #12
"&nbsp;",
/// #13
"&nbsp;"
);

var sponsorStory  = new Array(
/// #1
"&nbsp;",
/// #2
"&nbsp;",
/// #3
"&nbsp;",
/// #4
"&nbsp;",
/// #5
"&nbsp;",
/// #6
"&nbsp;",
/// #7
"&nbsp;",
/// #8
"&nbsp;",
/// #9
"&nbsp;",
/// #10
"&nbsp;",
/// #11
"&nbsp;",
/// #12
"&nbsp;",
/// #13
"&nbsp;"
);

var sponsorImage = new Array(	
// #1
"<a href='http://www.boeing.com/' target='_new'><img src='/olc/images/LCNG/sponsors_boeing.gif' border='0' width='180' height='100'></a>",
// #2
"<a href='http://www.schneider.com/' target='_new'><img src='/olc/images/LCNG/sponsors_schneider.gif' border='0' width='180' height='100'></a>",
// #3
"<a href='http://www.silvertowne.com/' target='_new'><img src='/olc/images/LCNG/sponsors_silvertowne.gif' border='0' width='180' height='100'></a>",
// #4
"<a href='https://www.triwest.com/triwest/default.html' target='_new'><img src='/olc/images/LCNG/sponsors_triwest.gif' border='0' width='180' height='100'></a>",
// #5
"<a href='http://www.hnfs.net' target='_new'><img src='/olc/images/LCNG/sponsors_healthnet.gif' border='0' width='180' height='100'></a>",
// #6
"<a href='http://www.geico.com' target='_new'><img src='/olc/images/LCNG/sponsors_geico.gif' border='0' width='180' height='100'></a>",
// #7
"<a href='https://www.usaa.com/inet/ent_logon/Logon?adid=eangusmwr' target='_new'><img src='/olc/images/LCNG/sponsors_usaa.gif' border='0' width='120' height='120'></a>",
// #8
"<a href='http://www.american-bdg.com/' target='_new'><img src='/olc/images/LCNG/sponsors_abdg.gif' border='0' width='180' height='100'></a>",
// #9
"<a href='http://http://www.american-equity.com/' target='_new'><img src='/olc/images/LCNG/sponsors_amereq.gif' border='0' width='180' height='100'></a>",
// #10
"<a href='http://www.drs.com' target='_new'><img src='/olc/images/LCNG/sponsors_drs.gif' border='0' width='180' height='100'></a>",
// #11
"<a href='http://www.triservalliance.com' target='_new'><img src='/olc/images/LCNG/sponsors_triserv.gif' border='0' width='180' height='100'></a>",
// #12
"<a href='http://www.gyrotrac.com' target='_new'><img src='/olc/images/LCNG/gyrotrac.JPG' border='0' width='180' height='100'></a>",
// #13
"<img src='/olc/images/LCNG/sponsors_humana.gif' border='0' width='180' height='100'>"
);
								
									
//---------------------- DO NOT MODIFY BELOW THIS LINE ---------------------------------------//
var gl_quote 	= '';
var gl_dash	 	= '';
var gl_newline = ''; 
var gl_empty 	= '&nbsp;';
var gl_max_tries = 13;
									
									
function writeSponsors()
{
	var tmpQuote;
	var tmpAuthor;
	var tmpSchool;
	var tmpBuff;
	var theDate;
	var seconds;
	var attempts = 0;
	var msgCount;
	
	index = getRandomNumber( sponsorImage.length );

	tmpQuote	 = sponsorImage[index];
	tmpAuthor = sponsorStory[index];
	tmpSchool = sponsorMore[index];

	if( tmpQuote == "" )
	{
		document.write( gl_newline + gl_empty + gl_newline );
		return false;
	}
	if( tmpAuthor == "" )
	{
		tmpAuthor = gl_empty;
	}
	if( tmpSchool == "" )
	{
		tmpSchool = gl_empty;
	}	
	tmpBuff = gl_quote + tmpQuote + gl_quote + 
	          gl_newline + gl_newline + gl_dash + 
				 tmpAuthor + gl_newline + tmpSchool +
				 gl_newline;
				 
	document.write( tmpBuff );		
	
 	return true;
}

function getArrayFillLength( this_array )
{
	var count = 0;
	
	for( count=0;  count < this_array.length; count++ )
	{
		if( this_array[count] == "" )
		{
			break;
		}
	}
	return( count );	
}

