/*
 * Copyright 2009,2010 C. Amengual. This bundle may contain code by Remy Sharp, Dav Glass, and Fred Palmer.
 */
(function(){if(!
/*@cc_on!@*/
0){return}var e="abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(","),i=e.length;while(i--){document.createElement(e[i])}})();function StringBuffer(){this.buffer=[]}StringBuffer.prototype.append=function append(a){this.buffer.push(a);return this};StringBuffer.prototype.toString=function toString(){return this.buffer.join("")};var Base64={codex:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(c){var a=new StringBuffer();var b=new Utf8EncodeEnumerator(c);while(b.moveNext()){var j=b.current;b.moveNext();var h=b.current;b.moveNext();var f=b.current;var i=j>>2;var g=((j&3)<<4)|(h>>4);var e=((h&15)<<2)|(f>>6);var d=f&63;if(isNaN(h)){e=d=64}else{if(isNaN(f)){d=64}}a.append(this.codex.charAt(i)+this.codex.charAt(g)+this.codex.charAt(e)+this.codex.charAt(d))}return a.toString()},decode:function(c){var b=new StringBuffer();var f=new Base64DecodeEnumerator(c);while(f.moveNext()){var a=f.current;if(a<128){b.append(String.fromCharCode(a))}else{if((a>191)&&(a<224)){f.moveNext();var e=f.current;b.append(String.fromCharCode(((a&31)<<6)|(e&63)))}else{f.moveNext();var e=f.current;f.moveNext();var d=f.current;b.append(String.fromCharCode(((a&15)<<12)|((e&63)<<6)|(d&63)))}}}return b.toString()}};function Utf8EncodeEnumerator(a){this._input=a;this._index=-1;this._buffer=[]}Utf8EncodeEnumerator.prototype={current:Number.NaN,moveNext:function(){if(this._buffer.length>0){this.current=this._buffer.shift();return true}else{if(this._index>=(this._input.length-1)){this.current=Number.NaN;return false}else{var a=this._input.charCodeAt(++this._index);if((a==13)&&(this._input.charCodeAt(this._index+1)==10)){a=10;this._index+=2}if(a<128){this.current=a}else{if((a>127)&&(a<2048)){this.current=(a>>6)|192;this._buffer.push((a&63)|128)}else{this.current=(a>>12)|224;this._buffer.push(((a>>6)&63)|128);this._buffer.push((a&63)|128)}}return true}}}};function Base64DecodeEnumerator(a){this._input=a;this._index=-1;this._buffer=[]}Base64DecodeEnumerator.prototype={current:64,moveNext:function(){if(this._buffer.length>0){this.current=this._buffer.shift();return true}else{if(this._index>=(this._input.length-1)){this.current=64;return false}else{var g=Base64.codex.indexOf(this._input.charAt(++this._index));var f=Base64.codex.indexOf(this._input.charAt(++this._index));var e=Base64.codex.indexOf(this._input.charAt(++this._index));var d=Base64.codex.indexOf(this._input.charAt(++this._index));var c=(g<<2)|(f>>4);var b=((f&15)<<4)|(e>>2);var a=((e&3)<<6)|d;this.current=c;if(e!=64){this._buffer.push(b)}if(d!=64){this._buffer.push(a)}return true}}}};if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}String.prototype.removeAccents=function(){var a={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ò":"O","Ó":"O","Ô":"O","Ö":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ñ":"N","Ç":"C"};return this.replace(/[ÀÁÂÃÄÅÆÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÑÇ]/gi,function(b){var c=a[b.toUpperCase()];if(b===b.toLowerCase()){c=c.toLowerCase()}return c})};var CA={};function CA_getText(a){if(document.all){return a.innerText}else{return a.textContent}}var T_printf=function(){var b=arguments.length;var a=arguments[0];for(var c=1;c<b;c++){var e="\\{"+(c-1)+"\\}";var d=new RegExp(e,"g");a=a.replace(d,arguments[c])}return a};var CA_break_frame=function(){if(self.location.hostname!=top.location.hostname){top.location.replace(window.location.href)}};function is_js_search_engine(){var c=["Googlebot","Slurp","msnbot","Twiceler"];var b=navigator.userAgent;for(var a in c){if(b.indexOf(c[a])>=0){return 1}}return 0}var CA_logOnConsole=function(a){if(typeof(console)!=="undefined"&&console!==null){console.log(a)}};var CA_noTranscoder=function(){return navigator.userAgent.indexOf("Google Wireless Transcoder")<0};var CA_noRobotOrTranscoder=function(){return(is_js_search_engine()===0&&CA_noTranscoder())};var CA_inputFilterInteger=function(b){var a=YAHOO.util.Event.getCharCode(b);if(a!==8&&a!==9&&(a<48||a>57)&&(a<35||a>37)&&a!=39&&a!=45&&a!=46){b.returnValue=false;YAHOO.util.Event.preventDefault(b);return false}else{b.returnValue=true;return true}};var CA_inputFilterAlphanum=function(b){var a=YAHOO.util.Event.getCharCode(b);if((57>=a&&a>=48)||(105>=a&&a>=96)||(90>=a&&a>=65)||(40>=a&&a>=37)||(a===8)||a===9||(a===46)||(a===13)||(a===32)){b.returnValue=true;return true}else{b.returnValue=false;YAHOO.util.Event.preventDefault(b);return false}};var CA_addInputFilterInteger=function(a){YAHOO.util.Event.on(a,"keypress",CA_inputFilterInteger)};function CA_getDocumentLanguage(){var a=document.childNodes;for(var b in a){if(a[b].nodeType==1&&a[b].nodeName=="HTML"){return a[b].getAttribute("lang")}}return"en"}window.ca_document_language=CA_getDocumentLanguage();CA_break_frame();YAHOO.namespace("ca.astro");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;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.toFixed(5)+":"+this.longitude.toFixed(5)+":"+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;if(typeof c!=="undefined"){this.sec=c}else{this.sec=0}this.setFullDegrees=function(g){this.sign=Math.signum(g);var e=Math.abs(g);this.deg=Math.floor(e);var f=(e-this.deg)*60;this.minu=Math.floor(f);this.sec=(f-this.minu)*60};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.toFullDegrees=function(){return this.sign*(this.deg+(this.minu+this.sec/60)/60)};this.toRadians=function(){return this.toFullDegrees()*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.setSeconds=function(d){this.second=d};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()+20);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:3000,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};var CA_changeTimezone=function(d){var g=d;var b=CA_getDocumentLanguage();var e;var c;var a=function(h,j){var k=document.createElement("TR");var l=document.createElement("TD");var i=document.createTextNode(monthnames[b][j]);l.appendChild(i);l.colSpan="2";k.className="month";k.appendChild(l);h.parentNode.insertBefore(k,h)};var f=function(h){return h>=e&&h<=c};this.changeZone=function(k,p){var t=document.getElementById(k);e=parseInt(t.getAttribute("data-yrini"));c=parseInt(t.getAttribute("data-yrend"));var u=t.getElementsByTagName("tr");var w=-1;var h=false;for(var q=0;q<u.length;q++){var v=u.item(q);if(v.getAttribute("itemscope")!==null){var r=new Date(parseInt(v.getAttribute("data-stime"))*1000);var m;var o;if(p===0){m=r.getUTCMonth();o=r.getUTCFullYear()}else{m=r.getMonth();o=r.getFullYear()}if(f(o)){if(g&&w!==m){w=m;a(v,m);q++}var x=v.getElementsByTagName("td");if(x.length==2){for(var n=0;n<x.length;n++){if(x.item(n).className==="datetime"){var s=new Math.CA_TimeHms();if(p===0){s.setUTCTime(r)}else{s.setTime(r)}s.setSeconds(0);var l;if(p===0){l=r.getUTCDate().toString()}else{l=r.getDate().toString()}if(l.length==1){l="0"+l}x.item(n).innerHTML=monthname3[b][m]+" "+l+" "+s.toHm();break}}}if(h){v.className="evenrow"}else{v.className="oddrow"}h=!h}else{v.className="hidden"}}else{if(v.className==="month"){v.parentNode.removeChild(v);q--}}}}};var lasttzid=0;var CA_enhancePage=function(a){var c=parseInt(this.options[this.selectedIndex].value);if(c!=lasttzid){var b=new CA_changeTimezone(true);b.changeZone("timetable",c);lasttzid=c;this.blur()}};var CA_selectUTC=function(){var a=document.getElementById("togglezone");a.selectedIndex=0};YAHOO.util.Event.addListener("togglezone","change",CA_enhancePage);YAHOO.util.Event.onDOMReady(CA_selectUTC);
