function writeTopMenu(){
	document.write('<table valign=top cellpadding=0px cellspacing=0px width="550px" border=0px>');
	document.write('<tr><td>');
	document.write('<table align=center cellspacing=0px cellpadding=0px><tr>');
	document.write('<td id="0" align=top><a href="index.html" onmouseover="mouseOver(\'Home\',\'images/menu/Home-over.jpg\')" onmouseout="mouseOut(\'Home\',\'images/menu/Home.jpg\')"><img name="Home" src="images/menu/Home.jpg" border="0px" alt="Home"></a></td>');
	document.write('<td id=1 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu1",\'1\')><img name="About" src="images/menu/About.jpg" border="0px" alt=""></td>');
	document.write('<td id=2 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu2",\'2\')><img name="Writing_Programs" src="images/menu/Writing-Programs.jpg" border="0px" alt=""></td>');
	document.write('<td id=3 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu3",\'3\')><img name="Publications" src="images/menu/Publications.jpg" border="0px" alt=""></td>');
	document.write('<td id=4 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu4",\'4\')><img name="Partners" src="images/menu/Partners.jpg" border="0px" alt=""></td>');
	document.write('<td id=5 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu5",\'5\')><img name="Resources" src="images/menu/Resources.jpg" border="0px" alt=""></td>');
	document.write('<td id=6 align=center onmouseout=btnTimer() onmouseover=showLayer("Menu6",\'6\')><img name="Get_Involved" src="images/menu/Get-Involved.jpg" border="0px" alt=""></td>');
	document.write('</tr>');
	document.write('</table>');
	
	/* -- About -- */
	document.write('<div id=Menu1 style="position: absolute; border:0px; visibility:hidden; z-index: 100">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="about_mission.html" onmouseover="roll_over(\'Mission\',\'images/dd/Mission-over.jpg\')" onmouseout="roll_out(\'Mission\',\'images/dd/Mission.jpg\')">');
	document.write('<img src="images/dd/Mission.jpg" name="Mission" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="about_background.html" onmouseover="roll_over(\'Background\',\'images/dd/Background-over.jpg\')" onmouseout="roll_out(\'Background\',\'images/dd/Background.jpg\')">');
	document.write('<img src="images/dd/Background.jpg" name="Background" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="about_committee.html" onmouseover="roll_over(\'Steering\',\'images/dd/Steering-over.jpg\')" onmouseout="roll_out(\'Steering\',\'images/dd/Steering.jpg\')">');
	document.write('<img src="images/dd/Steering.jpg" name="Steering" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="about_staff.html" onmouseover="roll_over(\'Staff\',\'images/dd/Staff-over.jpg\')" onmouseout="roll_out(\'Staff\',\'images/dd/Staff.jpg\')">');
	document.write('<img src="images/dd/Staff.jpg" name="Staff" border="0px">');
	document.write('</a></td></tr>');
	document.write('</table></div>');
	
	/* -- Writing Programs -- */
	document.write('<div id=Menu2 style="position: absolute; border:0px; visibility:hidden; z-index: 1000">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="wp_writing_coach.html" onmouseover="roll_over(\'Coach\',\'images/dd/Writing-Coach-over.jpg\')" onmouseout="roll_out(\'Coach\',\'images/dd/Writing-Coach.jpg\')">');
	document.write('<img src="images/dd/Writing-Coach.jpg" name="Coach" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="wp_tip.html" onmouseover="roll_over(\'Tip\',\'images/dd/Tip-over.jpg\')" onmouseout="roll_out(\'Tip\',\'images/dd/Tip.jpg\')">');
	document.write('<img src="images/dd/Tip.jpg" name="Tip" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="wp_writing_centers.html" onmouseover="roll_over(\'Centers\',\'images/dd/Writing-Centers-over.jpg\')" onmouseout="roll_out(\'Centers\',\'images/dd/Writing-Centers.jpg\')">');
	document.write('<img src="images/dd/Writing-Centers.jpg" name="Centers" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="wp_summer_news_camp.html" onmouseover="roll_over(\'Journalism\',\'images/dd/Summer-Journalism-over.jpg\')" onmouseout="roll_out(\'Journalism\',\'images/dd/Summer-Journalism.jpg\')">');
	document.write('<img src="images/dd/Summer-Journalism.jpg" name="Journalism" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="wp_caroline_knapp.html" onmouseover="roll_over(\'Caroline\',\'images/dd/Caroline-Knapp-over.jpg\')" onmouseout="roll_out(\'Caroline\',\'images/dd/Caroline-Knapp.jpg\')">');
	document.write('<img src="images/dd/Caroline-Knapp.jpg" name="Caroline" border="0px">');
	document.write('</a></td></tr>')
	document.write('</table></div>');
		
	/* -- Publications -- */
	document.write('<div id=Menu3 style="position: absolute; border:0px; visibility:hidden; z-index: 100">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px cellpadding-top=0px cellpadding-left=0px cellpadding-right=0px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="publications_fsw.html" onmouseover="roll_over(\'Featured\',\'images/dd/Featured-over.jpg\')" onmouseout="roll_out(\'Featured\',\'images/dd/Featured.jpg\')">');
	document.write('<img src="images/dd/Featured.jpg" name="Featured" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="publications_student_pub.html" onmouseover="roll_over(\'StudentPub\',\'images/dd/Student-Pub-over.jpg\')" onmouseout="roll_out(\'StudentPub\',\'images/dd/Student-Pub.jpg\')">');
	document.write('<img src="images/dd/Student-Pub.jpg" name="StudentPub" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="publications_press.html" onmouseover="roll_over(\'Press\',\'images/dd/Press-over.jpg\')" onmouseout="roll_out(\'Press\',\'images/dd/Press.jpg\')">');
	document.write('<img src="images/dd/Press.jpg" name="Press" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="publications_newsletters.html" onmouseover="roll_over(\'Newsletters\',\'images/dd/Newsletters-over.jpg\')" onmouseout="roll_out(\'Newsletters\',\'images/dd/Newsletters.jpg\')">');
	document.write('<img src="images/dd/Newsletters.jpg" name="Newsletters" border="0px">');
	document.write('</a></td></tr>');
	document.write('</table></div>');

	/* -- Partners -- */
	document.write('<div id=Menu4 style="position: absolute; border:0px; visibility:hidden; z-index: 100">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="partners_sponsors.html" onmouseover="roll_over(\'Sponsors\',\'images/dd/Sponsors-over.jpg\')" onmouseout="roll_out(\'Sponsors\',\'images/dd/Sponsors.jpg\')">');
	document.write('<img src="images/dd/Sponsors.jpg" name="Sponsors" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="partners_partnerships.html" onmouseover="roll_over(\'Partnerships\',\'images/dd/Partnerships-over.jpg\')" onmouseout="roll_out(\'Partnerships\',\'images/dd/Partnerships.jpg\')">');
	document.write('<img src="images/dd/Partnerships.jpg" name="Partnerships" border="0px">');
	document.write('</a></td></tr>');
	document.write('</table></div>');

	/* -- Resources -- */
	document.write('<div id=Menu5 style="position: absolute; border:0px; visibility:hidden; z-index: 100">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="resources_teachers.html" onmouseover="roll_over(\'Teachers\',\'images/dd/Teachers-over.jpg\')" onmouseout="roll_out(\'Teachers\',\'images/dd/Teachers.jpg\')">');
	document.write('<img src="images/dd/Teachers.jpg" name="Teachers" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="resources_students.html" onmouseover="roll_over(\'Students\',\'images/dd/Students-over.jpg\')" onmouseout="roll_out(\'Students\',\'images/dd/Students.jpg\')">');
	document.write('<img src="images/dd/Students.jpg" name="Students" border="0px">');
	document.write('</a></td></tr>');
	document.write('</table></div>');

	/* -- Involved -- */
	document.write('<div id=Menu6 style="position: absolute; border:0px; visibility:hidden; z-index: 100">');
	document.write('<table bgcolor=#D7ECB4 cellspacing=0px cellpadding-bottom=2px style="border-collapse: collapse;">');
	document.write('<tr><td><a href="involved_volunteer.html" onmouseover="roll_over(\'Volunteer\',\'images/dd/Volunteer-over.jpg\')" onmouseout="roll_out(\'Volunteer\',\'images/dd/Volunteer.jpg\')">');
	document.write('<img src="images/dd/Volunteer.jpg" name="Volunteer" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="involved_partner.html" onmouseover="roll_over(\'Partner\',\'images/dd/Become-Partner-over.jpg\')" onmouseout="roll_out(\'Partner\',\'images/dd/Become-Partner.jpg\')">');
	document.write('<img src="images/dd/Become-Partner.jpg" name="Partner" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="involved_donate.html" onmouseover="roll_over(\'Donate\',\'images/dd/Donate-over.jpg\')" onmouseout="roll_out(\'Donate\',\'images/dd/Donate.jpg\')">');
	document.write('<img src="images/dd/Donate.jpg" name="Donate" border="0px">');
	document.write('</a></td></tr>');
	document.write('<tr><td><a href="involved_2012fundraiser.html" onmouseover="roll_over(\'Fundraiser\',\'images/dd/Fundraiser-over.jpg\')" onmouseout="roll_out(\'Fundraiser\',\'images/dd/Fundraiser.jpg\')">');
	document.write('<img src="images/dd/Fundraiser.jpg" name="Fundraiser" border="0px">');
	document.write('</a></td></tr>');
	document.write('</table></div>');
	document.write('</td></tr></table>');
	document.write('<table valign=top cellpadding=0px cellspacing=0px width="550px" border=0px>');
	document.write('<tr><td colspan=7><img src="images/WriteBoston_top_bar.jpg" name="hBar" border="0px"></td></tr>');
	document.write('</table>');
}

