﻿// JScript File

   // This method is used to display the bottom message in the internet Page....
   // Message Displays as follows
   // ..SplendTek(SplendTek) - IT Consultancy | IT Solutions | Outsourcing | Engineering......
   
        var current = 0 //intial value
        var x = 0 
        var speed = 100 
        var speed2 = 1000 

        function initArray(n) { 
          this.length = n; 
          for (var i =1; i <= n; i++) { 
            this[i] = ' ' 
          } 
        } 

        typ = new initArray(1) 
        typ[0]=" SplendTek - SplendTek(SplendTek) - IT Consultancy | IT Solutions | Outsourcing | Engineering......" 

        function typewrite() 
        { 
            var m = typ[current]
            
            window.status = m.substring(0, x++) + "_" 

            if (x == m.length + 1) 
            { 
                x = 0 ;
                current++; 

                if (current > typ.length - 1) 
                { 
                    current = 0 ;
                } 

                setTimeout("typewrite()", speed2) 
           } 
           else 
           { 
               setTimeout("typewrite()", speed) 
           } 
        }       
