
            var movies = new Array();  // A register for movies in the page.

            /** 
             * Tabs class.
             */
            function ExtrasTab () {
               this.currentBlock = document.getElementById('feature_1');
               this.currentBlock.style.display = 'block';
            }   

            /** 
             * Tab class method for switching blocks.
             */
            ExtrasTab.prototype.showNextBlock = function (section, showFirst) {
               var idArray = this.currentBlock.id.split('_');
               //alert('loaded block: '+idArray[0] + ' _ ' + idArray[1]);
               var currentSection = idArray[0];
               var position;
               if (! showFirst
                  && section == currentSection
                  && document.getElementById(section+'_'+(Number(idArray[1])+1))
               ) {
                  position = Number(idArray[1])+1;
               } else {
                  position = 1;
               }
               var targetElement = document.getElementById(section+'_'+position);
               this.currentBlock.style.display = 'none';
               for (var i=0; i < window.movies.length; i++) {
                  if (window.ActiveXObject) {
                     try {
                        window.movies[i].Stop();
                        window.movies[i].Rewind();
                     } catch (e) {
                     }
                  }
               }
               targetElement.style.display = 'block';
               if (window.ActiveXObject) {
                  try {
                     if (section == 'video') {
                        document.akamovie.Play();
                     } else if (section == 'testimonialvideo') {
                        document.testimonialsmovie.Play();
                     }
                  } catch (e) {
                  }
               }
               this.currentBlock = targetElement;
               return false;
            }



            /**
             * Function for switching testimonial content
             */
            function displayTestimonial(name) {
               var container = document.getElementById('testimonialText');
               contentElement = document.getElementById('testimonial_'+name);
               if (contentElement) {
                  container.innerHTML = contentElement.innerHTML;
               }
               return false;
            }


            addLoadAction (
               function () {
                  window.tabset = new ExtrasTab();
               }
            );


