
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend(jQuery.easing,
{
    def: 'easeOutQuad',
    swing: function (x, t, b, c, d) {
        //alert(jQuery.easing.default);
        return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
    },
    easeInQuad: function (x, t, b, c, d) {
        return c * (t /= d) * t + b;
    },
    easeOutQuad: function (x, t, b, c, d) {
        return -c * (t /= d) * (t - 2) + b;
    },
    easeInOutQuad: function (x, t, b, c, d) {
        if ((t /= d / 2) < 1) return c / 2 * t * t + b;
        return -c / 2 * ((--t) * (t - 2) - 1) + b;
    },
    easeInCubic: function (x, t, b, c, d) {
        return c * (t /= d) * t * t + b;
    },
    easeOutCubic: function (x, t, b, c, d) {
        return c * ((t = t / d - 1) * t * t + 1) + b;
    },
    easeInOutCubic: function (x, t, b, c, d) {
        if ((t /= d / 2) < 1) return c / 2 * t * t * t + b;
        return c / 2 * ((t -= 2) * t * t + 2) + b;
    },
    easeInQuart: function (x, t, b, c, d) {
        return c * (t /= d) * t * t * t + b;
    },
    easeOutQuart: function (x, t, b, c, d) {
        return -c * ((t = t / d - 1) * t * t * t - 1) + b;
    },
    easeInOutQuart: function (x, t, b, c, d) {
        if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b;
        return -c / 2 * ((t -= 2) * t * t * t - 2) + b;
    },
    easeInQuint: function (x, t, b, c, d) {
        return c * (t /= d) * t * t * t * t + b;
    },
    easeOutQuint: function (x, t, b, c, d) {
        return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
    },
    easeInOutQuint: function (x, t, b, c, d) {
        if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b;
        return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
    },
    easeInSine: function (x, t, b, c, d) {
        return -c * Math.cos(t / d * (Math.PI / 2)) + c + b;
    },
    easeOutSine: function (x, t, b, c, d) {
        return c * Math.sin(t / d * (Math.PI / 2)) + b;
    },
    easeInOutSine: function (x, t, b, c, d) {
        return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;
    },
    easeInExpo: function (x, t, b, c, d) {
        return (t == 0) ? b : c * Math.pow(2, 10 * (t / d - 1)) + b;
    },
    easeOutExpo: function (x, t, b, c, d) {
        return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
    },
    easeInOutExpo: function (x, t, b, c, d) {
        if (t == 0) return b;
        if (t == d) return b + c;
        if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b;
        return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b;
    },
    easeInCirc: function (x, t, b, c, d) {
        return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b;
    },
    easeOutCirc: function (x, t, b, c, d) {
        return c * Math.sqrt(1 - (t = t / d - 1) * t) + b;
    },
    easeInOutCirc: function (x, t, b, c, d) {
        if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b;
        return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b;
    },
    easeInElastic: function (x, t, b, c, d) {
        var s = 1.70158; var p = 0; var a = c;
        if (t == 0) return b; if ((t /= d) == 1) return b + c; if (!p) p = d * .3;
        if (a < Math.abs(c)) { a = c; var s = p / 4; }
        else var s = p / (2 * Math.PI) * Math.asin(c / a);
        return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
    },
    easeOutElastic: function (x, t, b, c, d) {
        var s = 1.70158; var p = 0; var a = c;
        if (t == 0) return b; if ((t /= d) == 1) return b + c; if (!p) p = d * .3;
        if (a < Math.abs(c)) { a = c; var s = p / 4; }
        else var s = p / (2 * Math.PI) * Math.asin(c / a);
        return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b;
    },
    easeInOutElastic: function (x, t, b, c, d) {
        var s = 1.70158; var p = 0; var a = c;
        if (t == 0) return b; if ((t /= d / 2) == 2) return b + c; if (!p) p = d * (.3 * 1.5);
        if (a < Math.abs(c)) { a = c; var s = p / 4; }
        else var s = p / (2 * Math.PI) * Math.asin(c / a);
        if (t < 1) return -.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
        return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * .5 + c + b;
    },
    easeInBack: function (x, t, b, c, d, s) {
        if (s == undefined) s = 1.70158;
        return c * (t /= d) * t * ((s + 1) * t - s) + b;
    },
    easeOutBack: function (x, t, b, c, d, s) {
        if (s == undefined) s = 1.70158;
        return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;
    },
    easeInOutBack: function (x, t, b, c, d, s) {
        if (s == undefined) s = 1.70158;
        if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= (1.525)) + 1) * t - s)) + b;
        return c / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2) + b;
    },
    easeInBounce: function (x, t, b, c, d) {
        return c - jQuery.easing.easeOutBounce(x, d - t, 0, c, d) + b;
    },
    easeOutBounce: function (x, t, b, c, d) {
        if ((t /= d) < (1 / 2.75)) {
            return c * (7.5625 * t * t) + b;
        } else if (t < (2 / 2.75)) {
            return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b;
        } else if (t < (2.5 / 2.75)) {
            return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375) + b;
        } else {
            return c * (7.5625 * (t -= (2.625 / 2.75)) * t + .984375) + b;
        }
    },
    easeInOutBounce: function (x, t, b, c, d) {
        if (t < d / 2) return jQuery.easing.easeInBounce(x, t * 2, 0, c, d) * .5 + b;
        return jQuery.easing.easeOutBounce(x, t * 2 - d, 0, c, d) * .5 + c * .5 + b;
    }
});


