function pageIt(p) {

	var photographer = '';

	// validate the photographer with a switch
	switch (p) {
		case 'therese' :
			photographer = p;
			break;
			
		case 'christine' :
			photographer = p;
			break;
		
		case 'louise' :
			photographer = p;
			break;
		
		case 'brandi' :
			photographer = p;
			break;
		
		default :
			photographer = 'therese';
			break;
	}
	
	arrow_right = document.getElementById(photographer+'_right');
	arrow_left = document.getElementById(photographer+'_left');
	blurb_one = document.getElementById(photographer+'_one');
	blurb_two = document.getElementById(photographer+'_two');
	
	// we can see blurb part one, so hide it and show number two, 
	// along with the arrow to get back
	if (blurb_one.style.display == '') {
		blurb_one.style.display = 'none';
		blurb_two.style.display = '';
		arrow_right.style.display = 'none';
		arrow_left.style.display = '';
	} else {
		blurb_one.style.display = '';
		blurb_two.style.display = 'none';
		arrow_right.style.display = '';
		arrow_left.style.display = 'none';
	}
	
	return true;
}

function init() {
	
	var photographers = new Array;
	photographers[0] = 'therese';
	photographers[1] = 'christine';
	//photographers[2] = 'louise';
	//photographers[2] = 'brandi';

	for (i = 0; i < photographers.length; i++) {
		arrow_right = document.getElementById(photographers[i]+'_right');
		arrow_left = document.getElementById(photographers[i]+'_left');
		blurb_one = document.getElementById(photographers[i]+'_one');
		blurb_two = document.getElementById(photographers[i]+'_two');
		
		arrow_right.style.display = '';
		arrow_left.style.display = 'none';
		blurb_one.style.display = '';
		blurb_two.style.display = 'none';
	}

	
}

function portfolioPop(name) {
	window.open('portfolio.php?p='+name,'','width=650,height=600,scrollbars=yes,toolbars=no,resizable')
}