function borrarconfirmacion(pregunta,URL)
{
confirmar=confirm(pregunta);
	if (confirmar)
	{
    location.href=URL;
  	}
}

<!-- cambia la direccion de la imagen -->
function ampliar(dato)
{  
		document.getElementById('galeria').src="";
		document.getElementById('galeria').src=dato+"-grande.jpg"; 
}
<!-- -->

function flip(rid)
  		{
    		current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
    		document.getElementById(rid).style.display = current;
  		}
		
		
<!-- FUNCTION FAVORITO -->
function favorito() {
	title = "Directorio de Blogs";
	url = "www.zonadeblogs.com";
        if (window.sidebar) { // Mozilla Firefox Bookmark
                window.sidebar.addPanel(title, url,"");
        } 
	else if( window.external ) { // IE Favorite
                window.external.AddFavorite(url, title); 
	}
        else{ // Opera Hotlist
                alert("Lo Sentimos. Tu navegador web no suporta añadir automáticamente a Favoritos/Marcadores. Presione 'Ctrl-D' en Firefox o 'Ctrl-T' en Opera para añadirlo manualmente.");
                return true;
        }
 }
<!-- -->

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}