
var msg = new Array()

msg[1] = "Early Private Efforts"
msg[2] = "Early Government Steps"
msg[3] = "From Medicare to the Failed Clinton Plan"
msg[4] = "An Increased State Role"

/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT BELOW THIS LINE //
/////////////////////////////////////////////////////////////////////////


// resize fix for ns4
var origWidth, origHeight;
if (document.layers) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}



var infoLyr;
function initInfoLyr() {
	// call constructor to create write layer
	// arguments: id, width, height
	// be sure to set height large enough or ns4 will clip it off
	infoLyr = new writeObj('infoDiv',500,18);
	showInfo(msg[page]);	
}		

function showInfo(txt) {
	if (!infoLyr) return;
	var cntnt = txt;
	infoLyr.writeLyr(cntnt);	 
}


function MouseOverChange(whattochange, messagetochange) {
	showInfo(messagetochange)
	document.getElementById(whattochange).style.background = '#5B8580';
	document.getElementById(whattochange).style.color = '#FFFFFF';
}

function MouseOutChange(whattochange) {
	showInfo(msg[page])
	document.getElementById(whattochange).style.background = '#FFFFFF';
	document.getElementById(whattochange).style.color = '#5B8580';
}

window.onload=initInfoLyr;