////////////////////////////////////////////////////////

var IE='\v'=='v';
window.onload = checkerCreate;
window.onunload = _onUnload;
window.onclose = checkerCreate;
function checkerCreate() {
	if(IE)
	{
	var swf = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="EuriscoC" name="EuriscoCN" width="1" height="1" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://dev.euris.co.ua/flash/Client/checker.swf"/><param name="quality" value="high"/><param name="bgcolor" value="#869ca7"/><param name="allowScriptAccess" value="always"/><embed src="http://dev.euris.co.ua/flash/Client/checker.swf" quality="high" bgcolor="#869ca7" width="1" height="1" name="EuriscoC" id="EuriscoCN" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>';

	}
	else
	{
	var swf = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="EuriscoC" name="EuriscoCN" width="1" height="1" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://dev.euris.co.ua/flash/Client/checker.swf"/><param name="quality" value="high"/><param name="bgcolor" value="#869ca7"/><param name="allowScriptAccess" value="always"/><embed src="http://dev.euris.co.ua/flash/Client/checker.swf" quality="high" bgcolor="#869ca7" width="1" height="1" name="EuriscoC" id="EuriscoCN" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>';
	}
    var _contentPlayer = document.createElement("div");
    _contentPlayer.id = "checker";
    _contentPlayer.style.margin = "0px";
    _contentPlayer.style.bottom = "-285px";
	if(IE)
	{
	 _contentPlayer.style.left = "-615px";
	}
	else
	{
	 _contentPlayer.style.left = "-670px";
	}
    _contentPlayer.style.width = "10px";
    _contentPlayer.style.height = "390px";
    _contentPlayer.style.border = "0px solid black";
    _contentPlayer.style.position = "fixed";
    _contentPlayer.innerHTML = swf;
    document.body.appendChild(_contentPlayer);
}

function listenFunction() {
    // cunstructSWF();
    _onUnload();
    createButton();
}

/**/

function hideSWF() {
if(IE)
{
$("#player").animate({ left: '-615', bottom:'-285' }, 200, 'easeOutSine');
}
else
{
$("#player").animate({ left: '-670', bottom:'-285' }, 200, 'easeOutSine');
}
    
    //document.getElementById("player").style.display = "block";
   }

function showSWF() {
    //document.getElementById("player").style.display = "block";
	if(IE)
{
	$("#player").animate({ left: '0', bottom:'100' }, 200, 'easeOutSine');
}
else
{
	$("#player").animate({ left: '0', bottom:'150' }, 200, 'easeOutSine');
}
    
    //alert("show SWF");
}

function cunstructSWF() {
    //alert("swf created");
if(IE)
{
var swf = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="Eurisco" name="EuriscoN" width="643" height="509" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://dev.euris.co.ua/flash/Client/eurisco_client.swf"/><param name="quality" value="high"/><param name="bgcolor" value="#869ca7"/><param name="allowScriptAccess" value="always"/><embed src="http://dev.euris.co.ua/flash/Client/eurisco_client.swf" quality="high" bgcolor="#869ca7" width="643" height="509" name="Eurisco" id="EuriscoN" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>';

}
else
{
var swf = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="Eurisco" name="EuriscoN" width="707" height="530" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://dev.euris.co.ua/flash/Client/eurisco_client.swf"/><param name="quality" value="high"/><param name="bgcolor" value="#869ca7"/><param name="allowScriptAccess" value="always"/><embed src="http://dev.euris.co.ua/flash/Client/eurisco_client.swf" quality="high" bgcolor="#869ca7" width="707" height="530" name="Eurisco" id="EuriscoN" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>';
}
    var _contentPlayer = document.createElement("div");
    _contentPlayer.id = "player";
    _contentPlayer.style.margin = "0px";
    _contentPlayer.style.bottom = "-285px";
	if(IE)
	{
	 _contentPlayer.style.left = "-615px";
	}
	else
	{
	 _contentPlayer.style.left = "-670px";
	}
    _contentPlayer.style.width = "10px";
    _contentPlayer.style.height = "390px";
    _contentPlayer.style.border = "0px solid black";
    _contentPlayer.style.position = "fixed";
    _contentPlayer.innerHTML = swf;
    document.body.appendChild(_contentPlayer);

}
var _can;
function createButton() {
    cunstructSWF();
 }

