function mia_tiempo_do_script_dd121262950482()
{
	document.write('<style>#mia_tiempo_dd121262950482 {width:250px;border:solid 5px #523630;}#mia_tiempo_1_dd121262950482 {width:100%;height:100%;background:#E79A61 url("http://pics.miarroba.com/tiempo/webmaster/bg31.gif") left top repeat-x;border:solid 1px #523630;}#mia_tiempo_1_td_dd121262950482 {background:url("http://pics.miarroba.com/tiempo/webmaster/bg32.gif") left top repeat-y;vertical-align:top;text-align:left;}#mia_tiempo_2_dd121262950482 {background:url("http://pics.miarroba.com/tiempo/webmaster/bg33.gif") left top no-repeat;width:100%;height:100%;}#mia_tiempo_3_dd121262950482 {width:100%;height:100%;border:1px solid #523630;border-top:0px;background:transparent;margin:0px;padding:0px}#mia_tiempo_3_dd121262950482 td , #mia_tiempo_3_dd121262950482 b, #mia_tiempo_3_dd121262950482 span{font-family:verdana,arial,helvetica,sans-serif;font-size:9px;color:#523630;background:none;letter-spacing:0px;}#mia_tiempo_3_dd121262950482 td {font-weight:normal;border-top:1px solid #523630;white-space:nowrap;}#mia_tiempo_3_dd121262950482 td.mia_tiempo_titulo_dd121262950482 {border-right:1px solid #523630;}#mia_tiempo_3_dd121262950482 td.mia_tiempo_valor_dd121262950482 {border-right:1px solid #523630;font-family:helvetica}#mia_termo_dd121262950482 {background:url("http://pics.miarroba.com/tiempo/webmaster/mercurio3.gif") 28px 54px no-repeat;border:0px;margin:0px;padding:0px}#mia_tiempo_pie_dd121262950482{text-align:center}#mia_tiempo_pie_dd121262950482 a{color:#523630;text-decoration:none}#mia_tiempo_pie_dd121262950482 a:hover{color:#523630;text-decoration:underline}#mia_tiempo_clock_dd121262950482{width:40px;text-align:center;}#mia_tiempo_clock_dd121262950482 #points_dd121262950482{color:#523630}</style>');	//alert('funcionando');
	if(document.getElementById('mia_weather_link_dd12') && ( document.getElementById('mia_weather_link_dd12').innerHTML=='<A href="http://miarroba.com">miarroba.com</A>' || document.getElementById('mia_weather_link_dd12').innerHTML=='<a href="http://miarroba.com">miarroba.com</a>' ) || ( document.getElementById('mia_weather_link_dd12').innerHTML=='<A href="http://miarroba.es">miarroba.com</A>' || document.getElementById('mia_weather_link_dd12').innerHTML=='<a href="http://miarroba.es">miarroba.com</a>' ) || document.getElementById('mia_weather_link_dd12').innerHTML=='<A href="http://miarroba.es">miarroba.es</A>' || document.getElementById('mia_weather_link_dd12').innerHTML=='<a href="http://miarroba.es">miarroba.es</a>')
	{
		document.write('<div style="display:table;width:250px;border:none;background:transparent;text-align:center;margin:0px;padding:0px;"><table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_dd121262950482" style="cursor:pointer;" onclick="window.open(\'http://tiempo.miarroba.com/europa/espana/el-tiempo-en-barcelona.html\');" title="Ver Previsión Completa - Barcelona, España" align=center><tr><td><table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_1_dd121262950482"><tr><td id="mia_tiempo_1_td_dd121262950482"><table cellpadding=10 cellspacing=0 border=0 id="mia_tiempo_2_dd121262950482"><tr><td><table cellpadding=4 cellspacing=0 border=0 id="mia_tiempo_3_dd121262950482"><tr><td id="mia_tiempo_calendar" colspan=2 class="mia_tiempo_valor_dd121262950482"><b><span id="dia_sem_dd121262950482">Viernes</span>, <span id="day_dd121262950482">8</span>/<span id="month_dd121262950482">Ene</span>/<span id="year_dd121262950482">2010</span></b></td><td id="mia_tiempo_clock_dd121262950482"><b><span id="hour_dd121262950482">12</span><span id="points_dd121262950482">:</span><span id="min_dd121262950482">34</span><span id="amClock_dd121262950482" style="font-size:9px;"></span></b></td></tr><tr><td colspan=3 ><b>Barcelona, España</b></td></tr><tr><td colspan=3  ><b>Parcialmente Nublado</b></td></tr><tr><td class="mia_tiempo_titulo_dd121262950482">Viento</td><td class="mia_tiempo_valor_dd121262950482">23km/h N0</td><td style="text-align:center;font-weight:bolder;border:1px solid #523630;border-top:solid 2px #523630;border-bottom:none;font-size:11px;">7&#176;C</td></tr><tr><td class="mia_tiempo_titulo_dd121262950482">Humedad</td><td class="mia_tiempo_valor_dd121262950482">66%</td><td rowspan=4 style="text-align:center;width:34px;border:1px solid #523630;border-top:none;font-size:10px;padding:0px;"><img src="http://pics.miarroba.com/tiempo/webmaster/termo31_cel.gif" id="mia_termo_dd121262950482" width=34 height=101/></td></tr><tr><td class="mia_tiempo_titulo_dd121262950482">Sens. Térmica</td><td class="mia_tiempo_valor_dd121262950482">3&#176;C</td></tr><tr><td class="mia_tiempo_titulo_dd121262950482">Presión Atm.</td><td class="mia_tiempo_valor_dd121262950482">995.9 mb <span style="font-size:10px">&#126;</span></td></tr><tr><td class="mia_tiempo_titulo_dd121262950482">Actualizado</td><td class="mia_tiempo_valor_dd121262950482">8/1/10 12:00</td></tr></table></td></tr></table></td></tr></table></td></tr></table><a href="http://miarroba.com" style="font-size:9px;padding-top:4px;letter-spacing:0px;">Powered by miarroba.com</a></div>');		document.getElementById('mia_weather_link_dd12').innerHTML="";
		document.getElementById('mia_weather_link_dd12').style.display="none";
					CalendarClock_dd121262950482(5,8,1,2010,12,34,42,24);
			}
	else
	{
		document.write('<table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_dd121262950482" style="cursor:pointer;" onclick="window.open(\'http://tiempo.miarroba.com\');" title="http://tiempo.miarroba.com"><tr><td><table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_1_dd121262950482"><tr><td id="mia_tiempo_1_td_dd121262950482"><table cellpadding=2 cellspacing=0 border=0 id="mia_tiempo_2_dd121262950482"><tr><td><table cellpadding=4 cellspacing=0 border=0 id="mia_tiempo_3_dd121262950482"><tr><td style="white-space:normal;text-align:justify;">El código del servicio ha sido modificado de forma no permitida.</td></tr></table></td></tr></table></td></tr></table></td></tr></table>');	}
}
mia_tiempo_do_script_dd121262950482();

