����� ������: ������ (ZavhoZ)
����: ����� �����

����� �� ����� http://jammy.newmail.ru/test/test.htm
���������� �����: http://www.webboard.ru/wb.php?board=3007&fs=0&ord=0&arhv=

������� ������, �����, ���� ���������, ��������� ������ ���������(��� �� �������, � ���� ������� ��������� ������ ������������� ����������.)

����, ����� - ���� �������� ������� ���������� � ����� ������ �������� "���� �� ������� ����� ������ (60% � �����), ��������, ��� ����� ���������� � �����������." %))) ��������� ��������� �� ���������� ��������: ��� ������ ��������� ��������� ��������� �������(����� �� ����������� �� ��������� �����) �������� ����� �� 13 �� 37 ��� (���� �� ���� "���������" �������� � ������ ������ �� 1-�� �� 49 ��������... ����� ���������� ����� ���-�� �� ��� ��������... %) � ����� ��� � ��������) � ���������� ��� �����.... � ��� ������ ��� ����� ��� � ��������� �� -1 �� +1... �������� �������� � ���� �������� ��� ������ ����� ����������� �����. %) � ����� ����� ��� ����������� ����� "���� ������� ��������� 30-35%, ��-������, ���������� ������ ������������ ��� ���. ���� ��������� �� ���������, �������� ��������...." ��������� ��������� �� ����� ���������� ������ ��� �� 2 �������, ��� ��� �� ��� ��������... � �������� ��� ����� ������ ������� � ����� ���� %).
��� ����������, ��� ��������� ������� ����, ���� � ����������� �������, �������� �� ��������� %) - ��� ������ �������
//<meta http-equiv="refresh" content="0; url=about:blank">
, ������� ������ ���� ������������ �� ������ �������� ��� �������� ���� �������� � �������� �������� �� ������� ����� � �������������... ����� "������" ����������� ����� ������ ������� ���������.
��� ��� ��������� ��������� ����� ����� %)

======================= ���, ���������� �� ������� ��� ========================
//<meta http-equiv="refresh" content="0; url=about:blank">
<!--
var i; //������� �������� ����... ������������ ���������� ���������� %)

function Init() // ������� ���������� ��� �������� �������� �����
{               // http://jammy.newmail.ru/test/test.htm
	i = 0;
	endf(); //���������� ������� ����������� ��������� ��������� ���������
	return false;
}

function endf() //������� ����������� ��������� ��������� ���������
{
	var l = s.offsetLeft - 1;
	var t = s.offsetTop - 1;
	v0.style.left = l;
	v0.style.top = t;
	v1.style.left = l +298;
	v1.style.top = t;
	v2.style.left = l;
	v2.style.top = t + 298;
	v3.style.left = l + 298;
	v3.style.top = t + 298;
	v4.style.left = l + 149;
	v4.style.top = t + 149;
	v5.style.left = l + 149;
	v5.style.top = t + 149;
	v6.style.left = l + 149;
	v6.style.top = t + 149;
	v7.style.left = l + 149;
	v7.style.top = t + 149;
}

function m() // �������, ������� ���������� ��� ������ �������� ���� � ����� ��������
{
	if (i == 0) setTimeout("verify()", 20000); //���� ��� ������ ��������,
     //�� �������, ��� ���� ��������� ������� verify() ����� 20 ������

	if (i == -1) { return false; }

//������ ��� ������� ���������� ��������� ��������� �� ������ ����...
//����������� ��������� � ������ ������������ �������� ���������
	var l = s.offsetLeft - 1;
	var t = s.offsetTop - 1;
	var x = window.event.offsetX;
	var y = window.event.offsetY;
	var x2 = 298 - x;
	var y2 = 298 - y;
	var x3 = Math.abs(149 - x);
	var y3 = Math.abs(149 - y);
	var x4 = 298 - x3;
	var y4 = 298 - y3;

	++i; //����������� ������� �������� �� �������
	
//������ ��������� �������� �� ����������� ���������
	v0.style.left = l + x;
	v0.style.top = t + y;
	
	v1.style.left = l +x2;
	v1.style.top = t + y;

	v2.style.left = l + x;
	v2.style.top = t + y2;

	v3.style.left = l + x2;
	v3.style.top = t + y2;


	v4.style.left = l + x3;
	v4.style.top = t + y3;
	
	v5.style.left = l + x4;
	v5.style.top = t + y3;

	v6.style.left = l + x3;
	v6.style.top = t + y4;
	
	v7.style.left = l + x4;
	v7.style.top = t + y4;

	return false;
//�������... ��� �����, ������� ���������� ����� �������� �������� ���� �� �������������
}

function verify() //�������, ������� ���������� ��� ������ �������� ��� ����� ���������
{
	endf(); //���������� �������� � ��������� ���������
	if (i < 343) //���� ��������� ������ 343 ���, ��� ������� ��� ��
                     // ������� ������������� ���������� ������������.. ������� ���
                     // �� ��������� "��������������" �����.
	{
		alert("� ���������, ��������� ���� ����������� ������������ ��� ���������� �������. ����������, ���������� ��� ���.")
		i = 0;
	}
	else   //����� ������� ��� �� ��...
	{
		alert("�������. ������ ��� ����� ����������� ��������� ��������.")
		i = -1;
		sset(); //������� ��������� �������... �� ��������
                        //������ ��� "���������", ��� �� ��� ��� ����...
                        //���������� ���������� ����
		res(); //��������������� �� �������� �����������...
	}
}

