﻿        
        //Banner Caption 
           

        var delay = 8000;
        var maxsteps=30;
        var stepdelay=400;
        var startcolor= new Array(255,255,255);
        var endcolor=new Array(0,0,0);

        var fcontent=new Array();
        begintag='<div style="font: normal 14px Arial; padding: 5px;">';
        
        fcontent[0]="<span style='color:#FFFFFF;font-size:18pt;'>The Undisputed Leader in <br>Software Training</span>";
        fcontent[1]="<span style='color:#FFFFFF;font-size:18pt;'>Home of IMPACT Plus <br> What the Corporates are looking for Today</span>";
        fcontent[2]="<span style='color:#FFFFFF;font-size:18pt;'>Best in Training <br>MS.NET and Java Technologies</span> ";
        fcontent[3]="<span style='color:#FFFFFF;font-size:18pt;'>Your choice, <br>Competitor's Envy</span> ";
        fcontent[4]="<span style='color:#FFFFFF;font-size:18pt;'>The Benchmark for <br>Quality Service</span>  ";
        fcontent[5]="<span style='color:#FFFFFF;font-size:18pt;'>We set the standards for others to follow</span> ";
        fcontent[6]="<span style='color:#FFFFFF;font-size:18pt;'>What do these companies have in common? <br>Infosys, Wipro, Satyam, CTS, <br>Infotech, Ivy Comptech... </span>";
        fcontent[7]="<span style='color:#FFFFFF;font-size:18pt;'>You guessed it right!<br> <span style=\"font-size:28pt\">Deccansoft</span></span>";
        
        closetag='</div>';

        var fwidth='550px';
        var fheight='60px';

        var fadelinks=1;

        var ie4=document.all&&!document.getElementById;
        var DOM2=document.getElementById;
        var faderdelay=0;
        var index=0;

        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++;
        }

        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);
          }
        }

        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);
        	
          }   
        }

        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] + ")");
        }

        function ShowCaptions()
        {
            if (ie4||DOM2);
                document.write('<div id="fscroller" style="vertical-align:top;text-align:center;width:100%;height:110px;"></div> ');
             
            if (window.addEventListener)
            window.addEventListener("load", changecontent, false);
            else if (window.attachEvent)
            window.attachEvent("onload", changecontent);
            else if (document.getElementById)
            window.onload=changecontent;
        }
       
       
       function HideAndShow(ele)
        {
            if(ele == 1)
           {
                document.getElementById("liFirst").style.display = "block"; 
                document.getElementById("liSecond").style.display = "none"; 
                document.getElementById("liThird").style.display = "none"; 
                document.getElementById("liFourth").style.display = "none"; 
                 document.getElementById("liFifth").style.display = "none"; 
                document.getElementById("IdTestimonial1").className = "numlinkshi";
                document.getElementById("IdTestimonial2").className = "numlinks";
                document.getElementById("IdTestimonial3").className = "numlinks";
                document.getElementById("IdTestimonial4").className = "numlinks";
                document.getElementById("IdTestimonial5").className = "numlinks";
                
           }
           else if(ele == 2)
           {
                document.getElementById("liFirst").style.display = "none"; 
                document.getElementById("liSecond").style.display = "block"; 
                document.getElementById("liThird").style.display = "none"; 
                document.getElementById("liFourth").style.display = "none"; 
                 document.getElementById("liFifth").style.display = "none"; 
                document.getElementById("IdTestimonial1").className = "numlinks";
                document.getElementById("IdTestimonial2").className = "numlinkshi";
                document.getElementById("IdTestimonial3").className = "numlinks";
                document.getElementById("IdTestimonial4").className = "numlinks";
                document.getElementById("IdTestimonial5").className = "numlinks";
                
           }
           else if(ele == 3)
           {
                document.getElementById("liFirst").style.display = "none"; 
                document.getElementById("liSecond").style.display = "none"; 
                document.getElementById("liThird").style.display = "block"; 
                document.getElementById("liFourth").style.display = "none"; 
                 document.getElementById("liFifth").style.display = "none"; 
                document.getElementById("IdTestimonial1").className = "numlinks";
                document.getElementById("IdTestimonial2").className = "numlinks";
                document.getElementById("IdTestimonial3").className = "numlinkshi";
                document.getElementById("IdTestimonial4").className = "numlinks";
                document.getElementById("IdTestimonial5").className = "numlinks";
               
           }
           else  if(ele == 4)
           {
                document.getElementById("liFirst").style.display = "none"; 
                document.getElementById("liSecond").style.display = "none"; 
                document.getElementById("liThird").style.display = "none"; 
                document.getElementById("liFourth").style.display = "block"; 
                 document.getElementById("liFifth").style.display = "none"; 
                document.getElementById("IdTestimonial1").className = "numlinks";
                document.getElementById("IdTestimonial2").className = "numlinks";
                document.getElementById("IdTestimonial3").className = "numlinks";
                document.getElementById("IdTestimonial4").className = "numlinkshi";
                document.getElementById("IdTestimonial5").className = "numlinks";
           }
           else  if(ele == 5)
           {
                document.getElementById("liFirst").style.display = "none"; 
                document.getElementById("liSecond").style.display = "none"; 
                document.getElementById("liThird").style.display = "none"; 
                document.getElementById("liFourth").style.display = "none"; 
                document.getElementById("liFifth").style.display = "block"; 
                document.getElementById("IdTestimonial1").className = "numlinks";
                document.getElementById("IdTestimonial2").className = "numlinks";
                document.getElementById("IdTestimonial3").className = "numlinks";
                document.getElementById("IdTestimonial4").className = "numlinks";
                document.getElementById("IdTestimonial5").className = "numlinkshi";
           }
        }
         var iVal = 1; 
        
