how to control browser page size

Hi Im trying to write an apple script to open a webpage at a paticular size, I have created a piece of code that will open the desired webpage, but I cant get it to set the browser window size…help:D

this is what I have so far:


tell application "Safari"
	open location "http://www.google.com"
--The line below is wrong I know, so does anyone know the correct code I should use?	
	set browser size 100 x 100
end tell

tell application "Safari"
	tell window 1 to ¬
		set bounds to {64, 22, 1020, 711}
end tell

Excellent …Thank you.