﻿
              /***********************************************
              * Fading Scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
              * This notice MUST stay intact for legal use
              * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
              ***********************************************/

              var delay = 7000; //set delay between message change (in miliseconds)
              var maxsteps=30; // number of steps to take to change from start color to endcolor
              var stepdelay=40; // time in miliseconds of a single step
              //**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
              var startcolor= new Array(255,255,255); // start color (red, green, blue)
              var endcolor=new Array(109,167,107); // end color (red, green, blue)

              var fcontent=new Array();
              begintag=''; //set opening tag, such as font declarations
							fcontent[0]="\"I absolutely love your website! It has truly revolutionized my classroom! It is nice to hear over and over again from parents how great it is to be able to check homework and such on my beautiful website! You make me look great!\"<strong class=\"client\">Dawn F.</strong>";
							fcontent[1]="\"I am using my website daily as a dayplanner for my students. It is great to put in what we have been doing and what is upcoming. I am finding that I have completely replaced my written planner with my website. This is the best teacher resource I have ever seen in my 14 years of teaching.\"<strong class=\"client\">Christine B.</strong>";
							fcontent[2]="\"I LOVE your site!! I have been able to very easily build a classroom website that I am proud of and that will be very useful for parents, students and myself. Thank you to the genius who developed such a simple method for non-techies like me.\"<strong class=\"client\">Jean P.</strong>";
							fcontent[3]="\"I've been telling the teachers at my school about TeacherWeb for years. It's the easiest! Best supported! Most stable platform! AND very versatile! Keep up the good work! You all are the BEST! Your results were right on the money and your response time EXCELLENT! You just keep being wonderful to work with!\"<strong class=\"client\">Laura B.</strong>";
							fcontent[4]="\"Many thanks for creating this venue for teachers who want to provide the very best information center for our students, parents, and all those who want to see our kids excel! Your product is easy, well-planned, and an exciting part of every school day for us. Keep up the great work!\"<strong class=\"client\">Eden J.</strong>";
							fcontent[5]="\"I just wanted to send you a thank you for your creation of TeacherWeb! My special education high school students were able to use it continuously. No one ever \"lost\" their homework, because they could always print out another copy. Also, the continuous use of the site helped my students with their computer skills!\"<strong class=\"client\">Dr. Sharon B.</strong>";
							fcontent[6]="\"I have used TeacherWeb for a long time. I think it is hands-down the best and easiest to use website for teachers. Thanks for all the great features that you have added over the years and continue to add. Keep up the good work.\"<strong class=\"client\">Karen C.</strong>";
							fcontent[7]="\"This site is the best thing since sliced bread! All 3 of our Pre-K classrooms use this site and we have had nothing but positive feedback. We are finding it super easy to use, with more than enough features to keep us all happy. Thanks for making our jobs easier!\"<strong class=\"client\">Pre K F.</strong>";
							fcontent[8]="\"I cannot say enough about this wonderful web site. It not only has provided me with an extra tool to communicate with my parents, but it has so many great features for parents to access at their convenience from home or work. I love the fact that it is so user friendly too. Thank you.\"<strong class=\"client\">Tony R.</strong>";
							fcontent[9]="\"Thank you so much for your patient assistance with my getting my online grading system started. It works beautifully-- as I hoped it would. Now I feel I can better communicate with my students' parents and guardians. You will not believe the feedback that I receive just from doing this on a weekly basis.\"<strong class=\"client\">Kacy V.</strong>";
							fcontent[10]="\"I want to thank you for making it so accommodating for those of us with very hectic schedules. There have been so many compliments on the format of the web, the great graphics and that it is so user-friendly. Thanks again for all of your wonderful and hard work to make this so successful and great for my students and parents.\"<strong class=\"client\">Sheryl S.</strong>";
							fcontent[11]="\"Thank you, thank you, thank you again! Your customer service is outstanding. Your websites are amazing and I have recommended them to many teacher friends of mine!\"<strong class=\"client\">Ellie P.</strong>";
							fcontent[12]="\"I cannot thank you enough for the difference my website has made in how much easier it is to keep parents informed. They LOVE that I email them the daily homework page and beg their student's other teachers to do it, too!\"<strong class=\"client\">Barbara C.</strong>";
							fcontent[13]="\"Thank you SO much! I have always spoken highly of your site because of its user friendliness. Now I can add that your help and support was EXTREMELY prompt. My students and I truly appreciate it!\"<strong class=\"client\">Susan P.</strong>";
							fcontent[14]="\"TeacherWeb has always gone above and beyond for us. Customer service has been outstanding at TeacherWeb. We also appreciate all the upgrades you've made to the product.\"<strong class=\"client\">Allison F.</strong>";
							fcontent[15]="\"I want to start by complimenting you at TeacherWeb for your continuing commitment to quality and progress. You continue to add to your services and the choices that users have in creating their pages. For my teachers who aren't interested in learning web design for themselves, TeacherWeb provides an easy-to-use alternative that allows them to communicate well and individually.\"<strong class=\"client\">Beth T.</strong>";
							fcontent[16]="\"Your site is the first time I flew through making a web site and found it to be fun instead of frustrating. My creativity flows instead of my tears!!\"<strong class=\"client\">Lisa H.</strong>";
							fcontent[17]="\"Thank you for the quick response. (This surely makes my first impressions even better with your wonderful tech support.) I did figure out how to navigate the site and it is FABULOUS! Very easy to use and make changes. I will make sure that other teachers in my district are aware of this wonderful web design site.\"<strong class=\"client\">Pam K.</strong>";
							fcontent[18]="\"The web site was great and parents loved it. I received lots of good comments about it. Thank you for making it easy for this teacher who does not have a lot of web page know-how. The tech support was just great - every question was answered very quickly and in a language I could understand. Again, thank you.\"<strong class=\"client\">Frank G.</strong>";
							fcontent[19]="\"YOU ARE AWESOME PEOPLE. I sent an email about two problems that I was having and a day later I had a detailed response.\"<strong class=\"client\">Al H.</strong>";
							fcontent[20]="\"This website has helped raise the quality of student and parent involvement in my classes. I recommend the system to every teacher. It really helps keep the home involved with the student's education.\"<strong class=\"client\">Paul B.</strong>";
							fcontent[21]="\"I have used your site for the last several years and it is a Godsend to our school! Our communication with parents has increased dramatically with your site. It is fun and easy to use.\"<strong class=\"client\">Judy P.</strong>";
							fcontent[22]="\"Thank you, thank you, thank you! Your instructions were clear and the links you sent were very helpful. This was the best experience I've ever had with any tech support.\"<strong class=\"client\">Laura H.</strong>";
							fcontent[23]="\"Wow! I am so impressed by the speed with which you answered my question! The people who help link our school web site to the school district site are recommending TeacherWeb, and I can see why. Thanks so much!\"<strong class=\"client\">Pam S.</strong>";
							fcontent[24]="\"Thank you so much - not only for your assistance, but the promptness in which you replied. If only all of my computer \"issues\" could be solved so easily and quickly!\"<strong class=\"client\">Debora P.</strong>";
							fcontent[25]="\"I have thoroughly enjoyed using your service. The webpage was easy to create and very professional. Both parents and students have enjoyed the reference they found at my site. I have encouraged my colleagues to use your service. Thanks for the great ride! Make that a BIG thank you!\"<strong class=\"client\">John K.</strong>";
							fcontent[26]="\"I continue to be overwhelmed by your fast response time and your willingness to accept feedback and suggestions from users. From those of us who have beta tested software for years and those who are software/site users THANK YOU!!!\"<strong class=\"client\">Virginia B.</strong>";
							fcontent[27]="\"TeacherWeb is so user friendly, I have recommended it to many colleagues. I am now even more confident in it with such a display of customer service. Thank you so much for making it easy to create a website for my classes. I have already gotten many positive parent responses, and the school year has not yet begun!\"<strong class=\"client\">Chrissy S.</strong>";
							fcontent[28]="\"Wow, that was the fastest customer service ever!! (This is why I have gotten so many teachers signed up with TeacherWeb!)\"<strong class=\"client\">Fawn N.</strong>";
							fcontent[29]="\"I must congratulate you on such quick and efficient service. My thanks to you for your technical expertise and your flexibility.\"<strong class=\"client\">Jules P.</strong>";
							fcontent[30]="\"I love this site and am thrilled with the flexibility to be as creative as I choose. Thank you again for this service.\"<strong class=\"client\">Barbara H. H.</strong>";
							fcontent[31]="\"You guys are great. I am a real novice and need support such as yours to run my little online portion of my schools here in South America. I am alone on Sunday working on my curriculum and it is a great surprise to get you guys on the weekend. Five stars for Service. This is what we pay for: not the software, not the hardware, but the real people who solve even the littlest problems such as mine. Muchas Gracias!\"<strong class=\"client\">Patrick R.</strong>";
							fcontent[32]="\"This is the most helpful response I have ever gotten from a tech support email. Thank you so much for your quick and helpful response.\"<strong class=\"client\">Nicole P.</strong>";
							fcontent[33]="\"Your Tech Support is awesome! I have never had to wait long, nor have I ever gotten anything but the best (and nicest!) replies.\"<strong class=\"client\">Leslie N.</strong>";
							fcontent[34]="\"I just wanted to thank you for your clear and prompt response to my question. It's rare to have such outstanding customer service these days, and you should be commended for it. I've told many people about the great job you do at TeacherWeb.\"<strong class=\"client\">Loraine M.</strong>";
							fcontent[35]="\"I love this website and have had lots of positive comments from parents and colleagues about what I was able to do through this website. Thanks for making it easy, colorful, and fun!\"<strong class=\"client\">Marsha M.</strong>";
							fcontent[36]="\"Thank you and keep up the great work... the web pages have been a huge hit with our parents, community, and staff.\"<strong class=\"client\">Kevin R. Y.</strong>";
							fcontent[37]="\"I am really enjoying the TeacherWeb website. It has been very user-friendly and is an awesome way to communicate with parents, as well as post assignments and grades for students, too.\"<strong class=\"client\">Natalie F.</strong>";
							fcontent[38]="\"You are the best. I can't tell you how much we love TeacherWeb and encourage all our new teachers to create sites!\"<strong class=\"client\">Arlene E.</strong>";
							fcontent[39]="\"I am enjoying the TeacherWeb site very much and have been so impressed with its ease of use and tech support.\"<strong class=\"client\">Joy B.</strong>";
							fcontent[40]="\"Thank you so very much for the quick and thorough reply! You did an awesome job. If only everything in school worked so well!!\"<strong class=\"client\">Elisabeth S.</strong>";
							fcontent[41]="\"This website is outstanding--because it is so user friendly and because of your teacher support! Love it.\"<strong class=\"client\">Lynn M.</strong>";
							fcontent[42]="\"Thank you so much for providing us with such a wonderful tool. I absolutely love working on my website!\"<strong class=\"client\">Jennifer O.</strong>";
							fcontent[43]="\"I have thoroughly enjoyed having TeacherWeb for my website for the past 5+ years... It was easy to work with, and so easy for parents (and even grandparents and family across the country) to see what their children are doing in class... Thanks for all that you do.\"<strong class=\"client\">Dottie M.</strong>";
							fcontent[44]="\"I've been using TeacherWeb for 2 years and absolutely LOVE it! My students, parents, and colleagues love it and use it all the time.\"<strong class=\"client\">Nancy C.</strong>";
							fcontent[45]="\"I love your website services! So easy and quick to put up a professional looking web site! Thank you Thank you!\"<strong class=\"client\">Cheri B.</strong>";
							fcontent[46]="\"I love Teacher Web. You make keeping my parents informed an easy job! I am not a gifted computer wizard and really like to use the photos/documents page. It is the easiest way to get pictures of my classroom available for my families.\"<strong class=\"client\">Martha D.</strong>";
							fcontent[47]="\"We love this website so much and it has made a huge difference at our school of 2050 students!\"<strong class=\"client\">Lisa R.</strong>";
							fcontent[48]="\"You folks are terrific! Anytime I've contacted you, you always reply within a reasonable time frame, and your answers and information are always helpful!\"<strong class=\"client\">Ruth T.</strong>";
							fcontent[49]="\"Thank you for all your help. I have rarely dealt with a more efficient and courteous support group.\"<strong class=\"client\">J. C.</strong>";

              closetag='';

              var fwidth='175px'; //set scroller width
              var fheight='200px'; //set scroller height

              var fadelinks=1; //should links inside scroller content also fade like text? 0 for no, 1 for yes.

              ///No need to edit below this line/////////////////


              var ie4=document.all&&!document.getElementById;
              var DOM2=document.getElementById;
              var faderdelay=0;
              var index=0;


              /*Rafael Raposo edited function*/
              //function to change content
              function changecontent(){
               if (index>=fcontent.length)
                index=0
               if (DOM2){
                document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
                document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
                if (fadelinks)
                 linkcolorchange(1);
                colorfade(1, 15);
               }
               else if (ie4)
                document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
               index++
              }

              // colorfade() partially by Marcio Galli for Netscape Communications. ////////////
              // Modified by Dynamicdrive.com

              function linkcolorchange(step){
               var obj=document.getElementById("fscroller").getElementsByTagName("A");
               if (obj.length>0){
                for (i=0;i<obj.length;i++)
                 obj[i].style.color=getstepcolor(step);
               }
              }

              /*Rafael Raposo edited function*/
              var fadecounter;
              function colorfade(step) {
               if(step<=maxsteps) {
                document.getElementById("fscroller").style.color=getstepcolor(step);
                if (fadelinks)
                 linkcolorchange(step);
                step++;
                fadecounter=setTimeout("colorfade("+step+")",stepdelay);
               }else{
                clearTimeout(fadecounter);
                document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
                setTimeout("changecontent()", delay);

               }
              }

              /*Rafael Raposo's new function*/
              function getstepcolor(step) {
               var diff
               var newcolor=new Array(3);
               for(var i=0;i<3;i++) {
                diff = (startcolor[i]-endcolor[i]);
                if(diff > 0) {
                 newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
                } else {
                 newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
                }
               }
               return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
              }

              if (ie4||DOM2)
               document.write('<div id="fscroller" style="border:0px; width:'+fwidth+';height:'+fheight+'"></div>');

              if (window.addEventListener)
              window.addEventListener("load", changecontent, false)
              else if (window.attachEvent)
              window.attachEvent("onload", changecontent)
              else if (document.getElementById)
              window.onload=changecontent


