/* Scripts.js */	
	
/* Varaibles */	
	var pageName = new String;
	
	// Teresa 
	var strTeresa = new String;
	strTeresa = "<p align='left'>";
	strTeresa = strTeresa +	"		<span class='heading'> <nobr> Teresa V. Mitchell </nobr></span> <br>";
	strTeresa = strTeresa +	"		<span class='email'> Teresa.Mitchell@umassmed.edu </span> </p>";
	
	strTeresa = strTeresa +	"<p align='justify' class='normal'>";	
	strTeresa = strTeresa +	"<nobr> Teresa earned her Ph.D. in developmental    </nobr>";
	strTeresa = strTeresa +	"<nobr> psychology from Indiana University in 1996  </nobr>";
	strTeresa = strTeresa +	"<nobr> and completed postdoctoral training at the  </nobr>";
	strTeresa = strTeresa +	"<nobr> University of Oregon, Duke University, and  </nobr>";
	strTeresa = strTeresa +	"<nobr> the University of North Carolina. She joined</nobr>";
	strTeresa = strTeresa +	"<nobr> the Shriver Center in November of 2002.  She </nobr>";
	strTeresa = strTeresa +	"<nobr> is a skilled signer and has studied visual </nobr>";
	strTeresa = strTeresa +	"<nobr> perception in deaf and hearing children and </nobr>";
	strTeresa = strTeresa +	"<nobr> adults for over 10 years.  </nobr></p>";

	strTeresa = strTeresa +	"<p align='left' class='normal'>";
	strTeresa = strTeresa +	"		<a href='http://www.umassmed.edu/shriver/faculty/mitchell_t.cfm' target='_blank'> Faculty Page </a> </p>";

				
	// Rebecca
	var strRebecca = new String;
	strRebecca = "<p align='left'>";
	strRebecca = strRebecca + " 	<span class='heading'> <nobr> Rebecca von der Heide </nobr> </span> <br>";
	strRebecca = strRebecca + " 	<span class='email'> Rebecca.VonDerHeide@umassmed.edu </span> </p>";
	
	strRebecca = strRebecca + " <p align='justify' class='normal'>";	
	strRebecca = strRebecca + "<nobr> Rebecca earned her Bachelor's Degree in 	   </nobr>";
	strRebecca = strRebecca + "<nobr> Psychology from Rutgers College in 2001 and 	   </nobr>";
	strRebecca = strRebecca + "<nobr> her Master's degree in Psychology from the  	   </nobr>";
	strRebecca = strRebecca + "<nobr> University of Massachusetts, Dartmouth in 2004.  </nobr>";
	strRebecca = strRebecca + "<nobr> She joined the Shriver Center in  	   </nobr>";
	strRebecca = strRebecca + "<nobr> September 2004. Rebecca is now a Ph.D. student	   </nobr>";
	strRebecca = strRebecca + "<nobr> in the Psychology Department at </nobr>";
	strRebecca = strRebecca + "<nobr> Pennsylvania State University.  	   </nobr></p>";
	
			
	// Elizabeth
	var strLiz = new String;
	strLiz = "<p align='left'>";
	strLiz = strLiz + "		<span class='heading'> <nobr> Elizabeth Gramzow </nobr></span><br>";
	strLiz = strLiz + "		<span class='email'> Elizabeth.Gramzow@umassmed.edu </span> </p>";
	
	strLiz = strLiz + " <p align='justify' class='normal'>";
	strLiz = strLiz + "<nobr> Elizabeth earned her Bachelor's degree in   </nobr>";
	strLiz = strLiz + "<nobr> Psychology at the University of North       </nobr>";
	strLiz = strLiz + "<nobr> Carolina at Chapel Hill in 1994. She has    </nobr>";
	strLiz = strLiz + "<nobr> more than 10 years of experience conducting </nobr>";
	strLiz = strLiz + "<nobr> research in experimental child psychology   </nobr>";
	strLiz = strLiz + "<nobr> and joined the Shriver Center in November   </nobr>";
	strLiz = strLiz + "<nobr> of 2003.	Elizabeth is now in Chuck Nelson's </nobr>";
	strLiz = strLiz + "<nobr> <a href='http://www.childrenshospital.org/cfapps/research/data_admin/Site2205/mainpageS2205P0.html'> Laboratory of Cognitive Neuroscience </a>  </nobr>";	
	strLiz = strLiz + "<nobr> at Children's Hospital in Boston  </nobr></p>";	
	

	// Lisa
	var strLisa = new String;
	strLisa = "<p align='left'>";
	strLisa = strLisa + " 	<span class='heading'> <nobr> Lisa Friedman </nobr></span> </p>";
	
	strLisa = strLisa + " <p align='justify' class='normal'>";
	strLisa = strLisa + "<nobr>	Lisa is an undergraduate student at Brandeis </nobr>";
	strLisa = strLisa + "<nobr> University. She is expecting to get her BA in    </nobr>";
	strLisa = strLisa + "<nobr> Linguistics in May 2006, and she is interested   </nobr>";
	strLisa = strLisa + "<nobr> in studying speech pathology/audiology in the    </nobr>";
	strLisa = strLisa + "<nobr> future. Lisa joined the Shriver Center in        </nobr>";
	strLisa = strLisa + "<nobr> October 2004. 				 </nobr></p>";

	// Zoe
	var strZoe = new String;
	strZoe = "<p align='left'>";
	strZoe = strZoe + "		<span class='heading'> <nobr> Zoe Strominger </nobr></span> </p>";
	
	strZoe = strZoe + "	<p align='justify' class='normal'>";	
	strZoe = strZoe + " <nobr> Zoe is a member of the class of 2007 at Harvard </nobr>";
	strZoe = strZoe + " <nobr> College. She is concentrating in psychology and </nobr>";
	strZoe = strZoe + " <nobr> began interning at the Perceptual Development   </nobr>";
	strZoe = strZoe + " <nobr> Lab in May 2004. 				   </nobr></p>";

	// Susan
	var strSusan = new String;
	strSusan = "<p align='left'>";
	strSusan = strSusan + "		<span class='heading'> <nobr> Susan Letourneau </nobr></span> </p>";
	
	strSusan = strSusan + "	<p align='justify' class='normal'>";	
	strSusan = strSusan + " <nobr> Susan graduated with honors from Vassar   </nobr>";
	strSusan = strSusan + " <nobr> College in 2004 with a degree in 	 </nobr>";
	strSusan = strSusan + " <nobr> Neuroscience and Behavior and a minor     </nobr>";
	strSusan = strSusan + " <nobr> in Chemistry. She joined the lab in	 </nobr>";
	strSusan = strSusan + " <nobr> January 2005 and is currently earning her </nobr>";
	strSusan = strSusan + " <nobr> PhD in Cognitive Neuroscience at  	 </nobr>";
	strSusan = strSusan + " <nobr> Brandeis University. 			 </nobr></p>";

	// Melissa
	var strMelissa = new String;
	strMelissa = "<p align='left'>";
	strMelissa = strMelissa + "		<span class='heading'> <nobr> Melissa Thrasher </nobr></span> </p>";
	
	strMelissa = strMelissa + "	<p align='justify' class='normal'>";	
	strMelissa = strMelissa + " <nobr> Melissa earned her BA and BS in 2000 in </nobr>";
	strMelissa = strMelissa + " <nobr> Psychology and Deaf Studies and her MEd 	 </nobr>";
	strMelissa = strMelissa + " <nobr> in Education of the Deaf in 2005 from </nobr>";
	strMelissa = strMelissa + " <nobr> Boston University and is fluent in ASL. </nobr>";
	strMelissa = strMelissa + " <nobr> Prior to joining the lab in August 2005, </nobr>";
	strMelissa = strMelissa + " <nobr> Melissa was a research associate for the </nobr>";
	strMelissa = strMelissa + " <nobr> Center for Research and Training at </nobr>";
	strMelissa = strMelissa + " <nobr> The Learning Center for Deaf Children in </nobr>";
	strMelissa = strMelissa + " <nobr> Framingham. She is now working on a new Shriver </nobr>";
	strMelissa = strMelissa + " <nobr> project on exercise and overweight in children. </nobr></p>";
		 				           

