function mia_tiempo_do_script_4e161259379104()
{
	document.write('<style>#mia_tiempo_4e161259379104 {width:250px;border:solid 5px #523630;}#mia_tiempo_1_4e161259379104 {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_4e161259379104 {background:url("http://pics.miarroba.com/tiempo/webmaster/bg32.gif") left top repeat-y;vertical-align:top;text-align:left;}#mia_tiempo_2_4e161259379104 {background:url("http://pics.miarroba.com/tiempo/webmaster/bg33.gif") left top no-repeat;width:100%;height:100%;}#mia_tiempo_3_4e161259379104 {width:100%;height:100%;border:1px solid #523630;border-top:0px;background:transparent;margin:0px;padding:0px}#mia_tiempo_3_4e161259379104 td , #mia_tiempo_3_4e161259379104 b, #mia_tiempo_3_4e161259379104 span{font-family:verdana,arial,helvetica,sans-serif;font-size:9px;color:#523630;background:none;letter-spacing:0px;}#mia_tiempo_3_4e161259379104 td {font-weight:normal;border-top:1px solid #523630;white-space:nowrap;}#mia_tiempo_3_4e161259379104 td.mia_tiempo_titulo_4e161259379104 {border-right:1px solid #523630;}#mia_tiempo_3_4e161259379104 td.mia_tiempo_valor_4e161259379104 {border-right:1px solid #523630;font-family:helvetica}#mia_termo_4e161259379104 {background:url("http://pics.miarroba.com/tiempo/webmaster/mercurio3.gif") 28px 49px no-repeat;border:0px;margin:0px;padding:0px}#mia_tiempo_pie_4e161259379104{text-align:center}#mia_tiempo_pie_4e161259379104 a{color:#523630;text-decoration:none}#mia_tiempo_pie_4e161259379104 a:hover{color:#523630;text-decoration:underline}#mia_tiempo_clock_4e161259379104{width:40px;text-align:center;}#mia_tiempo_clock_4e161259379104 #points_4e161259379104{color:#523630}</style>');	//alert('funcionando');
	if(document.getElementById('mia_weather_link_4e16') && ( document.getElementById('mia_weather_link_4e16').innerHTML=='<A href="http://miarroba.com">miarroba.com</A>' || document.getElementById('mia_weather_link_4e16').innerHTML=='<a href="http://miarroba.com">miarroba.com</a>' ) || ( document.getElementById('mia_weather_link_4e16').innerHTML=='<A href="http://miarroba.es">miarroba.com</A>' || document.getElementById('mia_weather_link_4e16').innerHTML=='<a href="http://miarroba.es">miarroba.com</a>' ) || document.getElementById('mia_weather_link_4e16').innerHTML=='<A href="http://miarroba.es">miarroba.es</A>' || document.getElementById('mia_weather_link_4e16').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_4e161259379104" style="cursor:pointer;" onclick="window.open(\'http://tiempo.miarroba.com/europa/espana/el-tiempo-en-valencia.html\');" title="Ver Previsión Completa - Valencia, España" align=center><tr><td><table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_1_4e161259379104"><tr><td id="mia_tiempo_1_td_4e161259379104"><table cellpadding=10 cellspacing=0 border=0 id="mia_tiempo_2_4e161259379104"><tr><td><table cellpadding=4 cellspacing=0 border=0 id="mia_tiempo_3_4e161259379104"><tr><td id="mia_tiempo_calendar" colspan=2 class="mia_tiempo_valor_4e161259379104"><b><span id="dia_sem_4e161259379104">Sábado</span>, <span id="day_4e161259379104">28</span>/<span id="month_4e161259379104">Nov</span>/<span id="year_4e161259379104">2009</span></b></td><td id="mia_tiempo_clock_4e161259379104"><b><span id="hour_4e161259379104">04</span><span id="points_4e161259379104">:</span><span id="min_4e161259379104">31</span><span id="amClock_4e161259379104" style="font-size:9px;"></span></b></td></tr><tr><td colspan=3 ><b>Valencia, España</b></td></tr><tr><td colspan=3  ><b>Despejado</b></td></tr><tr><td class="mia_tiempo_titulo_4e161259379104">Viento</td><td class="mia_tiempo_valor_4e161259379104">5km/h NNE</td><td style="text-align:center;font-weight:bolder;border:1px solid #523630;border-top:solid 2px #523630;border-bottom:none;font-size:11px;">12&#176;C</td></tr><tr><td class="mia_tiempo_titulo_4e161259379104">Humedad</td><td class="mia_tiempo_valor_4e161259379104">62%</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_4e161259379104" width=34 height=101/></td></tr><tr><td class="mia_tiempo_titulo_4e161259379104">Sens. Térmica</td><td class="mia_tiempo_valor_4e161259379104">12&#176;C</td></tr><tr><td class="mia_tiempo_titulo_4e161259379104">Presión Atm.</td><td class="mia_tiempo_valor_4e161259379104">1020.0 mb <span style="font-size:10px">&#126;</span></td></tr><tr><td class="mia_tiempo_titulo_4e161259379104">Actualizado</td><td class="mia_tiempo_valor_4e161259379104">28/11/09 04: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_4e16').innerHTML="";
		document.getElementById('mia_weather_link_4e16').style.display="none";
					CalendarClock_4e161259379104(6,28,11,2009,4,31,44,24);
			}
	else
	{
		document.write('<table cellpadding=0 cellspacing=0 border=0 id="mia_tiempo_4e161259379104" 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_4e161259379104"><tr><td id="mia_tiempo_1_td_4e161259379104"><table cellpadding=2 cellspacing=0 border=0 id="mia_tiempo_2_4e161259379104"><tr><td><table cellpadding=4 cellspacing=0 border=0 id="mia_tiempo_3_4e161259379104"><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_4e161259379104();

function CalendarClock_4e161259379104(D_4e161259379104,d_4e161259379104,M_4e161259379104,y_4e161259379104,h_4e161259379104,m_4e161259379104,s_4e161259379104,T_4e161259379104)
{
	//Array
	DiaSemana_4e161259379104=Array('Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado');
NombreMes_4e161259379104=Array('','Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic');
	DiasMes_4e161259379104=Array('','31','28','31','30','31','30','31','31','30','31','30','31');
	
	
	
	s_4e161259379104=s_4e161259379104+1;
	
	if(s_4e161259379104%2==0)document.getElementById('points_4e161259379104').style.color='#523630';
	else document.getElementById('points_4e161259379104').style.color='#E79A61';
	
	if(s_4e161259379104==60)
	{
		s_4e161259379104=0;
		m_4e161259379104=m_4e161259379104+1;
		if(m_4e161259379104==60)
		{
			m_4e161259379104=0;
			h_4e161259379104=h_4e161259379104+1;
			if(h_4e161259379104==24)
			{
				h_4e161259379104=0;
				D_4e161259379104=D_4e161259379104+1;
				if(D_4e161259379104>6)D_4e161259379104=0;			
				d_4e161259379104=d_4e161259379104+1;
				
				if(M_4e161259379104==2)
				{
					if(Y_4e161259379104%4==0)
					{
						if(Y_4e161259379104%100==0)
						{
							if((Y_4e161259379104/100)%4==0)
								DiasMes_4e161259379104[2]=29;
							else
								DiasMes_4e161259379104[2]=28;
						}
						else
						{
							DiasMes_4e161259379104[2]=29;
						}	
					}
					else
					{
						DiasMes_4e161259379104[2]=28;
					}
				}
				if(d_4e161259379104>DiasMes[M_4e161259379104])
				{
					d_4e161259379104=1;
					M_4e161259379104=M_4e161259379104+1;
					if(M_4e161259379104>12)
					{
						M_4e161259379104=1;
						y_4e161259379104=y_4e161259379104+1;
						document.getElementById('year_4e161259379104').innerHTML=y_4e161259379104;
					}
					document.getElementById('month_4e161259379104').innerHTML=NombreMes[M_4e161259379104];
				}
				document.getElementById('dia_sem_4e161259379104').innerHTML=DiaSemana[D_4e161259379104];
				document.getElementById('day_4e161259379104').innerHTML=d_4e161259379104;
			}
			if(T_4e161259379104==24)
			{
				document.getElementById('hour_4e161259379104').innerHTML=((h_4e161259379104<10)?'0':'')+h_4e161259379104;
				document.getElementById('amClock_4e161259379104').innerHTML='mm';
			}
			if(T_4e161259379104==12)
			{
				document.getElementById('hour_4e161259379104').innerHTML=((h_4e161259379104>12)?(((h_4e161259379104-12)<10)?'':'')+(h_4e161259379104-12):((h_4e161259379104==0)?'12':((h_4e161259379104<10)?'':'')+h_4e161259379104));
				document.getElementById('amClock_4e161259379104').innerHTML=((h_4e161259379104<12)?'am':'pm');
			}
		}
		document.getElementById('min_4e161259379104').innerHTML=((m_4e161259379104<10)?'0':'')+m_4e161259379104;
	}
	setTimeout('CalendarClock_4e161259379104('+D_4e161259379104+','+d_4e161259379104+','+M_4e161259379104+','+y_4e161259379104+','+h_4e161259379104+','+m_4e161259379104+','+s_4e161259379104+','+T_4e161259379104+')',1000);
}
