ement('div');
       new_elem.setAttribute("id", "searchbox");
       new_elem.setAttribute("class", "gcse-searchbox");
       new_elem.setAttribute("data-as_oq", branch); // here it happens
       container.appendChild(new_elem);

       // rebuild searchresult
       var container = document.getElementById("searchresults-container");
       var old_elem = document.getElementById("searchresults");
       container.removeChild(old_elem);
       var new_elem = document.createElement('div');
       new_elem.s