function ow(url,p) {
    /////////////////////////////////////////////////////////////////////
    // Function to open a Textalk Weblisher publication.               //
    // Parameter 'url' is the path to the view file, probably named    //
    // 'view.php'. It may be a local path (../pub/view.php) or a full  //
    // URL (http://my.server.com/view.php).                            //
    // Parameter 'p' MAY be set to the subdirectory of a specific      //
    // publication. If not set, it will show the default publication.  //
    /////////////////////////////////////////////////////////////////////
    var width = screen.availWidth;
    var height = screen.availHeight;
    var fullscreen = false;  // For future use
    var fullurl;
    var opts;
    if (url == '') url = 'view.php';
    fullurl = url;
    if (p != '') fullurl += '?p=' + escape(p);
    opts = 'titlebar=no,toolbar=no,location=no,status=yes';
    opts += ',personalbar=no,resizable=yes,menubar=no,scrollbars=yes';
    opts += ',width=' + width + ',height=' + height;
    opts += ',screenX=0,screenY=0,top=0,left=0';
    if (fullscreen) opts += ',fullscreen=yes';
    w = window.open(fullurl,'_blank',opts);
    w.focus();
    if(w.moveTo) w.moveTo(0, 0);
    if(w.resizeTo) w.resizeTo(width, height);
}
