Hi,
mit
var ref = encodeURI("http://www.google.de/search?hl=de&q=suchwort&btnG=Google-Suche&meta=");kommt leider auch nicht mehr an.
Und deine Kontrollausgabe dieses Wertes hat was ergeben?
MfG ChrisB
-- 
„This is the author's opinion, not necessarily that of Starbucks.“
  „This is the author's opinion, not necessarily that of Starbucks.“
 nicht angemeldet
 nicht angemeldet