function writeMidLeft1(){
	document.write('<font size="2" face="verdana">');
	document.write('<font size="2" face="verdana" color="black"> Click <a href="involved_2012fundraiser.html"> here</a> to learn more about WriteBoston’s 10th anniversary celebration and author guests!<br>');
		document.write('<font size="2" face="verdana" color="black"> <br>Click to register for the 2012 WriteBoston teacher institute <i> <a href="resources_humanities.html">Effective Writing in the Humanities</a>.</i>'); 
	document.write('</font>');
}

function writeMidLeft2(){
	document.write('<font size="2" face="verdana" color="black"> Read the latest issue of<br> Teens in Print:<a href="http://www.bostontip.com/" target="0"><img src="images/tip/TiP35.jpg" alt="Boston Teens in Print" border="0"><br>');
	document.write('<font size="1" face="verdana"><u>Boston Teens in Print</u></font></a><br>');
			document.write('<font size="2" face="verdana" color="black"> <br><b>Attention Teens:</b> <br>Want a paid summer job reporting and writing stories for Teens in Print?<br><br> Please register with the<br> <a href="http://www.bostonyouthzone.com/teenzone/employment/byf/">BYF Hopeline</a> and then <a href="wp_summer_news_camp.html">click here</a> to download a TiP Summer Journalism Institute application. There are unpaid positions, as well.'); 
}

