function pageChange(select,archive) {
	var url = "/blog/" + archive + "?pg=" + select.options[select.selectedIndex].value;
	location = url;
}

function showFund(id) {
	if (document.getElementById("fund" + id).style.display == "" || document.getElementById("fund" + id).style.display == "none") {
		document.getElementById("fund" + id).style.display = "block";
	} else {
		document.getElementById("fund" + id).style.display = "none";
	}
}

function docOnLoad(){
	document.ccoptin1.ea.value = 'your email address'
}

function eaFocus(query){
	if (query.value == "your email address"){
		query.value = "";
	}
}

function eaBlur(query){
	if (query.value == ""){
		query.value = "your email address";
	}
}

function submitCcoptin(){
	if (document.ccoptin1.ea.value == "your email address" || document.ccoptin1.ea.value == ""){
		document.ccoptin1.ea.focus();
		alert("Please enter your email address");
		return false;
	}
	return true;
}

