function Ajax() {
	var xmlhttp=false;
	try {
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		try {
		   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (E) {
			xmlhttp = false;
  		}
	}
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
		xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
}

/*function votar_encuesta() {
var ajax = new Array();
ajax[0] = Ajax();
	
	ajax[0].open("GET", "inc/php.php?dato="+ dato + "&nocache=" + Math.random());
	ajax[0].onreadystatechange=function() {
		if (ajax[0].readystate==1) {
		document.getElementById("capanews").innerHTML = 'Comprobando email...';
		}
		if (ajax[0].readyState==4) {
		document.getElementById("capanews").innerHTML = ajax[0].responseText;
			if(ajax[0].responseText == '<span class="font11" style="color:#FF0000">El email es incorrecto</span>') {
			setTimeout("resetcapa()", 2000);
			}
		}
	}
	ajax[0].send(null)
}*/
var itCS = 0;
function cambiosize() {
	if(itCS == 0) {
	document.getElementById('celdatexto').style.fontSize='16px';
	}
	if(itCS == 1) {
	document.getElementById('celdatexto').style.fontSize='11px';
	}
	if(itCS == 2) {
	document.getElementById('celdatexto').style.fontSize='13px';
	}
	itCS++;
	if(itCS > 2) { itCS=0; }
}