// Begin SABER tag // THE SABER TAG GOES HERE!!! // End SABER tag // banners ordval=Math.floor (Math.random()*1000000); function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function GetDomain () { var url = ""+window.location+""; if (url.indexOf("terra.com.pr",0) != -1) pcountry = "pr"; else pcountry = "us"; } GetDomain(); function mm(url,pref) { options = "scrollbars=no,height=470,width=700"; if (pref == null) pref = 0; newWindow = window.open("http://www.terra.com/multimedia/mm_choice3.html?video="+url+"&pref="+pref,'mmedia',options); } function audio(audiofile) { options = "scrollbars=no,height=200,width=285"; newWindow = window.open("http://www.terra.com/multimedia/audio/audio.html?audio="+audiofile,'audio',options); } function openTvPlayer(szQs) { var szUrl = new String("http://multimedia.terra.com/ot_frameset.asp"); if (szQs != "") { szUrl += szQs; } window.open(szUrl, "entplayer","height=615,width=800,toolbar=0,directories=0, location=0,status=0,scrollbars=1,resize=1,menubar=0,copyhistory=1"); } function SearchIt () { if (document.fast.query.value == 0) { alert("ERROR: Has olvidado rellenar el campo de bœsqueda, que no puede dejarse en blanco"); return false; } if (document.fast.query.length < 3) { alert("ERROR: La palabra de bœsqueda debe tener m‡s de 3 caracteres"); return false; } if (document.fast.multimedia.length == null) { document.fast.method = "get"; document.fast.action = "http://buscador.terra.com/default.asp"; } else { for (var i=0;i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i -1 && navigator.userAgent.toLowerCase().indexOf("opera") == -1) ? true : false; } } } var Flash = function(movie, id, width, height, initParams){ this.html = ""; this.attributes = this.params = this.variables = null; this.variables = new Array(); this.attributes = { "classid": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", "codebase": "http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=8,0,22,0", "type": "application/x-shockwave-flash" } this.params = { "pluginurl": "http://www.macromedia.com/go/getflashplayer_br" }; if(movie) { this.addAttribute("data", movie); this.addParameter("movie", movie); } if(id && id != null) this.addAttribute("id", id); if(width) this.addAttribute("width", width); if(height) this.addAttribute("height", height); if(initParams != undefined){ for(var i in initParams){ this.addParameter(i.toString(), initParams[i]); } } } Flash.version = "1.2b"; Flash.getObjectByExceptions = function(obj, excep){ var tempObj = {}; for(var i in obj){ var inclui = true; for(var j=0; j "; this.html += " "; } else { //non-IE this.html = " "; this.html += " "; } return this.html; } Flash.prototype.write = Flash.prototype.outIn = Flash.prototype.writeIn = function(w){ if(typeof w == "string" && document.getElementById) var w = document.getElementById(w); if( w != undefined && w ) w.innerHTML = this.toString(); else document.write( this.toString() ); } // End Flash