function abrirventana(pagina,ancho,alto,scroll){ window.open(pagina,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + scroll + ",resizable=yes,width=" + ancho + ",height=" + alto + ",top=85,left=140"); } function flash(archivo,w,h,id){ document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); } function cargarfoto(imagen,ancho,alto){ fin=ancho; derecha=(screen.width-ancho)/2; arriba=(screen.height-alto)/2; opciones = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+ancho+",height="+alto+",left="+derecha+",top="+arriba+""; ventana = window.open("ampliarfoto.php?img=" + imagen, "_blank", opciones); } function cargarfotomini(srcarchivo,epigrafe,link){ document.getElementById("fotosrc").src = srcarchivo; document.getElementById("fotoepigrafe").innerHTML = epigrafe; document.getElementById("fotolink").href = "javascript:abrirventana('ampliarfoto.php?foto=" + link + "','0','0')"; } var speed = 100 var pause = 3000 var timerID = null var bannerRunning = false var ar = new Array() ar[0] = "ELTURISTAENMISIONES.com" ar[1] = "Noticias de Turismo para Misiones y el mundo" //ar[2] = "Noticias con audio y video" //ar[3] = "Vivi la imágen de las Cataratas del Iguazú en vivo!" //ar[4] = "...y proximamente mas servicios para la gente de Iguazu que nos visita a diario" //ar[5] = "..... poemas, cuentos, crónicas, pensamientos ....." //ar[6] = "..... Y si eres mayor de edad visita http://www.geocities.com/literaturayerotismo ....." var currentMessage = 0 var offset = 0 function stopBanner() { if (bannerRunning) clearTimeout(timerID) bannerRunning = false } function startBanner() { stopBanner() showBanner() } function showBanner() { var text = ar[currentMessage] if (offset < text.length) { if (text.charAt(offset) == " ") offset++ var partialMessage = text.substring(0, offset + 1) window.status = partialMessage offset++ // IE sometimes has trouble with "++offset" timerID = setTimeout("showBanner()", speed) bannerRunning = true } else { offset = 0 currentMessage++ if (currentMessage == ar.length) currentMessage = 0 timerID = setTimeout("showBanner()", pause) bannerRunning = true } } startBanner(); // -->