var _params = "";
var _idChat = "108";//testparam
var _countPages = 0;
var _page = window.location;
var _time;
var _checkPosition = false;
var _online = "0";

function getSiteId() {
    return siteId;
}

function getNavigatorObject() {
    return UserId;
}


//winListener();


function _onUnload() {

    _countPages++;

}


/*  function winListener() {

window.onload = _startTimer;
window.onunload = _onUnload;
window.onclose = _onUnload;

}*/



var bf_jsver;
var bf = new function (ieq) {
    var d = document, w = window, n = navigator, r = '', i, a, q, s, ll = '', ct, cp, pl, iec, ied, j, k, l, mi = 0, mid;
    for (i = 1; i < 10; i++) d.write('<' + 'script language="javascript1.' + i + '">bf_jsver="' + i + '";<' + '/script>');
    this.jsver = bf_jsver; r += bf_jsver;
    a = 'b'; try { delete this } catch (E) { a = 'a' } r += a;
    a = 'b'; try { delete navigator } catch (E) { a = 'a' } r += a;
    a = 0;
    a += typeof Window == 'function' ? w instanceof Window ? 1 : 0 : 0;
    a += typeof Document == 'function' ? d instanceof Document ? 2 : 0 : 0;
    a += typeof Navigator == 'function' ? n instanceof Navigator ? 4 : 0 : 0;
    r += a;
    a = 'b'; try { var y = document.write; y('') } catch (E) { a = 'a' } r += a;
    a = 'a'; try { eval('cons' + 't acons=true'); } catch (e) { a = 'b' } r += a;
    r += w.crypto ? w.crypto.alert ? 1 : 2 : 0;
    r += typeof w.onload == "function" ? w.onload.toString().search('anonymous') != -1 ? 2 : 1 : 0;
    r += (typeof ActiveXObject == "function" ? 'b' : 'a') + (typeof GeckoActiveXObject == "function" ? 'a' : 'b');
    r += ' ';
    r += (!!w.Iterator ? 1 : 0) + (!!d.addEventListener ? 2 : 0) + (/a/[-1] == 'a' ? 4 : 0);
    r += ((function x() { })[-6] == 'x' ? 1 : 0) + ((function x() { })[-5] == 'x' ? 2 : 0) + (!!d.getElementsByClassName ? 4 : 0);
    r += '.';
    r += ieq + ('\v' == 'v' ? 'b' : 'a');
    r += (d.compatMode ? 1 : 0) + (d.all ? 2 : 0) + (!!d.readyState ? 4 : 0);
    r += (d.documentElement ? 1 : 0) + (d.documentElement && typeof d.documentElement.style.maxHeight != "undefined" ? 2 : 0) + (!!d.querySelectorAll ? 4 : 0);
    r += '.';
    r += (/a/.__proto__ == '//' ? 1 : 0) + (/source/.test((/a/.toString + '')) ? 2 : 0);
    r += (!!w.opera ? 1 : 0) + (w.opera && w.opera.toString() === "[object Opera]" ? 2 : 0) + (/^function \(/.test([].sort) ? 4 : 0);
    q = d.createElement('div');
    q.innerHTML = '<style>#_t{display:none;}#_t[rel^="D"]{display:block;}</style><span id="_t" rel="Detect"></span>';
//    alert(r);
//    alert(a);
   // q.style.display = 'none';
 //   alert(r);
 //   alert(a);
 //   d.body.appendChild(q);
    s = d.getElementById('_t');
 //   r += ((w.getComputedStyle ? w.getComputedStyle(s, null).getPropertyValue("display") : s.currentStyle ? s.currentStyle.display : null) == 'block') ? 'a' : 'b';
 //   d.body.removeChild(q);
    this.bid = r;
    r += ' ';
    var ws = w.screen, cd = new Date(), tz = -cd.getTimezoneOffset() / 60;
    if (ws.width && ws.height) {
        r += ws.width + '*' + ws.height;
        if (ws.colorDepth) r += '@' + ws.colorDepth;
        else if (ws.pixelDepth) r += '@' + ws.pixelDepth;
    } else r += 'undefined';
    ll += n.language ? ' ' + n.language : '';
    ll += n.systemLanguage ? ' ' + n.systemLanguage : '';
    ll += n.browserLanguage ? ' ' + n.browserLanguage : '';
    ll += n.userLanguage ? ' ' + n.userLanguage : '';
    r += (ll ? ll : ' no') + (n.javaEnabled() ? ' on' : ' off');
    r += ' ' + (tz > 0 ? '+' + tz : tz);
    if (d.all && n.userAgent.indexOf("Opera") == -1) {
        d.write('<xml:namespace ns=http://www.microsoft.com/ie prefix=IE><STYLE>@media all{IE\\:clientCaps {behavior:url(#default#clientcaps);}}</STYLE><IE:CLIENTCAPS ID="oClientCaps" />');
        if (oClientCaps) {
            if (oClientCaps.connectionType) ct = oClientCaps.connectionType;
            if (oClientCaps.cpuClass) cp = oClientCaps.cpuClass;
            if (oClientCaps.platform) pl = oClientCaps.platform;
            if (typeof oClientCaps.getComponentVersion != 'undefined') {
                var bbb = new Array(), ccc = new Array(0, 0, 0, 0), ddd = '';
                var CompO = new Array("{7790769C-0471-11D2-AF11-00C04FA35D02}", "{89820200-ECBD-11CF-8B85-00AA005B4340}", "{283807B5-2C60-11D0-A31D-00AA00B92C03}", "{4F216970-C90C-11D1-B5C7-0000F8051515}", "{44BBA848-CC51-11CF-AAFA-00AA00B6015C}", "{9381D8F2-0288-11D0-9501-00AA00B911A5}", "{36F8EC70-C29A-11D1-B5C7-0000F8051515}", "{5A8D6EE0-3E18-11D0-821E-444553540000}", "{89820200-ECBD-11CF-8B85-00AA005B4383}", "{08B0E5C0-4FCB-11CF-AAA5-00401C608555}", "{45EA75A0-A269-11D1-B5BF-0000F8051515}", "{DE5AED00-A4BF-11D1-9948-00C04F98BBC9}", "{22D6F312-B0F6-11D0-94AB-0080C74C7E95}", "{44BBA842-CC51-11CF-AAFA-00AA00B6015B}", "{3AF36230-A269-11D1-B5BF-0000F8051515}", "{44BBA840-CC51-11CF-AAFA-00AA00B6015C}", "{CC2A9BA0-3BDD-11D0-821E-444553540000}", "{08B0E5C0-4FCB-11CF-AAA5-00401C608500}", "{60B49E34-C7CC-11D0-8953-00A0C90347FF}", "{03F998B2-0E00-11D3-A498-00104B6EB52E}", "{0FDE1F56-0D59-4FD7-9624-E3DF6B419D0E}", "{10072CEC-8CC1-11D1-986E-00A0C955B42F}", "{1B00725B-C455-4DE6-BFB6-AD540AD427CD}", "{4278C270-A269-11D1-B5BF-0000F8051515}", "{44BBA855-CC51-11CF-AAFA-00AA00B6015C}", "{4F645220-306D-11D2-995D-00C04F98BBC9}", "{5FD399C0-A70A-11D1-9948-00C04F98BBC9}", "{630B1DA0-B465-11D1-9948-00C04F98BBC9}", "{6FAB99D0-BAB8-11D1-994A-00C04F98BBC9}", "{C9E9A340-D1F1-11D0-821E-444553540600}", "{D27CDB6E-AE6D-11CF-96B8-444553540000}", "{E92B03AB-B707-11D2-9CBD-0000F87A369E}");
                for (var iii = 0; iii < CompO.length; iii++) {
                    var Ver = oClientCaps.getComponentVersion(CompO[iii], "ComponentID");
                    var aaa = Ver.split(',');
                    for (var jjj = 0; jjj < aaa.length; jjj++) {
                        aaa[jjj]++; aaa[jjj]--; ccc[jjj] += aaa[jjj];
                        ddd = ccc[0] + '' + ccc[1] + '' + ccc[2] + '' + ccc[3];
                    }
                }
                iec = ddd;
            }
        }
    }
    ied = (iec ? iec + '/' : '') + (ct ? ct + '/' : '') + (cp ? cp + '/' : '') + (pl ? pl + '/' : '');
    ied = ied ? '/' + ied : 'no';
    this.ie = ied;
    r += ' ' + ied;
    if (n.mimeTypes) {
        var mta = n.mimeTypes;
        for (i = 0, k = mta.length; i < k; i++) {
            for (j = 0, l = mta[i].type.length; j < l; j++)
                mi += (mta[i].type.charCodeAt(j) * 10.3) << (10 + i * j);
        }
    }
    mid = mi.toString();
    if (n.buildID) mid += '.' + n.buildID;
    this.mid = mid;
    r += ' ' + (mid ? mid : 'no');
    this.res = r;
} (0/*@cc_on + (@_jscript_version * 10 % 10)@*/);
var browserId = bf.res;

function md5cycle(x, k) {
    var a = x[0], b = x[1], c = x[2], d = x[3];

    a = ff(a, b, c, d, k[0], 7, -680876936);
    d = ff(d, a, b, c, k[1], 12, -389564586);
    c = ff(c, d, a, b, k[2], 17, 606105819);
    b = ff(b, c, d, a, k[3], 22, -1044525330);
    a = ff(a, b, c, d, k[4], 7, -176418897);
    d = ff(d, a, b, c, k[5], 12, 1200080426);
    c = ff(c, d, a, b, k[6], 17, -1473231341);
    b = ff(b, c, d, a, k[7], 22, -45705983);
    a = ff(a, b, c, d, k[8], 7, 1770035416);
    d = ff(d, a, b, c, k[9], 12, -1958414417);
    c = ff(c, d, a, b, k[10], 17, -42063);
    b = ff(b, c, d, a, k[11], 22, -1990404162);
    a = ff(a, b, c, d, k[12], 7, 1804603682);
    d = ff(d, a, b, c, k[13], 12, -40341101);
    c = ff(c, d, a, b, k[14], 17, -1502002290);
    b = ff(b, c, d, a, k[15], 22, 1236535329);

    a = gg(a, b, c, d, k[1], 5, -165796510);
    d = gg(d, a, b, c, k[6], 9, -1069501632);
    c = gg(c, d, a, b, k[11], 14, 643717713);
    b = gg(b, c, d, a, k[0], 20, -373897302);
    a = gg(a, b, c, d, k[5], 5, -701558691);
    d = gg(d, a, b, c, k[10], 9, 38016083);
    c = gg(c, d, a, b, k[15], 14, -660478335);
    b = gg(b, c, d, a, k[4], 20, -405537848);
    a = gg(a, b, c, d, k[9], 5, 568446438);
    d = gg(d, a, b, c, k[14], 9, -1019803690);
    c = gg(c, d, a, b, k[3], 14, -187363961);
    b = gg(b, c, d, a, k[8], 20, 1163531501);
    a = gg(a, b, c, d, k[13], 5, -1444681467);
    d = gg(d, a, b, c, k[2], 9, -51403784);
    c = gg(c, d, a, b, k[7], 14, 1735328473);
    b = gg(b, c, d, a, k[12], 20, -1926607734);

    a = hh(a, b, c, d, k[5], 4, -378558);
    d = hh(d, a, b, c, k[8], 11, -2022574463);
    c = hh(c, d, a, b, k[11], 16, 1839030562);
    b = hh(b, c, d, a, k[14], 23, -35309556);
    a = hh(a, b, c, d, k[1], 4, -1530992060);
    d = hh(d, a, b, c, k[4], 11, 1272893353);
    c = hh(c, d, a, b, k[7], 16, -155497632);
    b = hh(b, c, d, a, k[10], 23, -1094730640);
    a = hh(a, b, c, d, k[13], 4, 681279174);
    d = hh(d, a, b, c, k[0], 11, -358537222);
    c = hh(c, d, a, b, k[3], 16, -722521979);
    b = hh(b, c, d, a, k[6], 23, 76029189);
    a = hh(a, b, c, d, k[9], 4, -640364487);
    d = hh(d, a, b, c, k[12], 11, -421815835);
    c = hh(c, d, a, b, k[15], 16, 530742520);
    b = hh(b, c, d, a, k[2], 23, -995338651);

    a = ii(a, b, c, d, k[0], 6, -198630844);
    d = ii(d, a, b, c, k[7], 10, 1126891415);
    c = ii(c, d, a, b, k[14], 15, -1416354905);
    b = ii(b, c, d, a, k[5], 21, -57434055);
    a = ii(a, b, c, d, k[12], 6, 1700485571);
    d = ii(d, a, b, c, k[3], 10, -1894986606);
    c = ii(c, d, a, b, k[10], 15, -1051523);
    b = ii(b, c, d, a, k[1], 21, -2054922799);
    a = ii(a, b, c, d, k[8], 6, 1873313359);
    d = ii(d, a, b, c, k[15], 10, -30611744);
    c = ii(c, d, a, b, k[6], 15, -1560198380);
    b = ii(b, c, d, a, k[13], 21, 1309151649);
    a = ii(a, b, c, d, k[4], 6, -145523070);
    d = ii(d, a, b, c, k[11], 10, -1120210379);
    c = ii(c, d, a, b, k[2], 15, 718787259);
    b = ii(b, c, d, a, k[9], 21, -343485551);

    x[0] = add32(a, x[0]);
    x[1] = add32(b, x[1]);
    x[2] = add32(c, x[2]);
    x[3] = add32(d, x[3]);

}

function cmn(q, a, b, x, s, t) {
    a = add32(add32(a, q), add32(x, t));
    return add32((a << s) | (a >>> (32 - s)), b);
}

function ff(a, b, c, d, x, s, t) {
    return cmn((b & c) | ((~b) & d), a, b, x, s, t);
}

function gg(a, b, c, d, x, s, t) {
    return cmn((b & d) | (c & (~d)), a, b, x, s, t);
}

function hh(a, b, c, d, x, s, t) {
    return cmn(b ^ c ^ d, a, b, x, s, t);
}

function ii(a, b, c, d, x, s, t) {
    return cmn(c ^ (b | (~d)), a, b, x, s, t);
}

function md51(s) {
    txt = '';
    var n = s.length,
state = [1732584193, -271733879, -1732584194, 271733878], i;
    for (i = 64; i <= s.length; i += 64) {
        md5cycle(state, md5blk(s.substring(i - 64, i)));
    }
    s = s.substring(i - 64);
    var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
    for (i = 0; i < s.length; i++)
        tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
    tail[i >> 2] |= 0x80 << ((i % 4) << 3);
    if (i > 55) {
        md5cycle(state, tail);
        for (i = 0; i < 16; i++) tail[i] = 0;
    }
    tail[14] = n * 8;
    md5cycle(state, tail);
    return state;
}

function md5blk(s) { /* I figured global was faster.   */
    var md5blks = [], i; /* Andy King said do it this way. */
    for (i = 0; i < 64; i += 4) {
        md5blks[i >> 2] = s.charCodeAt(i)
+ (s.charCodeAt(i + 1) << 8)
+ (s.charCodeAt(i + 2) << 16)
+ (s.charCodeAt(i + 3) << 24);
    }
    return md5blks;
}

var hex_chr = '0123456789abcdef'.split('');

function rhex(n) {
    var s = '', j = 0;
    for (; j < 4; j++)
        s += hex_chr[(n >> (j * 8 + 4)) & 0x0F]
+ hex_chr[(n >> (j * 8)) & 0x0F];
    return s;
}

function hex(x) {
    for (var i = 0; i < x.length; i++)
        x[i] = rhex(x[i]);
    return x.join('');
}

function md5(browserId) {
    return hex(md51(browserId));
}

/* this function is much faster,
so if possible we use it. Some IEs
are the only ones I know of that
need the idiotic second function,
generated by an if clause.  */

function add32(a, b) {
    return (a + b) & 0xFFFFFFFF;
}

if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
    function add32(x, y) {
        var lsw = (x & 0xFFFF) + (y & 0xFFFF),
msw = (x >> 16) + (y >> 16) + (lsw >> 16);
        return (msw << 16) | (lsw & 0xFFFF);
    }
}

var __id = md5(browserId);
var min = 0

var seconds = 0
var timer;
var timerOnce = window.setTimeout("runOnce();", 1000);
    function runOnce() {

        if (seconds == 60) {

            seconds = 0

            min += 1

        }

        else

            seconds += 1

        //document.d.d2.value = seconds + "." + milisec
        timer = min + ":" + seconds;
        setTimeout("runOnce()", 1000)
    }
function sendData() {
	    return params = _countPages + "||" + _page + "||"+__id+"||"+timer;
  }  




