function sendPoll()
{

	//i = $("#xx1").val();
	//alert(i);
	v2 = $("#xx1").val();
	ip2 = $("#ip").val();

$("#poll").html("<p><img src='/images/loading.gif' /></p>");

	//document.getElementById('sendformbutton').disabled = 'true';
	$.post("/pages/send.php",
			{
				v: v2,
				ip: ip2
						
			},
			function(data)
			{
			if (data == 1)
				{
					$("#poll").html("<p><strong>Спасибо за участие в опросе.</strong></p>");
				}
			if(data == 2) 
				{
					$("#poll").html("<p><strong>Произошла ошибка! Повторите попытку позже!</strong></p>");
				}			
			}
		);
}

function reload(i){
	document.getElementById('xx1').value = i;
}