/* Define several functions to open controled windows for services
 * D.Deveaux <daniel.deveaux@univ-ubs.fr>
 * $Id: js_servicewindow.js,v 1.2 2005/06/24 10:39:42 deveaux Exp $
 */

function launchservice(title, url, height) {
    msgwin = window.open(url, title,
    'titlebar=yes,width=700,height='+height+',resizable=yes,scrollbars=yes');
    }

function servwindow(name, height, fixed) {
    if ( fixed == 'no' ) { fstr = ',resizable=no,scrollbars=auto'; }
    else  { fstr = ',resizable=yes,scrollbars=yes'; }
    sw = window.open('', name, 'titlebar=no,width=700,height='+height+fstr);
    }

function retToList() {
    window.opener.location.reload();
    close();
    }


