Grazie per la risposta, ho dato un occhiata al codice ma è troppo complessa la plugin per per trovar e capire il codice...vista la mia poca esperienza nel campo.....
ho comunque fatto un passo avanti......
function websearchGoogle() {
   var fgtext = document.getElementById("searchtext").value;
   var itasearch;
   document.getElementById("italiano").selected ? itasearch="lr%3Dlang_it" : itasearch="";
   var strsearch = "http://www.google.it/search?num=100&hl=it&as_qdr=all&q="+fgtext+"&btnG=Cerca&meta="+itasearch;
   window.content.document.location.href = strsearch;
    msgWindow=window.open(strsearch,"location=yes, toolbar=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, width=10, height=10");
    msgWindow.focus();
    var body=msgWindow.document.getElementsByTagName("body")[0]; <- ho messo il [0] e son andato avanti
    var listLink=new Array();
    var count=0;
    var lisa=body.getElementsByClassName("med");
    var lis=lisa.getElementsByClassName("");//<<<<<<<<<<<<<<<<<<<<<-------ORA SCOPPIA QUI
   // var lis=lisa.getElementsByTagName("DIV"); ho provato anche questa ma niente....
    lisa=lis.getElementsByClassName("");
    for(i=0;i<lisa.lenght-1;i++) {
      if (lis.className == ("g")){    
      listLink[count]=lis.childNodes[0].childNodes[0].href;
      }else{
   if(lis.className=="g s"){
     listLink[count]=lis.firstChild.firstChild.firstChild.firstChild.firstChild.firstChild.getAttribute("href");
      }else{
    if(lis.className==""){
     listLink[count]=lis.href;
      } }}
      count++;
      document.write(listLink + "
");
      }