function openWindow (url, name, features) {
  var myWindow = window.open(url, name, features);
  myWindow.focus();
}

function openHelp(helpUrl, contentUrl) {    
    if (contentUrl != null && contentUrl != '') {
        helpUrl = helpUrl + '?contentUrl=' + contentUrl;    
    }
    return openWindow(helpUrl, 'helpWindow', 'height=450,width=650,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,titlebar=1,toolbar=0,z-lock=0');
}


function openAbout(aboutUrl) {    
    return openWindow(aboutUrl, 'aboutWindow', 'height=175,width=300,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0,z-lock=0');
}

