	//set image paths
	oldSrc = imgArray;
	newSrc = newImgArray;
	
	
	//set corresponding urls
	//url = ["http://freewarejava.com", "http://javascriptkit.com", "http://dynamicdrive.com", "http://www.geocities.com"]
	
	//set duration for each image
	duration = 3;
	
	//Please do not edit below
	oldAds=[];
	oldCt=0;
	
	newAds=[];
	newCt=0;
	
	function switchAd()
	{
		var n=(oldCt+1)%oldSrc.length;
		if (oldAds[n] && (oldAds[n].complete || oldAds[n].complete==null))
		{
			if (document["Ad_Image"])
			{
				document["Ad_Image"].src = oldAds[oldCt=n].src;
			}
		}
		oldAds[n=(oldCt+1)%oldSrc.length] = new Image;
		oldAds[n].src = oldSrc[n];
		setTimeout("switchAd()",duration*1000);
	}
		
	function newSwitchAd()
	{
		var n=(newCt+1)%newSrc.length;
		if (newAds[n] && (newAds[n].complete || newAds[n].complete==null))
		{
			if (document["New_Image"])
			{
				document["New_Image"].src = newAds[newCt=n].src;
			}
		}
		newAds[n=(newCt+1)%newSrc.length] = new Image;
		newAds[n].src = newSrc[n];
		setTimeout("newSwitchAd()",duration*1000);
	}

	/*function doLink()
	{
		location.href = url[ct];
	}*/
		
	onload = function()
	{
		if (document.images)
		switchAd();
		if (document.images)
		newSwitchAd();
	}