Opening a new window with url through an OnClick event.

hello, in my grid i have a field with an onclick event, i want that onclick event to open a new window with a url(lets say www.google.com), how would i do that? im not very experienced with php so is it posible to do with php in the onclick event??