document.getElementById((skin=="vector")?"panel":"content").innerHTML+='<div id="p-search" style="display:block;position:fixed;bottom:87px295px;left:0px;z-index:2"><h5 lang="en" xml:lang="en"><label for="searchInput">Search</label></h5><form action="/w/index.php" id="searchform2"><input type="hidden" name="title" value="Special:Search"><input type="submit" name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if one exists"><input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search Wikipedia for this text"><button type="button" ONCLICK="window.open(wgServer+\'/wiki/\'+document.getElementById(\'searchInput2\').value)"><img src="http://bits.wikimedia.org/skins-1.5/vector/images/external-link-ltr-icon.png"> </button><BR><input id="searchInput2" name="search" type="text" title="Search Wikipedia [alt-f]" accesskey="f" value="" autocomplete="off" size=19></form></div>';
One bug (minor) If you have already scrolled down, the first letter typed into the box will cause the suggestion menu to pop up elsewhere, but this is fixed by typing another letter.