if(top.location.href!='http://www.heraldo.es/'){ // top.location.href='http://www.heraldo.es/'; //the_string.substring(from, to); } if(top.location.href.indexOf("http://www.heraldo.es/index.html")!=0){ // top.location.href='http://www.heraldo.es/index.html'; } /**************** ESTAS DEBEN SER DE PABLO *****************************/ function overTD(td,color){td.style.cursor='hand';td.bgColor=color;} function outTD(td,color){td.style.cursor='default';td.bgColor=color;} /**************** ESTAS SON GENERALES DEL DREAMWEAVER *****************************/ function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(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=0)?i-1:i; //alert("Encontrado :"+i+" / "+fontsizes[i]+" / "+newindex+" / "+fontsizes[newindex]); } } var newFontSize=fontsizes[newindex]; MM_changeProp(objName,'','style.fontSize',newFontSize,'SPAN') } function subir(){ increaseSize('entrad',fontsizes); increaseSize('texto1',fontsizes); increaseSize('texto2',fontsizes); increaseSize('texto3',fontsizes); increaseSize('texto4',fontsizes); } function bajar(){ decreaseSize('entrad',fontsizes); decreaseSize('texto1',fontsizes); decreaseSize('texto2',fontsizes); decreaseSize('texto3',fontsizes); decreaseSize('texto4',fontsizes); } /********** ESTA ES PARA DESACTIVAR EL BOTON DERECHO ******************/ /* function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) { alert("Heraldo.es\nCopyright ® 2003 Todos los derechos reservados."); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("Heraldo.es\nCopyright ® 2003 Todos los derechos reservados."); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right;// End --> */ /********** ESTA ES PARA DESACTIVAR LA BARRA DE ESTADO ******************/ //Hide status bar msg II script- by javascriptkit.com //Visit JavaScript Kit (http://javascriptkit.com) for script //Credit must stay intact for use function hidestatus(){ window.status='Heraldo.es' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onmouseout=hidestatus