function res()
{
	window.location.href="results.htm"; //����� ���� ��� ���������
 //��� ���� ��� �� ���� �� ���� ��������(� ������ ������), ��� ��������������
 //�� �������� ����������� �����������.... �� �������� ����������� ����������
 //���� "������� ���" ������������ �������� show();
}

function sc(a)
{
	var ed = new Date(); //���� ������� ����
	ed.setDate(1825 + ed.getDate()); //���������� 1825 ����(�������� 5 ���)
	document.cookie = "Age=" + a + "; expires=" + ed.toGMTString() + "; ";// ����������
//������� - ��������� ����� 25 +/- 12 ��� %)
	return a;
}

function sset()
{
	var ed = new Date(); //���� ������� ����
	ed.setDate(1825 + ed.getDate()); //���������� 1825 ����(�������� 5 ���)
	document.cookie = "S=T; expires=" + ed.toGMTString() + "; "; //����������...
   //� ���-�� �� ����������? � ������ ���� ����, ��� �� ���� �� ���� �������� �
   //������ ������... �.�. ������� ������ � ������������ �� ���������... �� ���
   //� �� ����������(��� ���� �������� ����, ����� ���� ������� ��� �� ������ ����,
   //�� ���� ��� ���������� �� ���������...)
}

function fset(fluct)
{
	var ed = new Date(); //���� ������� ����
	ed.setDate(1825 + ed.getDate()); //���������� 1825 ����(�������� 5 ���)
	document.cookie = "S=F; expires=" + ed.toGMTString() + "; ";  //������
// �� "������" ���������� � ��� ��� �� ���� �� �������� ����� ����������� ��� �� ���� �� ��������
// �������������
	document.cookie = "Fluctuation=" + fluct + "; expires=" + ed.toGMTString() + "; "; // �
// ������� ���������� ���������� �������� ���������� "fluctuation" ������
// ��� ������� ������ �������� �������� �������� � �������� -1 �� +1 �������� �� �����,
// � ��������� ������ ��� ����� "�����������" ����� �� ����/����� ������� %)
}

function gc()
{

	var p = Math.random() - 0.5; // p - ��������� �������� �� -0.5 �� +0.5
	var zage = 0;
	var theta = 0;
	var fluctuation = 0;
	var needfluct = 1;

	var cl = document.cookie.split("; "); //��������� ����
	
	for (var i = 0; i < cl.length; ++i)//������������� ��� ����
 //(���� ��������� ������ ���� - ���� ���� ��� �� ��� ����)
	{
		var n = cl[i].split("=");
		if ((unescape(n[0]) == "S") && (unescape(n[1]) == "T"))//���� �� ����
 // �� �������� ����������� �����, �� ������ ���������
		{
			needfluct = 0; //��� ���� ������������� ��� ���������� ��������� �����...
			fluctuation = Math.round(2 * (Math.random() - 0.5)); // ����������
 //fluctuation ���������� ��������� ������� �� -1 �� +1 � ��������� �� ������
                          
			fset(fluctuation); //���������� ������, �� ������... ������� � ��� �������...
		}

// ���� ����, ������� �� ������������� - ��� ����������� ���� � �������
// fset() �������� "������"(fluctuation), � ����� �������� �� ����������� � fset() 
// ��������(�� ����� ����������� ����� � ������� �� "��������"), �� ����������
// �������� ������ fluctuation ����������� ������ ����������� ��������:
		if ((unescape(n[0]) == "Fluctuation") && (needfluct == 1)) fluctuation = Math.round(unescape(n[1]));

// ����� ���� �� ��� ���� ��� "���������", ������� ��� ���,(�� ���� ������)
// �� ���������� ��� ��������:
		if (unescape(n[0]) == "Age") zage = Math.round(unescape(n[1]));
	}
	
	if (zage == 0)//���� �� �� �������� ������� ��� ���, ��... ��� ����� ���������� %)
	{ 
// ������� ��� ������� ��� ��������� �������� � ��������� 25 +/- 12 ��� %))))))
// � ���������� ���� ������� �������� sc(), � ���������� � ���� ���� ���������
// "�����������" �� -1 �� +1 (fluctuation) %)))
		zage = sc(Math.round(25 + (p * 24))) + fluctuation;
	}
	else
	{
// ����� ������ �� ����������, ��� ��� ���� ��� ��� ��������� � ������ ���������,
// ������ ���������� "�����������" %))
		zage += fluctuation;
	}
	return (zage); //���������� ��������� �������� �������� %)))
	
}

function show() // ������� ������� ���������� ������� ��� ��� %))))
{
	v.innerText = gc(); ���������� ������� ��������� ���� � �������� ��������...
 // ��� � ���

	t.style.display = "";
}
//-->

�� ��������� ���, ������� ���� ������� :)
�������@Mail.ru