function abrir_ac(){ document.getElementById('tempo').style.display = 'block'; document.getElementById('tempo2').style.display = 'block'; } window.setTimeout('abrir_ac()', 2000); var bustcachevar=0 var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) page_request = new XMLHttpRequest() else if (window.ActiveXObject){ try { page_request = new ActiveXObject("Msxml2.XMLHTTP") } catch (e){ try{ page_request = new ActiveXObject("Microsoft.XMLHTTP") } catch (e){} } } else return false page_request.onreadystatechange=function(){ loadpage(page_request, containerid) } if (bustcachevar) bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime() page_request.open('GET', url+bustcacheparameter, true) page_request.send(null) } function loadpage(page_request, containerid){ if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) document.getElementById(containerid).innerHTML=page_request.responseText } function youtub(url){ document.getElementById('youtube').style.display = 'block'; ajaxpage('/you_tube/'+url+'.mov', 'youtube_j'); } function fechar_you(){ var texts = document.getElementById('youtube_j').innerHTML; r=' '; document.getElementById('youtube_j').innerHTML = r; document.getElementById('youtube').style.display = 'none'; }