﻿<!--
   
    function animateString(id,str,n)
    {
        var temp = null;
        var t = null;
        var interval = null;
        var n;
        
        temp = new Array();
        temp = str.split('');
        document.getElementById(id).innerHTML = '';
        
        for (var i = 0; i < temp.length; i ++)
        {
            if (i == n)
            {
                document.getElementById(id).innerHTML += "<span style='background-color:#e3e3e3; color: #ffffff;'>" + temp[i].toUpperCase() + "</span>";
            }
            else
            {
                document.getElementById(id).innerHTML += temp[i];
            } 
        }
       
        if (n == temp.length)
        {
            n = null;
            n = 0;
        }
        else
        {
            n ++;
        }
        
        if (n == 0)
        {
            interval = 4500;
        }
        else
        {
            interval = 150;
        }
        
        t = setTimeout("animateString('" + id + "','" + str + "'," + n + ")",interval);
    }
    
	function openWin(url,win,prop)
	{
		var w = void(window.open(url,win,prop));
		w = null;
	}
	
	function ChangeCaptcha(f)
    {
        var d = document.getElementById(f); 
        d.src = 'Captcha.ashx?t=' + new Date;
        d = null;
    }
    
//-->

