var ca_txt_local_time;if(window.ca_document_language=="es"){ca_txt_local_time="t. oficial"}else{if(window.ca_document_language=="pt"){ca_txt_local_time="local"}else{if(window.ca_document_language=="it"){ca_txt_local_time="t. ufficiali"}else{ca_txt_local_time="local"}}}var monthnames={en:[],es:[],it:[],pt:[]};var monthname3={en:[],es:[],it:[],pt:[]};monthnames.en=["January","February","March","April","May","June","July","August","September","October","November","December"];monthname3.en=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];monthnames.es=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];monthname3.es=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"];monthnames.it=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"];monthname3.it=["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"];monthnames.pt=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"];monthname3.pt=["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"];function utc_offset_es(){if(CA_noRobotOrTranscoder()){var c=new Date();var b=c.getTimezoneOffset()/60;var a;if(b===0){if(window.ca_document_language=="es"){a="Si su ordenador está bien configurado, actualmente la hora oficial en su zona coincide con el UTC."}else{if(window.ca_document_language=="pt"){a="Se o seu computador está configurado corretamente, atualmente o tempo legal da sua área coincide com o UTC."}else{if(window.ca_document_language=="en"){a="If your computer is correctly configured, your current local time matches UTC."}else{if(window.ca_document_language=="it"){a="Se il suo computer è configurato correttamente, l'ora ufficiale nella sua zona oraria coincide con l'UTC."}else{return}}}}}else{if(window.ca_document_language=="es"){a="Probablemente, con el horario actual obtendrá la hora oficial en su zona "}else{if(window.ca_document_language=="pt"){a="Provavelmente, com o atual horário você irá obter o tempo legal na sua área "}else{if(window.ca_document_language=="en"){a="You'll probably find your current local time in your timezone "}else{if(window.ca_document_language=="it"){a="Probabilmente, con il calendario attuale otterrà l'ora legale nel suo fuso orario "}}}}if(b<0){if(window.ca_document_language=="es"){a+="sumando"}else{if(window.ca_document_language=="pt"){a+="adicionando"}else{if(window.ca_document_language=="en"){a+="by adding"}else{if(window.ca_document_language=="it"){a+="con l'aggiunta di"}}}}}else{if(window.ca_document_language=="es"){a+="restando"}else{if(window.ca_document_language=="pt"){a+="restando"}else{if(window.ca_document_language=="en"){a+="by substracting"}else{if(window.ca_document_language=="it"){a+="sottraendo"}}}}}if(!a){return}b=Math.abs(b);a+=" "+b;if(window.ca_document_language=="es"){a+=" horas al tiempo UTC."}else{if(window.ca_document_language=="pt"){a+=" horas ao tempo UTC."}else{if(window.ca_document_language=="en"){a+=" hours to UTC."}else{if(window.ca_document_language=="it"){a+=" ore alle tempo UTC."}}}}}document.getElementById("utc_offset_text").innerHTML=a}}Math.signum=function(a){if(a>0){return 1}else{if(a<0){return -1}else{return 0}}};Math.TWOPI=(Math.PI+Math.PI);Math.HALFPI=Math.PI/2;Math.DR=Math.PI/180;var CA={};CA.ITRSPlace=function(g,b,d,a){var e=typeof g;if(e==="string"){this.latitude=parseFloat(g)}else{this.latitude=g}var f=typeof b;if(f==="string"){this.longitude=parseFloat(b)}else{this.longitude=b}this.setAltitude=function(h){var i=typeof h;if(i!=="undefined"&&h!==null){if(i==="string"){this.altitude=parseFloat(h)}else{this.altitude=h}}else{this.altitude=0}};this.setAltitude(d);this.getLatitude=function(){return this.latitude};this.getLongitude=function(){return this.longitude};this.getAltitude=function(){return this.altitude};var c;if(typeof a!=="undefined"&&a!==null){c=a}this.isNameSet=function(){return typeof c!=="undefined"};this.getName=function(){return c};this.getNameString=function(){return this.isNameSet()?c:"?"};this.setName=function(h){c=h};this.serialize=function(){return this.latitude.toString()+":"+this.longitude.toString()+":"+this.altitude.toString()+":"+this.getNameString()}};CA.ITRSPlace.parse=function(c){var a;if(typeof c==="string"){var b=c.split(":");b[0]=parseFloat(b[0]);b[1]=parseFloat(b[1]);a=new CA.ITRSPlace(b[0],b[1]);if(b.length>2){a.setAltitude(parseFloat(b[2]));if(b.length>3){a.setName(b[3])}}}return a};Math.CA_Angle=function(a){this.angle=a;this.setDMS=function(f,e,b,c){this.angle=f*(e+(b+c/60)/60)*Math.DR};this.setDM=function(e,c,b){this.angle=e*(c+b/60)*Math.DR};this.setDegrees=function(b){this.angle=b*Math.DR};this.setHms=function(d,b,c){this.angle=(d+(b+c/60)/60)*Math.DR*15};this.setHm=function(c,b){this.angle=(c+b/60)*Math.DR*15};this.toDegrees=function(){return(this.angle/Math.DR)};this.doubleValue=function(){return this.angle};this.toHours=function(){return this.angle/Math.DR/15};this.toAngleDms=function(){var c=Math.signum(this.angle);var b=Math.abs(this.angle)/Math.DR;var e=Math.floor(b);b=(b-e)*60;var d=Math.floor(b);b=(b-d)*60;return new Math.CA_AngleDms(c,e,d,b)};this.toTimeHms=function(){var b=this.moduleTwoPI()/Math.DR/15;var d=Math.floor(b);b=(b-d)*60;var c=Math.floor(b);b=(b-c)*60;return new Math.CA_TimeHms(d,c,b)};this.moduleTwoPI=function(){this.angle=this.angle-Math.floor(this.angle/Math.TWOPI)*Math.TWOPI;if(this.angle<0){this.angle+=Math.TWOPI}return this.angle};this.modulePI=function(){this.angle=this.angle-Math.floor(this.angle/Math.TWOPI)*Math.TWOPI;if(this.angle>Math.PI){this.angle-=Math.TWOPI}if(this.angle<=-Math.PI){this.angle+=Math.TWOPI}return this.angle};this.sin=function(){return Math.sin(this.angle)};this.cos=function(){return Math.cos(this.angle)};this.tan=function(){return Math.tan(this.angle)}};Math.CA_AngleDms=function(a,d,b,c){this.sign=a;this.deg=d;this.minu=b;this.sec=c;this.getDegrees=function(){return this.deg};this.getMinutes=function(){return this.minu};this.getSeconds=function(){return this.sec};this.getAngle=function(){return new Math.CA_Angle(this.toRadians())};this.setSeconds=function(g){this.sign=Math.signum(g);var e=Math.abs(g)/60;var h=Math.floor(e);this.sec=(e-h)*60;var f=h/60;this.deg=Math.floor(f);this.minu=Math.floor((f-d)*60)};this.toRadians=function(){return this.sign*(this.deg+(this.minu+this.sec/60)/60)*Math.DR};this.toDmsWithSign=function(n,f,l){if(!l){l=0}var j;if(this.sign<0){j=f}else{j=n}var o=this.getDegrees();var h=this.getMinutes();var e=this.getSeconds().toFixed(l);if(e.match(/^60/)){h++;e="00";if(l>0){e+=".";for(var k=0;k<l;k++){e+="0"}}if(h>=60){h=0;o++;if(o>=360){o=0;j=n}}}if(e.length==1+(l===0?0:l+1)){e="0"+e}var p=h.toFixed(0);if(p.length==1){p="0"+p}var m=o.toFixed(0);if(m.length==1){m="0"+m}var g=new StringBuffer();g.append(j).append(m).append("°").append(" ").append(p).append("'").append(" ").append(e).append('"');return g.toString()};this.toDms=function(e){return this.toDmsWithSign("+","-",e)};this.toLatDms=function(e){return this.toDmsWithSign("N ","S ",e)};this.toLonDms=function(e){return this.toDmsWithSign("E ","W ",e)};this.toDmWithSign=function(m,e,k){if(!k){k=0}var g;if(this.sign<0){g=e}else{g=m}var h=(this.minu+this.sec/60).toFixed(k);if(h.length==1+(k===0?0:k+1)){h="0"+h}var n=this.getDegrees();if(h.match(/^60/)){n++;h="00";if(k>0){h+=".";for(var j=0;j<k;j++){h+="0"}}if(n>=360){n=0;g=m}}var l=n.toFixed(0);if(l.length==1){l="0"+l}var f=new StringBuffer();f.append(g).append(l).append("°").append(" ").append(h).append("'");return f.toString()};this.toDm=function(e){return this.toDmWithSign("+","-",e)};this.toLatDm=function(e){return this.toDmWithSign("N ","S ",e)};this.toLonDm=function(e){return this.toDmWithSign("E ","W ",e)};this.toString=function(){return this.toDms()}};Math.CA_TimeHms=function(a,c,b){this.setHms=function(e,h,f){var g;this.hour=g;this.minute=0;this.second=0;if(typeof h!=="undefined"&&h!==null){this.minute=h;this.hour=e;if(typeof f!=="undefined"&&f!==null){this.second=f}}else{if(typeof e!=="undefined"&&e!==null){this.hour=Math.floor(e);var d=(e-this.hour)*60;this.minute=Math.floor(d);this.second=(d-this.minute)*60}}};this.setHms(a,c,b);this.setTime=function(d){this.setHms(d.getHours(),d.getMinutes(),d.getSeconds())};this.setUTCTime=function(d){this.setHms(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds())};this.getHour=function(){return this.hour};this.getMinute=function(){return this.minute};this.getMinutes=function(){return this.minute+this.second/60};this.getSeconds=function(){return this.second};this.equals=function(d){return this.hour===d.hour&&this.minute===d.minute&&this.second===d.second};this.toHms=function(e){if(!e){e=0}var j=this.getHour();var k=this.getMinute();var d=this.getSeconds().toFixed(e);if(d.match(/^60/)){k++;d="00";if(e>0){d+=".";for(var h=0;h<e;h++){d+="0"}}if(k>=60){k=0;j++;if(j>=24){j=0}}}if(d.length==1+(e===0?0:e+1)){d="0"+d}var l=k.toFixed(0);if(l.length==1){l="0"+l}var g=j.toFixed(0);if(g.length==1){g="0"+g}var f=new StringBuffer();f.append(g).append(":").append(l).append(":").append(d);return f.toString()};this.toHm=function(d){if(!d){d=0}var h=this.getMinutes().toFixed(d);if(h.length==1+(d===0?0:d+1)){h="0"+h}var j=this.getHour();if(h.match(/^60/)){j++;h="00";if(d>0){h+=".";for(var g=0;g<d;g++){h+="0"}}if(j>=24){j=0}}var f=j.toFixed(0);if(f.length==1){f="0"+f}var e=new StringBuffer();e.append(f).append(":").append(h);return e.toString()};this.toRadians=function(){return(this.hour+(this.minute+this.second/60)/60)*15*Math.DR};this.getAngle=function(){return new Math.CA_Angle(this.toRadians())};this.toString=function(){return this.toHms()}};var CA_latlon_cookie_name="latlon0";var CA_storePositionAsCookies=function(a){var c=new Date();c.setDate(c.getDate()+2);var b=Base64.encode(a.serialize());YAHOO.util.Cookie.set(CA_latlon_cookie_name,b,{path:"/",expires:c})};var CA_retrievePositionFromCookies=function(){if(document.cookie.length>0){var b=YAHOO.util.Cookie.get(CA_latlon_cookie_name);if(b!==null){var a=CA.ITRSPlace.parse(Base64.decode(b));return a}}return null};var CA_retrievePosition=function(){var a=null;try{if(window.localStorage){var c=localStorage.getItem("itrsplace1");if(c!==null){a=CA.ITRSPlace.parse(c)}}if(a===null){a=CA_retrievePositionFromCookies()}}catch(b){CA_logOnConsole(b);a=CA_retrievePositionFromCookies()}return a};var CA_storePosition=function(a){try{if(window.localStorage){localStorage.setItem("itrsplace1",a.serialize())}else{CA_storePositionAsCookies(a)}}catch(b){CA_storePositionAsCookies(a)}};var CA_ServerGeolocation={afterSuccess:function(b,a){},afterFailure:function(){},onSuccess:function(f){var d=f.responseText;if(d.length>1&&d.charAt(0)=="G"){var a=Base64.decode(d.slice(1));var c=a.split(/\t/);var g=parseFloat(c[6]);var e=parseFloat(c[7]);var b=new CA.ITRSPlace(g,e,0);CA_storePosition(b);this.afterSuccess(b)}else{CA_logOnConsole("Server geolocation failed.");this.afterFailure()}},onFailure:function(a){this.logResult(a.statusText);this.afterFailure()},logResult:function(a){CA_logOnConsole(a)},requestGeolocation:function(a,b){this.afterSuccess=a;this.afterFailure=b;YAHOO.util.Connect.asyncRequest("POST","http://"+window.location.host+"/servlet/gldata",callbackServerGeolocation)}};var callbackServerGeolocation={success:CA_ServerGeolocation.onSuccess,failure:CA_ServerGeolocation.onFailure,timeout:2500,scope:CA_ServerGeolocation};var CA_module2PI=function(b){return b-Math.floor(b/Math.TWOPI)*Math.TWOPI};var CA_module=function(d,c){return d-Math.floor(d/c)*c};var CA_earthRotationAngle=function(b){var a=0.2794832545973+1.160576171193697e-8*b.getTime();a=(a-Math.floor(a))*Math.TWOPI;if(a<0){a+=Math.TWOPI}return a};