Hola, no se porque pero estoy haciendo ésto:
   Cita:  function showWindow(title)
{			
	s = '<html><head><title>' + title+ '</title></head>'
 
ventana = window.open('','ventana','resizable=yes,scrollbars  =no');
ventana.document.write(s);
ventana.document.close();
}
    Pero me marca error en mi cadena "s", y no entiendo porque... 
 
  
Ya que si hago ésto:  
 Cita:  function showWindow(title)
{			
	s = '<html><head><title>Algun titulo</title></head>'
 
ventana = window.open('','ventana','resizable=yes,scrollbars  =no');
ventana.document.write(s);
ventana.document.close();
}
    Si funciona... alguien me puede decir que pasa..??  
regards...