onclick="window.open()" code example
Example 1: javascript open url
window.location.href = "http://example.com/";
Example 2: code to launch browser using javascript
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('printerFriendly.html','Print',,'width=300','height=200','menubar=yes',
'status=yes','location=yes','toolbar=yes','scrollbars=yes')");