function Ajax(){var a=false;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){try{xmlhttp=new XMLHttpRequest()}catch(b){xmlhttp=false}}}if(!a&&typeof XMLHttpRequest!="undefined"){a=new XMLHttpRequest()}return a}function motorAjaxPressTicker(b,d,a){_URL_=d;var e=Ajax();e.open("GET",_URL_,true);var c=document.getElementById(a);e.onreadystatechange=function(){if(e.readyState==4){var g=document.getElementById(a);if(e.status==200){var f=e.responseText;if(f!=""){g.innerHTML=f}}else{if(e.status==404){alert("ERROR!!")}}}};e.send(null);delete (e);return}function cambiaContPressTicker(c){var a=document.getElementById(c).value;var b=urlServletCambiaTipoNoticia;b=b+"?idioma="+idiomaTickerPrensa+"&idTipoNoticia="+a+"&intervaloActualizacion="+intervaloActualizacionTickerPrensa+"&urlServletPrensaFinanciera="+urlServletPrensaFinanciera;b=b+"&randPar="+Math.random();motorAjaxPressTicker(null,b,"divTickerNoticias")};