function WriteNewClasses()
{			
	document.write("<table width=94% border=1 align=center cellpadding=2 cellspacing=0 bgcolor=#FFFF00>")
	document.write("<TR>")
	document.write("<TD align=center>")
	document.write("<p class='comic_lgst style8'>ECUADOR</P>")
	document.write("<p class=comicsans14><a href=english_and_more.html>ENGLISH & MORE</a></P>")
	//document.write("<p class=comicsans><span class=red>NEW!</span> <a href=english_and_more.html>FUN IMMERSION para niņos</a></p>")
	document.write("<p class=comicsans14><span class=red style=font-size:8;>COMING SOON</span> <a href=letstalk.html>LET'S TALK</a></p>")
	document.write("<p class=comicsans14><span class=red style=font-size:8;>COMING SOON</span> <a href=new_in_town.html>NEW IN TOWN</a></p>")
	document.write("<p class=comicsans14><span class=red style=font-size:8;>COMING SOON</span> <a href=spanish_for_visitors.html>SPANISH FOR VISITORS</a></p>")
	document.write("</TD>")
	document.write("</TR>")
			
	//document.write("<TR>")	
	//document.write("<td valign=top align=center><P class='comic_lgst style8'>SUMMER 2010</P>")            
	//document.write("<p class=comicsans><a href=steppingstones_summer.html>Southern NH Summer Classes</a></p>")
	//document.write("</td>")
	//document.write("</tr>")

	document.write("<tr>")
	document.write("<td valign=top align=center>")
	document.write("<P class='comic_lgst style8'>WINTER 2012</P>") 
	document.write("<p><img src=images/massachusetts.gif alt=Massachusetts Spanish Classes width=175></p>")
	document.write("<p class=comicsans><a href=spanish-classes_hamilton_wenham.html>Hamilton - Wenham</a></p>")
	//document.write("<p class=comicsans><a href=spanish-classes_newburyport.html>Newburyport</a></p>")
	document.write("<p class=comicsans><a href=pike-school.html>Pike School, Andover</a></p>")
	document.write("<p class=comicsans><a href=spanish-classes_peabody.html>St Johns, Peabody</a></p>")
	//document.write("<p class=comicsans><a href=http://www.easternpointdayschool.org target=_blank>Eastern Point Day School</a></p>")
	//document.write("<p class=comicsans><a href=spanish-classes_georgetown.html>Georgetown Schools</a></p>")
	document.write("<p class=comicsans><span class=red>NEW!</span> <a href=spanish_home_schoolers.html target=_blank>Spanish for Home-schoolers</a></p>")
	
	document.write("</td>")
	document.write("</tr>")

	document.write("<tr>")
	document.write("<td valign=top align=center>")
	document.write("<p><img src=images/newhampshire.gif alt=New Hampshire Spanish Classes width=175></p>")
  //document.write("<p class=comicsans><a href=newbostoncentral-school.html>New Boston Central School</a></p>")
	document.write("<p class=comicsans><a href=spanish-classes-derry-nh.html>Adults - Derry, NH</a></p>")
	//document.write("<p class=comicsans><a href=spanish-classes-EastDerry-nh.html>Derry, NH - Children</a></p>")
	//document.write("<p class=comicsans><a href=discovery-stop.html>Discovery Stop, Londonderry, NH</a></p>")
	document.write("<p class=comicsans><a href=spanish-classes_pelhamNH.html>Pelham Elementary School</a></p>")
	document.write("<p class=comicsans><a href=spanish-classes_windham.html>Windham Center School Windham</a></p>")
	document.write("<p class=comicsans><a href=casa_dei_bambini.html>Casa Dei Bambini, Bow</a></p>")
	document.write("<p class=comicsans><span class=red>NEW!</span> <a href=spanish_home_schoolers.html target=_blank>Spanish for Home-schoolers</a></p>")
	document.write("</td>")
	document.write("</tr>")
	document.write("</table>")
}