function writeMidLeft3(){
	document.write('<br><br><br><a href="https://npo.networkforgood.org/Donate/Donate.aspx?npoSubscriptionId=1001992&code=WriteBoston%20Donate%20Page" target="0" onmouseover="mouseOver(\'support\',\'images/support.png\')" onmouseout="mouseOut(\'support\',\'images/support-over.png\')"><img src="images/support-over.png" name="support" alt="Donate Now!" border="0"></a>');
}

function writeMidLeft4(){
	document.write('<br>');
	document.write('<a href="http://cityofboston.gov" target="0"><img src="images/sponsors/BostonSeal.gif" alt="City of Boston" border="0"><br>');
	document.write('<font size="1" face="verdana">The City of Boston</font></a><br><br><br>');
	document.write('<a href="http://www.cityofboston.gov/bra/" target="0"><img src="images/sponsors/RedevAuthority.gif" alt="Boston Redevelopment Authority" border="0"><br>');
	document.write('<font size="1" face="verdana">Boston Redevelopment <br> Authority</font></a><br>');
}

function writeBottomMenu(){
	document.write('<span><center><br /><a href="contactUs.html">Contact Us </a>|<a href="jobs.html"> Job Opportunities </a>');
	document.write('<br><strong><font size="1" face="verdana">WriteBoston | 7 Palmer St, 2nd floor | Roxbury, MA 02119<br>');
	document.write('<img src="images/phone.gif"> 617-541-2604 &nbsp; &nbsp; <img src="images/fax.gif"> 617-541-2660</strong>');
	document.write('<br />Copyright &copy; WriteBoston 2009 All Rights Reserved | ');
	document.write('Site Design by <a href="http://www.commonimpact.org" target="0">Common Impact</a>');
	document.write('</center></span>');
}

