// function to spawn a new window
function openProvider(windowname) {	
	newWindow = window.open('',windowname,'width=800,height=445,location=yes,scrollbars,status,resizable,toolbar,menubar');
	newWindow.focus();
	return newWindow;
}
// function used on Find Out More page to show/hide current/previous summary box
function showInfo(headingId){

	// Hide all the heading blocks except the one with ID matching the first argument to the function ...

	if (headingId == "prevBox") {
		var element = document.getElementById("currentBox").style;
		var other = document.getElementById("prevBox").style;
		element.display="none";
		other.display="block";
	}

	if (headingId == "currentBox") {
		var prev = document.getElementById("prevBox").style;
		var cur = document.getElementById("currentBox").style;
		cur.display="block";
		prev.display="none";
	}



	return false; // return false so won't follow the link in the page and cause a refresh - but link is still needed in case Javascript isn't active.
}

function offerReminder(){

	// Hide all the heading blocks except the one with ID matching the first argument to the function ...

		currentDiv = document.getElementById("leftColBottom");
		currentDiv.style.border = "#99376b 4px solid";
		currentDiv.style.paddingBottom = "22px";
	return false; // return false so won't follow the link in the page and cause a refresh - but link is still needed in case Javascript isn't active.
}
	