var photoNum = Math.floor(Math.random() * 3) + 1;
var highlights = new Array('csecProfile', 'achievements', 'expressions');
var highlightNum = Math.floor(Math.random() * highlights.length);
function rotatePhoto() {
	photo = document.getElementById('photo');
	//photoNum = ((photoNum + 1) % 3) + 1;
	photo.src = 'images/header_image_girl' + photoNum + '.jpg';
}
function rotateHighlight() {
	highlight = document.getElementById('highlight');
	//highlightNum = ((highlightNum + 1) % highlights.length);
	highlight.src = highlights[highlightNum] + '.html';
}
function assemble() {
	rotatePhoto();
	rotateHighlight();
}
function enlist() {
	email = document.getElementById('email');
	addy = email.value;
	ui = document.getElementById('newsletter');
	msg = document.getElementById('msg');
	ui.style.display = 'none';
	msg.style.display = 'block';
}
