function popup(url,params) {
    var w = window.open(url, 'popup', params);
    w.focus();
}

