DivTutiempo=document.getElementById('TT_Vh26dtUFoyIUcm638Clzio');
if (DivTutiempo)
{
	var vinOk = 'no';
	if (!DivTutiempo.links)
	{
		DivTutiempo.links = DivTutiempo.getElementsByTagName('a');
	}
	for (var t=0; t<DivTutiempo.links.length; t++)
	{
		var comlinksTT = DivTutiempo.links[t]; 
		if (comlinksTT.href.search('http://www.mestanza.net/') != -1)
			{
				if(comlinksTT.getAttribute('rel') == 'nofollow')
				{
				} 
				else 
				{
					vinOk='si'; 
					break;
				} 
			} 
	}
}

if(DivTutiempo&&vinOk=='si')
{
	while(DivTutiempo.firstChild)
	{
			DivTutiempo.removeChild(DivTutiempo.firstChild)
	};
	DivTutiempo.style.cssText='border:1px solid #3f0000;width:160px; height:65px; color:#800000; background: #c0c0c0; overflow:hidden;';
	marco=document.createElement('iframe');
	marco.id='iFrame_Vh26dtUFoyIUcm638Clzio';
	marco.src='http://www.tutiempo.net/TTapi/_Vh26dtUFoyIUcm638Clzio';
	marco.frameBorder=0;
	marco.scrolling='no';
	marco.width=160;
	marco.height='100%';
	DivTutiempo.appendChild(marco);
}
else 
{
	alert("Error en la carga del API del tiempo\nEl código introducido no es correcto\nPara mas información: www.tutiempo.net");
}
