function StaticBanner(objArray, objLinkArray, objSponsors, intWidth, intHeight)
{
	var bannerLocations = new Array();
	var linkLocations = new Array();
	var sources = objArray;
	
	while(sources.indexOf(',') >= 0)
	{
		srcvalue = sources.substring(0, sources.indexOf(','));
		bannerLocations.push(srcvalue);
		sources = sources.substring(sources.indexOf(',')+2, sources.length);
	}
	
	sources = objLinkArray;
	
	while(sources.indexOf(',') >= 0)
	{
		srcvalue = sources.substring(0, sources.indexOf(','));
		linkLocations.push(srcvalue);
		sources = sources.substring(sources.indexOf(',')+2, sources.length);
	}
	
	var strSponsors = "";
	
	for(var i=0; i < bannerLocations.length; i++)
	{
		strSponsors += "<br><a href='" + linkLocations[i] + "' target=_blank>";
		strSponsors += "<image src = '" + bannerLocations[i] + "'";
		strSponsors += "height=" + intHeight + " width=" + intWidth;
		strSponsors += " border=0></image></a></br>";
	}
	
	document.getElementById(objSponsors+"_Sponsors").innerHTML = strSponsors;
}
function DynamicBanner(objImg, objArray, objLink, objLinkArray, bannerIndex, intWidth, intHeight)
{
	var bannerLocations = new Array();
	var linkLocations = new Array();
	var sources = objArray;
	
	while(sources.indexOf(',') >= 0)
	{
		srcvalue = sources.substring(0, sources.indexOf(','));
		bannerLocations.push(srcvalue);
		sources = sources.substring(sources.indexOf(',')+2, sources.length);
	}
	
	sources = objLinkArray;
	
	while(sources.indexOf(',') >= 0)
	{
		srcvalue = sources.substring(0, sources.indexOf(','));
		linkLocations.push(srcvalue);
		sources = sources.substring(sources.indexOf(',')+2, sources.length);
	}
	
	banner1 = document.getElementById(objImg);
	link1 = document.getElementById(objLink);
	
	bannerIndex = (bannerIndex < (bannerLocations.length - 1)) ? ++bannerIndex :0;
	banner1.src = bannerLocations[bannerIndex];
	banner1.width = intWidth;
	banner1.height = intWidth;
	link1.href = linkLocations[bannerIndex];
	
	var bannerRecall = "DynamicBanner('" + objImg + "','" + objArray + "','" + objLink + "','";
	bannerRecall += objLinkArray + "'," + bannerIndex + "," + intWidth + "," + intHeight +")";
	
	setTimeout(bannerRecall, 10000);
}
