This script will search for the title & artist of the currently playing track:
tell application "iTunes" to set t to (name of current track) & " " & (artist of current track) open location ("http://www.google.com/search?hl=en&q=" & t & "&btnG=Google+Search")