function MM_swapImgRestore() 
{ //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() 
{ //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) 
{ //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() 
{ //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function WriteImageMenu()
{
	document.write("<p align=center>")
	document.write("<a href=index.html                         onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image3','','images/Rnav1.gif',1);><img src=images/nav1.gif alt='Return to More Than Spanish' name=Image3 width=125 height=62 border=0 id=Image3 /></a><br>")
  document.write("<a href=spanish-programs-for-children.html onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image4','','images/Rnav2.gif',1);><img src=images/nav2.gif alt='Spanish Programs' name=Image4 width=125 height=62 border=0 id=Image4 /></a><br>")
  document.write("<a href=spanish-programs.html              onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image5','','images/Rnav3.gif',1);><img src=images/nav3.gif name=Image5 width=125 height=62 border=0 id=Image5/></a><br>")
  document.write("<a href=about-more-than-spanish.html       onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image6','','images/Rnav4.gif',1);><img src=images/nav4.gif name=Image6 width=125 height=62 border=0 id=Image6/></a><br>")
  document.write("<a href=register-for-spanish-classes.html  onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image7','','images/Rnav5.gif',1);><img src=images/nav5.gif name=Image7 width=125 height=62 border=0 id=Image7/></a><br>")
  document.write("<a href=employment.html                    onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image13','','images/Rnav6.gif',1);><img src=images/nav6.gif name=Image13 width=125 height=62 border=0 id=Image13/></a><br>")
  document.write("<a href=cancellation.html                  onmouseout=MM_swapImgRestore(); onmouseover=MM_swapImage('Image8','','images/Rnav1.gif',1);><img src=images/nav8.png name=Image8 width=125 height=62 border=0 id=Image8/></a><br>") 
  document.write("</p>")
  document.write("<p align=center>")
  document.write("<a href='http://www.facebook.com/pages/Gloucester-MA/More-Than-Spanish/401074085470?ref=search&amp;sid=1226257486.1025023490..1' target=_blank>Visit us on Facebook</a></span>")
  document.write("<a href='http://www.facebook.com/pages/Gloucester-MA/More-Than-Spanish/401074085470?ref=search&amp;sid=1226257486.1025023490..1'><br>")
  document.write("<img src=images/facebook.gif alt='Facebook' width=100 height=38 border=0/></a></p>")
}

function WriteFooter()
{
	document.write("<hr size=1 noshade=noshade />")
	document.write("<p align=center>")
	document.write("<a href=index.html>Home</a> l ")
	document.write("<a href=spanish-programs-for-children.html>Children's Program</a> l ")
	document.write("<a href=spanish-programs.html>Other Programs</a> l ")
	//document.write("<a href=pike-school.html>Pike School, Andover, MA</a> l ")
	//document.write("<a href=spanish-classes_georgetown.html>Georgetown Schools</a>  l ")
	//document.write("<a href=spanish-classes_hamilton_wenham.html >Hamilton - Wenham </a>")
	//document.write("<a href=spanish-classes_newburyport.html>Newburyport</a> l ")
	//document.write("<a href=spanish-classes-derry-nh.html>Derry, NH</a><br />")
	//document.write("<a href=spanish-classes-EastDerry-nh.html>East Derry Memorial Elementary School</a></span> l ")
	//document.write("<a href=discovery-stop.html>Discovery Stop,Londonderry, NH</a></a></a> l ")
	//document.write("<a href=spanish-classes_pelhamNH.html>Pelham Elementary School</a><br />")
	//document.write("<a href=spanish-classes_windham.html>Windham Center School Windham, NH</a> l ")
	//document.write("<a href=spanish-classes-derry-nh.html>Southern New Hampshire</a> l ")
	//document.write("<a href=spanish-classes_peabody.html>St Johns, Peabody</a> l ")
	document.write("<a href=about-more-than-spanish.html>About Us</a> l ")
	document.write("<a href=register-for-spanish-classes.html>Register Here</a> l ")
	document.write("<a href=employment.html>Employment</a> </p>")
	document.write("<p align=center>")
	document.write("<span classboldtext>More Than Spanish</span> &#8226; 1 Wiley Street, Gloucester MA 01930  &")
	document.write(" PO BOX 231 Pelham NH 03076 <BR>")
	document.write("978.239.7477 &#8226; <a href='mailto:classes@morethanspanish.net'>Email Us</a><br />")
	document.write("<span class=copyright>copyright&copy; 2007-2011 &#8226; More than Spanish All Rights Reserved </span><br />")
	document.write("</p>")
}

function WriteTestimonials(nTestNumber)
{
	document.write("<BR>")
	document.write("<table width=93% border=1 align=center cellpadding=3 cellspacing=0 background=images/y_bkgd.jpg bgcolor=FFFF00>")
	document.write("</table>")
	document.write("<BR>")
	document.write("<table width=85% border=1 align=center cellpadding=4 cellspacing=0 background=images/blue_bkgd.jpg>")
	document.write("<tr>")
	document.write("<td><div align=center class=testimonial>Read what they're saying about More Than Spanish! </div></td>")
	document.write("</tr>")
	document.write("<tr>")
	document.write("<td class=testimonialtext>")
	document.write("<p align=center><I>")
	
	if (nTestNumber == 0)
	{
		document.write("&quot;My son Joshua loves Spanish! He counts his numbers, he sings Spanish songs and he")
		document.write(" always says: 'Hola mis amigos' to all his friends. He wants to be a Spanish Teacher")
		document.write(" because he thinks Spanish is Cool!&quot;<br />")
		document.write("Martha Dow<br />")
		document.write("Newburyport, MA")
	}
	else if (nTestNumber == 1)
	{
		document.write("&quot;I would recommend your program for anyone who is interested in")
		document.write(" having their child learn a second language at an early age. Your fantastic personality")
		document.write(" (Senora Veronica) and energy really make the classes a pleasure. My kids will be back in")
		document.write(" the fall to continue their Spanish education. We love the classes and the songs!&quot; <br />")
		document.write("Sue Spann <br />")
        	document.write("Hamilton, MA<br />")
        } 
        else if (nTestNumber == 2)
        {
        	document.write("&quot;Her friend, who takes the class also, comes over and")
        	document.write(" they walk around the house singing in Spanish. My Mom, who takes her to the class,")
        	document.write(" has hung around and she comes home singing the songs too! Pretty funny.&quot;<br />")
        	document.write("Nancy Knight<br />")
        	document.write("Wenham, MA")
        }
        else if (nTestNumber == 3)
        {
        	document.write("&quot;Mara is being tutored at home. She is learning Spanish and she")
        	document.write(" is having fun! It is great to see her learning so much each week. We are truly grateful")
        	document.write(" and happy to have Cristina as her tutor.&quot;<br />")
        	document.write("Greg &amp; Nancy Hall<br />")
        	document.write("Portsmouth, NH")
        }
        else if (nTestNumber == 4)
        {
				  document.write("&quot;Her friend, who takes the class also, comes over and")
        	document.write(" they walk around the house singing in Spanish. My Mom, who takes her to the class,")
        	document.write(" has hung around and she comes home singing the songs too! Pretty funny.&quot;<br />")
        	document.write("Nancy Knight<br />")
        	document.write("Wenham, MA")
        }
	
	document.write("</I></p></td>")
	document.write("</tr>")
	document.write("</table>")
}


function WriteOwnClass()
{
	document.write("<BR>")
	document.write("<table width=83% border=1 align=center cellspacing=0 cellpadding=0>")
	document.write("<tr>")
	document.write("<td>")
	document.write("<table width=100% border=0 align=center cellspacing=0 cellpadding=8>")
	document.write("<tr>")
	document.write("<td bgcolor=#FFFF00 align=center><img src=images/create_spanish.gif alt='Create Your Own Spanish Class' width=129 height=71 /><br />")
	document.write("All you need are yourself and 5 friends (6 students minimum) who wish to take Spanish classes. The location,")
	document.write(" frequency, day and time is up to you and <BR><span class=boldtext><a href='mailto:classes@morethanspanish.net'>your")
	document.write(" tuition is on us</a>!</span></td>")
	document.write("</tr>")
	document.write("</table>")
	document.write("</td>")
	document.write("</tr>")
	document.write("</table>")
	
	document.write("<BR>")
	document.write("<table width=83% border=1 align=center cellspacing=0 cellpadding=0>")
	document.write("<tr>")
	document.write("<td>")
	document.write("<table width=100% border=0 align=center cellspacing=0 cellpadding=8>")
	document.write("<tr>")
	document.write("<td bgcolor=#FFFF00 align=center>MUSIC &amp; MATERIALS by ")
	document.write("<a href='http://www.dololanguages.com' target=_blank>")
	document.write("www.dololanguages.com</a></span></td>")
	document.write("</tr>")
	document.write("</table>")
	document.write("</td>")
	document.write("</tr>")
	document.write("</table>")
	document.write("<BR>")
}

function ExpandText(nParam)
{
	eval("document.getElementById('EText" + nParam + "').style.visibility = 'visible'")
	eval("document.getElementById('EText" + nParam + "').style.display = 'block'")
}
 
function HideText(nParam)
{
	eval("document.getElementById('EText" + nParam + "').style.visibility = 'hidden'")
	eval("document.getElementById('EText" + nParam + "').style.display = 'none'")
}
