Couple of newbie questions ... pls help

Hey all,
I’m working on a new Intranet site for the College I work for, and have decided to come back to flash to spice things up a little (mostly because its a intranet site, loading times wont be an issue).

Firstly - I want to make a Google search box and button. I already have made the design, its just the code I’m having trouble with.

on (release, keyPress "<Enter>"){
	address = "http://google.co.uk/search?pg=q&q=" + url;
	getURL (address, "main");
}

That is what I have so far, I’ve tried many approaches to this search box, and they all seem to make Google search for “_level0.url”

Secondly - Does anyone know how to make the “Search” (the sliding appearing search box) bit on this forum ? I’m not sure if it’s Flash or not, but it is a very nice touch to the site.

Any help will be very greatfull