/* 
Write the heading on each page.
Use spacial class for Home page.
*/
function writeHeading(home)
{    
    document.write('\
        <div class="text-header" style="">\
        <div class="headingSubtitle" style="color:#f7f2f5">\
        <div>Quality Piano Lessons for children and adults in <br/>two convenient locations:\
        Natick and Hudson, MA.</div>\
        </div></div>');
    
     document.write('<div class="text-header" style="width:980px;margin-top:10px;">\
    <div class="headingSubtitle" style="font-size:16px;color:#fbfbfb;">\
    Now Accepting Students for Our <a href="/pianolessons/" style="color:#fbfbfb;font-size:15px;font-weight:bold">2012 Winter Term</a></div>\
    </div>');
}

function getGoogleNatickLocation()
{
    return "http://maps.google.com/maps?f=q&hl=en&geocode=&q=99+Hartford+Street,+Natick,+MA+01760&sll=37.0625,-95.677068&sspn=60.376022,112.5&ie=UTF8&ll=42.294405,-71.386929&spn=0.007,0.013733&z=16&iwloc=addr";
}

function getGoogleHudsonLocation()
{
    return "http://maps.google.com/maps?f=q&hl=en&geocode=&q=14+Main+St++hudson+ma&sll=37.0625,-95.677068&sspn=60.376022,100.546875&ie=UTF8&ll=42.393211,-71.570134&spn=0.006989,0.012274&z=16&iwloc=addr";
}

$testimonial = new Array();
$testimonial[0] = "Mr.Mascari's many years of experience have given him the ability to adjust his teaching style to meet each student's individual needs. He makes learning the piano both fun and informative by exposing the children to many types of music including classical, jazz and popular tunes.  We would highly recommend him as a piano teacher for anyone looking to begin or improve their piano playing.";
$testimonial[1] = "Mr. Mascari creates a fun and entertaining environment to keep students engaged. He teaches music appreciation by telling interesting stories about composers thus creating images beyond the sheet-music. By incorporating the playing of recorded musical examples into the learning process, he also teaches kids the art of listening. Playing piano has given our boys self-confidence, taught them work- ethic, and most importantly, the love of music. We are grateful and fortunate to have found Mr. Mascari.";
$testimonial[2] = "For many years, I wanted to be able to play the piano, but as adult, the idea seemed formidable and beyond my reach. With Ed I have been able to play so many of my favorite pieces and the journey has been absolutely wonderful.";
$testimonial[3] = "I have known Ed for 30 years and I am a professional musician. I am amazed how well Ed can put a point across. He is very easy to understand and is very motivating in his approach to music and practicing. This is truly a sign of a great teacher. At my level I can apply everything to my own practice routine that Ed talks about in his <i>Conversations at the Piano</i> series. Thanks Ed !!";
$testimonial[4] = "I have been taking piano lessons from Ed for many years. Never having taken lessons as a child, I have had to meet with the challenges of being an adult learner. Ed has always been very patient and willing to adapt to my ever-changing musical interests.";
$testimonial[5] = "Mr. Mascari really understands children - their phases of development and their temperaments. He has a wonderful ability to adapt to the individual needs/desires of a child to make the experience one of loving to learn. We have seen our son both grow as a musician and develop an appreciation for music that is very gratifying as parents.";
$testimonial[6] = "Your piano lessons are Eleanor's favorite. She always looks forward to them. And she has come so far! I still can't believe she played for so many people at the end of last year.";
$testimonial[7] = "I have found Ed to be extremely creative and flexible in his approach to my learning. He gives careful thought to my needs, recognizing my past accomplishments while leading me in new directions with expert guidance.";
$testimonial[8] = "All of your years encouraging and feeding David's love of piano and composing are really coming home to roost now, Ed. He is looking to do either a joint degree in a music conservatory and an undergrad degree in some liberal arts subject (avaialble at a few places like Oberlin), or go to a liberal arts school that has a very strong jazz program. We'll keep you posted on this as you have been such a key part of his musical development. I, literally, wouldn't have known how to help him become a musician, but you were instrumental (no pun intended) in it.";
$testimonial[9] = "Ed, I just want to tell you how lucky I feel to have found you guys. My teacher has worked with me at my pace and with my music interests really helping me to enjoy practicing and playing. I never ever thought I would be playing real music so fast.";
$testimonial[10] = "We are very pleased with our 8 year old son George's lessons with Erika Hirsch. She has welcomed his learning style, has consistently challenged him, and has been a great communicator with us! George is very happy here, as well!";
$testimonial[11] = "Ed is much more than a piano teacher, he has ignited in our son some of his passion, talent and understanding of music. The result is a true appreciation for all forms of music and an ability to play a wide variety of music.";
$testimonial[12] = "Mr. Mascari has the perfect combination of musical talent and knowledge combined with the ability to teach students and inspire them. He is able to influence and encourage students at all levels.";
$testimonial[13] = "The recital on Sunday was just lovely!! I love your introductory comments for each child and it was so great to see each of their personality's as well as how they progress the longer they stick to it. I was very sorry that I could not stay until the end as I would have loved to have seen your most advanced students. Also - thank you for being such a supportive teacher. I think that it is wonderful that you let them pick their own pieces for the recital. I asked Skylar if she wanted to continue with piano for next year and she responded, \"Yes. . of course!\" and gave me a look like it was a very dumb question. I am thrilled that she likes it so much.";

$testimonialAuthor = new Array();
$testimonialAuthor[0] = "Christine Gentry, Parent";
$testimonialAuthor[1] = "Jim Billings, Parent";
$testimonialAuthor[2] = "Debbie Lovewell, Adult Student";
$testimonialAuthor[3] = "Joe Morocco";
$testimonialAuthor[4] = "Mary Rapa, Adult Student";
$testimonialAuthor[5] = "Deval Canning, MD, Parent";
$testimonialAuthor[6] = "Rebecca Lynch-Bacon, Parent";
$testimonialAuthor[7] = "Dennis LaRosee, Adult Student";
$testimonialAuthor[8] = "Mark Leach, Parent";
$testimonialAuthor[9] = "Bill Askew, Adult Student Hudson Studio";
$testimonialAuthor[10] = "Laurie Sachs & Kevin Walor, Hudson, MA";
$testimonialAuthor[11] = "Mike Benjamin, Parent";
$testimonialAuthor[12] = "Heidi Harper, Parent";
$testimonialAuthor[13] = "Kimberly Booker Schmid, Parent";

function writeTestimonal($index)
{
	document.write('<div class="testimonial"><div class="testimonialHeading">Student/Parent Feedback</div>"' + $testimonial[$index] + '"<div class="testimonialAuthor">' + $testimonialAuthor[$index] + '</div></div>');
}

