Here
getURL function get the url for search in google.com in a new
_blank window with the search text as input text with instance
name search
format
getURL("address","_blank")
here
the 2nd parameter blank represents the window in which results
open . It can be _self or _parent etc according to the requirements