/* Functions */

function loadMenu(){		
	pageName = document.getElementById("pageName").getAttribute("value");		
	document.getElementById(pageName).className = "menuListActive";
}


function popup(mylink, windowname) {
	if (! window.focus)
		return true;
		
	var href;
	if (typeof(mylink) == 'string')
	   href=mylink;
	else
	   href=mylink.href;
	   
	window.open(href, windowname, 'width=275,height=300,scrollbars=no');
	return false;
}


// FOR THE PEOPLE PAGE
function loadImg(imgcnt){
	
	var x=document.images;
	
	for (i=14; i<=19; i++){
		x[i].className = "beforeImg";
	}		
	
	x[imgcnt].className = "afterImg";
		
	switch (imgcnt){
		case 14:
			document.getElementById("desc").innerHTML = strTeresa;
			break;
		case 15:
			document.getElementById("desc").innerHTML = strRebecca;
			break;
		case 16:
			document.getElementById("desc").innerHTML = strLiz;
			break;
		case 17:
			document.getElementById("desc").innerHTML = strLisa;
			break;
		case 18:
			document.getElementById("desc").innerHTML = strZoe;
			break;		
		case 19:
			document.getElementById("desc").innerHTML = strSusan;
			break;	
		case 20:
			document.getElementById("desc").innerHTML = strMelissa;
			break;	

	}		
}

