/* --- Drop Down Menu --- */
window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var NET = (bName == "Netscape" && bVer >= 4);
var menuActive = 0;
var menuOn = 0;
var onLayer;
var timeOn = null;

function showLayer(layerName,aa){
	var x =document.getElementById(aa);
	var tt =findPosX(x); 
	var ww =findPosY(x)+0;

	if (timeOn != null) {
		clearTimeout(timeOn);
		hideLayer(onLayer);
	}

	if (IE4) {
		var layers = eval('document.all["'+layerName+'"].style');
		layers.left = tt;
		eval('document.all["'+layerName+'"].style.visibility="visible"');
	}
	else {
		if(document.getElementById){
			var elementRef = document.getElementById(layerName);
			if((elementRef.style)&& (elementRef.style.visibility!=null)){
				elementRef.style.visibility = 'visible';
				elementRef.style.left = tt+"px";
				elementRef.style.top = ww;
			}
		}
	}
	onLayer = layerName;
}

function hideLayer(layerName){
	if (menuActive == 0){
		if (IE4){
			eval('document.all["'+layerName+'"].style.visibility="hidden"');
		} 
		else{
			if(document.getElementById){
				var elementRef = document.getElementById(layerName);
				if((elementRef.style)&& (elementRef.style.visibility!=null)){
					elementRef.style.visibility = 'hidden';
				}
			}
		}
	}
}

function btnTimer() {
	timeOn = setTimeout("btnOut()",400);
}

function btnOut(layerName){
	if (menuActive == 0){
		hideLayer(onLayer)
	}
}

function roll_over(img_name, img_src)
{
	document[img_name].src = img_src;
   	clearTimeout(timeOn);
	menuActive = 1;
}

function roll_out(img_name, img_src)
{
	document[img_name].src = img_src;
   	menuActive = 0;
	timeOn = setTimeout("hideLayer(onLayer)", 100);
}

