// JavaScript Document
DivTutiempo=document.getElementById('TT_qq7VaIzsq2arAr');
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.tutiempo.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 #FFF;width:105px; height:44px; color:#000000; background: #ffffff; overflow:hidden;';
marco=document.createElement('iframe');
marco.id='iFrame_qq7VaIzsq2arAr';
marco.src='http://www.tutiempo.net/TTapi/cc/_qq7VaIzsq2arAr';
marco.frameBorder=0;
marco.scrolling='no';
marco.width=105;
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");}

// funcion validar libro visitas
function ValidarForm()
{   
	if (document.formulario.nombre.value=='') {alert('Ingrese su nombre');document.formulario.nombre.focus();return false;}
	if (document.formulario.comentario.value=='') {alert('Ingrese un comentario');document.formulario.comentario.focus();return false;}
	
	if (document.formulario.codigo_seguridad.value=='') {alert('Ingrese el codigo de seguridad');document.formulario.codigo_seguridad.focus();return false;}

    return true;
}