function CalendarClock_dd121262950482(D_dd121262950482,d_dd121262950482,M_dd121262950482,y_dd121262950482,h_dd121262950482,m_dd121262950482,s_dd121262950482,T_dd121262950482)
{
	//Array
	DiaSemana_dd121262950482=Array('Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado');
NombreMes_dd121262950482=Array('','Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic');
	DiasMes_dd121262950482=Array('','31','28','31','30','31','30','31','31','30','31','30','31');
	
	
	
	s_dd121262950482=s_dd121262950482+1;
	
	if(s_dd121262950482%2==0)document.getElementById('points_dd121262950482').style.color='#523630';
	else document.getElementById('points_dd121262950482').style.color='#E79A61';
	
	if(s_dd121262950482==60)
	{
		s_dd121262950482=0;
		m_dd121262950482=m_dd121262950482+1;
		if(m_dd121262950482==60)
		{
			m_dd121262950482=0;
			h_dd121262950482=h_dd121262950482+1;
			if(h_dd121262950482==24)
			{
				h_dd121262950482=0;
				D_dd121262950482=D_dd121262950482+1;
				if(D_dd121262950482>6)D_dd121262950482=0;			
				d_dd121262950482=d_dd121262950482+1;
				
				if(M_dd121262950482==2)
				{
					if(Y_dd121262950482%4==0)
					{
						if(Y_dd121262950482%100==0)
						{
							if((Y_dd121262950482/100)%4==0)
								DiasMes_dd121262950482[2]=29;
							else
								DiasMes_dd121262950482[2]=28;
						}
						else
						{
							DiasMes_dd121262950482[2]=29;
						}	
					}
					else
					{
						DiasMes_dd121262950482[2]=28;
					}
				}
				if(d_dd121262950482>DiasMes[M_dd121262950482])
				{
					d_dd121262950482=1;
					M_dd121262950482=M_dd121262950482+1;
					if(M_dd121262950482>12)
					{
						M_dd121262950482=1;
						y_dd121262950482=y_dd121262950482+1;
						document.getElementById('year_dd121262950482').innerHTML=y_dd121262950482;
					}
					document.getElementById('month_dd121262950482').innerHTML=NombreMes[M_dd121262950482];
				}
				document.getElementById('dia_sem_dd121262950482').innerHTML=DiaSemana[D_dd121262950482];
				document.getElementById('day_dd121262950482').innerHTML=d_dd121262950482;
			}
			if(T_dd121262950482==24)
			{
				document.getElementById('hour_dd121262950482').innerHTML=((h_dd121262950482<10)?'0':'')+h_dd121262950482;
				document.getElementById('amClock_dd121262950482').innerHTML='mm';
			}
			if(T_dd121262950482==12)
			{
				document.getElementById('hour_dd121262950482').innerHTML=((h_dd121262950482>12)?(((h_dd121262950482-12)<10)?'':'')+(h_dd121262950482-12):((h_dd121262950482==0)?'12':((h_dd121262950482<10)?'':'')+h_dd121262950482));
				document.getElementById('amClock_dd121262950482').innerHTML=((h_dd121262950482<12)?'am':'pm');
			}
		}
		document.getElementById('min_dd121262950482').innerHTML=((m_dd121262950482<10)?'0':'')+m_dd121262950482;
	}
	setTimeout('CalendarClock_dd121262950482('+D_dd121262950482+','+d_dd121262950482+','+M_dd121262950482+','+y_dd121262950482+','+h_dd121262950482+','+m_dd121262950482+','+s_dd121262950482+','+T_dd121262950482+')',1000);
}
