// Banner Ad Rotation

function rightBanners() {
	if (document.getElementById("rightAds")) {		
		rightAnchors = document.getElementById("rightAds").getElementsByTagName("a");
		rightAnchorLength = rightAnchors.length;
		rcount = 0;

		try{
			rightAnchors[0].style.display = "block";
		}
		catch(e){}
		/*** AGupta: 1-14-09 commented to stack instead of rotate ads per KSimpsons request
		if (rightAnchorLength > 0 )
			rightAnchors[rcount++].style.display = "none";
			window.setInterval('rightHide()', 10000);***/
	}
}

function rightHide () {	
	rightAnchors[rcount].style.display = "none";
	rcount++;
	if (rightAnchors[rcount])
		rightAnchors[rcount].style.display = "block";
	else {
		rcount = 0;
		rightAnchors[rcount].style.display = "block";
	}
}