var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

window.onload = function() {
	var mozilla = false; var ie = false;
  if (document.all) { ie = true; }
  else if (document.getElementById) { mozilla = true; }

	//document.getElementById('date').innerHTML = dayarray[day]+", "+montharray[month]+" "+daym+", "+year;
  rotate_testimonial();
}

function openWindow(src,w,h) {
  w+=30; h+=20;
  window.open(src,"popup",'scrollbars,width='+w+',height='+h+'');
}

function openShow(album) {
  slideshow = window.open('./slide_show.php?album='+ album,'slideshow','resizable,scrollbars,titlebar');
}

function rotate_testimonial() {
  if(document.getElementById("testimonial")) {
		x = Math.round(Math.random() * testimonials.length) - 1;
		if(x < 0) {
			x = 0;
		}
    document.getElementById("testimonial").innerHTML = testimonials[x];
    setTimeout("rotate_testimonial()", 17400);
  }
}

var testimonials = new Array("<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />Let\'s Learn R was a tremendous breakthrough for me in treating my R students. The materials I had, no matter how innovative or creative I was,  were still boring for the students, especially when they came to me at 8, 9 and 10 years old! They loved Let\'s Learn R because it took the boredom out of the old fashioned articulation drills. We are moving ahead so quickly my head is spinning. I want other SLPs to know that Let\'s Learn R works!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/> Marilyn Heagney,<br/>  M.A.CCC-SLP<br/>","<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I am able to offer Let\'s Learn R  to a student, knowing that the student is receiving quality practice work independently. This allows me the flexibility to work intensively with a second student one on one, knowing  that both students are receiving quality articulation instructions. The students love the games and activities and I feel confident that they are getting what they need to remediate their /r/ sounds.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/> Krissy Commendatore,<br/>  M.A.CCC-SLP<br/>","<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I have found that the Let\'s Learn R program is beneficial for students who are ready for a systematic, explicit, home practice program. I loan the Let\'s Learn R (Home Edition) CD to students and parents through a \"sign out\" system. With this program, I know they are hearing correct production and are practicing in a structured appropriate manner.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/>Gayle Gann,<br/>Speech-Language Pathologist",  "<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />The Let\'s Learn R program allows students to practice articulation drills using technology and have fun at the same time. Each of my \"R\" students has one session per week for individual practice using this program. The students are eager for their day on the computer and no one complains about practicing their sounds on \"Let\'s Learn R\" day.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/>Gayle Gann,<br/>Speech-Language Pathologist",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I have had Let\'sLearn R for 5 months and have used both the home program with parents and the professional program in the therapy room. I would thoroughly recommend the program. Violette has recognized that our kids of the future respond to computer aided programs. Thanks Violette for creating such a great program. <img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/>Lori Coffin,<br/> M.S. CCC-SLP, M.S..Ed.",																																																																																																																																																																																																																																																																																																																																																																																									 
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />The Let\'s Learn R program is an excellent tool for working with children having difficulty producing the \"R\" sound.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><br/><br/> Linda Boone,<br/>M.A.-CCC, Clinical Supervisor");