function findPosX(obj){
	var curleft = 3;
	if (obj.offsetParent){
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft;
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj){
	var curtop = 0;
	if (obj.offsetParent){
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop;
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}
/* --- end DropDown Menu --- */

/* --- MouseOver and MouseOutImage ---*/
//  Example:
// 	onmouseover="mouseOver('chalkboard2','images/chalkboard2-over.gif')"
// 	onmouseout="mouseOut('chalkboard2','images/chalkboard2.gif')">
// 	<img name="chalkboard2" src="images/chalkboard2.gif" alt ="altImage">
//  ----------------------------------------------------------------------------------------------------------------------------
function mouseOver(img_name, img_src)
{
	document[img_name].src = img_src;
}

function mouseOut(img_name, img_src)
{
	document[img_name].src = img_src;
}
/* --- end MouseOver and MouseOutImage --- */

/* --- expand and collapse text --- */
// How to use:
//	add one new entry to thearray and idarray with incremental number as a suffix.
//  example:
//    <a id="dstaff1" href="javascript:toggle('tstaff1','dstaff1');" >read more... </a><br />
//    div id="tstaff1" style="display:none">put the content you want to hide/display here </div>
// -------------------------------------------------------------------------------------------------------------------------------

function toggle(showid,displayid){ 
	var thearray= new Array("tstaff1","tstaff2","tstaff3", "tstaff4","tstaff5","tstaff6","tstaff7","tstaff8","tstaff9","tstaff10");
	var idarray = new Array("dstaff1","dstaff2","dstaff3","dstaff4","dstaff5","dstaff6","dstaff7","dstaff8","dstaff9","dstaff10");
	var text = document.getElementById(displayid);
	for(i=0; i<thearray.length; i++){ 
	      if(thearray[i] == showid){ 
	            document.getElementById(showid).style.display="block";
	            text.innerHTML = "";
	      }else{ 
	            document.getElementById(thearray[i]).style.display="none";
	            if(idarray[i] != displayid)
	            	document.getElementById(idarray[i]).innerHTML ="read more...";
	      } 
   } 
}

/* --- Frameless Popup Window -- */
//  Function: 
//    This script launches a popup window without the Windows frame or titlebar.  
//    img is the image displayed on the popup window.
//    desc is the content displayed on the popup window.
//    title is the title displayed on the popup window.
//    FEATURES is the properties of the window such as width, height, presence or absence of scrollbars, location bar, status bar etc. 
// 		height: Specifies height of the window in pixels.
// 		width: width of the new window in pixels
// 		location: determines the presence of the location bar (yes / no)
// 		menubar: determines the presence of the menubar (yes / no)
// 		scrollbars: determines the presence of the scrollbars (yes / no)
// 		status: determines the presence of the status bar (yes / no)
// 		toolbar: determines the presence of the toolbar (yes / no)
// 		resizable: determines whether the window can be resized (yes / no)
// 	open (URL, windowName,[windowFeatures]) 
// 	example: window.open("staffBiography.html","Biography",FEATURES); staffBiography.html is an URL empty page		
// 	How to use: 
//      Add new condition for name with the value for img and desc.
//    example:
//      <a href="javascript:void(0)" onClick="popup('RobertaLogan')"><img src="images/staff/RLogan.jpg" border=0> </a>
// -------------------------------------------------------------------------------------------------------------------------------------------

function popup(name) { 
	if(name == "AndersonAmanda"){
		img = 'images/staff/AAmanda.jpg';
		desc = "<b>Amanda Anderson</b> is a WriteBoston Writing Coach at Urban Science Academy in Boston and is the Coordinator of the Writing "+
		"Center that serves the West Roxbury Education Complex. She has a Master of Fine Arts Degree in Creative Writing from University of Southern "+ 
		"Maine and worked as a writing assistant at the University of Maine. Through the Maine Writing Project, Amanda is a Teacher Consultant, which "+
		"gave her practical resources as she taught four years of high school English, in addition to teaching Adult Education Courses. She also worked "+
		"with a gifted and talented writing program for teens and collaborated with the local community college to teach the college credit composition "+
		"course at the high school level.";
		title = "Writing Coach and Writing Center Coordinator";
	}else if(name == "KellyGoldner"){
		img = 'images/staff/KGoldner.jpg';
		desc = "<b>Kelly Knopf-Goldner</b> has been with WriteBoston for five years and is the current Writing Coach at Boston Community Leadership "+
		"Academy and also editor of the teen newspaper, <em>T.i.P., Boston Teens in Print</em>, the only youth-written paper in the city of Boston. She is a writer and "+
		"teacher with eight years of experience teaching high school English and ESL in California and Boston. Drawn to the world of youth publication, she also worked "+
		"at TeenVoices Magazine for two years.";
		title = "Writing Coach";
	}else if(name == "DianaHammond"){
		img = 'images/staff/DHammond.jpg';
		desc = "<b>Diana Hammond</b> is the Writing Coach at Community Academy for Science and Health and the Social Justice Academy. She has taught high school "+
		"English, Literature, and Writing courses in St. Louis Public Schools, and is a Teacher Consultant through her participation in the Gateway Writing Project Summer "+
		"Institute. Throughout her years in teaching and her participation in the National Writing Project, she has developed innovative, creative writing curriculums that "+
		"authenticate the learning process and engage struggling students.";
		title = "Writing Coach";
	}else if(name == "RobertaLogan"){
		img = 'images/staff/RLogan.jpg';
		desc = "<b>Roberta Logan</b> is the Writing Coach at TechBoston Lower Academy. She is also an adjunct faculty member at Northeastern and a Teacher "+
		"Consultant at Primary Source. She is a published writer, having written for magazines, the Boston Writing Project Newsletter and teachers' guides. For the past "+
		"thirty years, she taught Language Arts, Reading, Writing and Humanities in the Boston Public Schools.";
		title = "Writing Coach";
	}else if(name == "SageMarsters"){
		img = 'images/staff/SMarsters.jpg';
		desc = "<b>Sage Marsters</b> is a WriteBoston Writing Coach at The Engineering School in Boston. She has an MFA in Creative Writing from Emerson College, "+
		"and a MEd from Boston College, where she participated in the Donovan Program. She has taught English, Writing, Social Studies and Humanities to middle school "+
		"through college-level students, and has worked with at-risk students through Boston?s Department of Alternative Education. Sage's short stories have appeared "+
		"in magazines such as The New England Review, Green Mountains Review, and Alaska Quarterly Review, and she is the winner of a Pushcart Prize.";
		title = "Writing Coach";
	}else if(name == "BarbaraOhrstrom"){
		img = 'images/staff/BOhrstrom.jpg';
		desc = "<b>Barbara Ohrstrom</b> is experienced in curriculum development and assessment, program implementation and evaluation, and creation of instructional "+
		"materials to train faculty. Currently the Writing Center Coordinator at the West Roxbury Education Complex, she earned her Master's degree in Creative Writing from Emerson "+
		"College and came to WriteBoston after teaching at the University of Michigan, the University of San Francisco, and Academy of Art College for fourteen years.";
		title = "Writing Coach";
	}else if(name == "RebeccaSteinitz"){
		img = 'images/staff/RSteinitz.jpg';
		desc = "<b>Rebecca Steinitz</b> is the Writing Coach at Boston Day and Evening Academy, a freelance editor, writer, and consultant to teachers and schools. "+
		"She has her Ph.D. in English from the University of California, Berkeley, where she designed and taught freshman composition courses. As a Professor in the English "+
		"Department at Ohio Wesleyan University, she directed the Freshman Writing Program. She has also served as High School Program Director and Associate Professor at "+
		"Lesley University's School of Education.";
		title = "Writing Coach";
	}else if(name == "LakshmiNayak"){
		img = 'images/staff/npa.gif';
		desc = "<b>Lakshmi Nayak</b> is the Writing Center Coordinator at the Hyde Park Educational Complex, serving three schools: Community Academy of Science and Health,"+
		"Social Justice Academy, and The Engineering School. She holds a Master’s degree in Teaching from Tufts University, and has experience working with students in public,"+
		" pilot, charter, and independent schools. A member of the National Science Teachers Association, she is committed to emphasizing the importance of writing"+
		"across the curriculum.  Lakshmi also teaches adult GED classes at Project Hope, and directs a small choir.";
		title = "Writing Center Coordinator";
	}
	FEATURES = "width=400,height=340,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes,screenX=300,screenY=200,left=400,top=150"; 
	TITLE = title;
	CONTENT = "<HTML><HEAD><TITLE>"+TITLE+"</TITLE></HEAD>" + 
	"<BODY style='font-family:verdana; font-size:9.0pt; color:000000' bgcolor=9BC6C1><CENTER>" + 
	"<P><IMG SRC='" + img + "' BORDER=0 style='margin-bottom: 1.5em'>" + "</CENTER>"+
	desc + "<CENTER><FORM><INPUT TYPE='BUTTON' VALUE='Close' onClick='window.close()'></FORM></CENTER>"+
	"</P></BODY></HTML>";
	pop = window.open("","Biography",FEATURES);
	pop.document.open();
	pop.focus();
	pop.document.write(CONTENT);
	pop.document.close();
} 
/* --- end Frameless Popup Window -- */

/* --- Contact Us form --- */
function IsEmailValid()
{
	//alert("IsEmailValid");
	var EmailOk  = true
	var Temp     = document.contactUs.customerEmail
	var AtSym    = Temp.value.indexOf('@')
	var Period   = Temp.value.lastIndexOf('.')
	var Space    = Temp.value.indexOf(' ')
	var Length   = Temp.value.length - 1   // Array is from 0 to length-1
 
	if ((AtSym < 1) ||                     // '@' cannot be in first position
	    (Period <= AtSym+1) ||             // Must be atleast one valid char btwn '@' and '.'
	    (Period == Length ) ||             // Must be atleast one valid char after '.'
	    (Space  != -1))                    // No empty spaces permitted
   {  
      EmailOk = false
      alert('sean.rhoads.jcs@cityofboston.gov')
      Temp.focus()
   }
	else
	{
		document.contactUs.submit();
	}
}

