//function swapBanner() {
//	var count = Math.round(5*Math.random())
//	document.getElementById("hbanner" + count).style.display = "";
//}

var currentpic = 0; // counter for the current pic
var wait = 5000; // time between fades, in milliseconds
function swapFade(){	
	if(document.getElementById) {
		pics 	= document.getElementById("homepage-banner").getElementsByTagName("img");
		Effect.Fade(pics[currentpic].id, { duration:1, from:1.0, to:0.0 });
		currentpic++; // advance to the next pic
		if (currentpic == pics.length) { // are we at the end? then reset the counter
			currentpic = 0;
		}
		Effect.Appear(pics[currentpic].id, { duration:1, from:0.0, to:1.0 });		
	} else {
		return true;  
	}
}
function startpage(){
	setInterval('swapFade()',wait);	 // will call swapFade every 'wait' milliseconds
}

function swap() {
	var jammy = document.getElementById("news");
	if ( jammy.value == '[enter email here]' ) {
		jammy.value = '';
	}
	else if ( jammy.value == '' ) {
		jammy.value = '[enter email here]';
	}
}
//-->