function comenta(id) {
  ancho=450;
  alto=500;
  izda=(screen.width-ancho)/2;
  abajo=(screen.height-alto)/2;
  
  window.open("comentarios.php?id="+id,"com","width="+ancho+",height="+alto+",left="+izda+",top="+abajo+",toolbar=no");
} 
function abre(url,ancho,alto) {
  if (ancho==0) {
    ancho = screen.width;
    alto = screen.height;
  }
  izda=(screen.width-ancho)/2;
  abajo=(screen.height-alto)/2;
  
  window.open(url,"apertura","width="+ancho+",height="+alto+",left="+izda+",top="+abajo+",toolbar=no,scrollbars=yes");
}
function estado(mensaje) {
  if (!mensaje) { mensaje="...I rather be dead than being so lame..."; }
  window.status=mensaje;
}
function confirmar(m) {
  if (confirm("Seguro q kieres borrarlo?")) { window.location=m; }
}
function cambiaColor(obj,color) {
  obj.style.background=color;
}
function vete(url) {
  window.location=url;
}