//++Clear/Restore VALUE Text inside Search Field On Focus/Blurfunction clearText(thefield){ if (thefield.defaultValue==thefield.value)thefield.value = "" }function restoreText(thefield){ if (thefield.value=="")thefield.value = thefield.defaultValue}//++Move user-selected text to the search fieldfunction display() {if (document.getSelection) { var str = document.getSelection(); }else if (document.selection && document.selection.createRange){ var range = document.selection.createRange();var str = range.text; }document.search.terms.value = str;}if (window.Event)document.captureEvents(Event.MOUSEUP);document.onmouseup = display;document.write('<FORM NAME=search METHOD=post ACTION="http://www.davidphenry.com/search/search_fr.pl"><INPUT TYPE=text TITLE="Moteur de Recherche: Tapez ce que vous voulez rechercher ici, et faites Retour" OnFocus="this.className=\'nextbuttonOn\'; clearText(this)" OnBlur="this.className=\'nextbutton\'; restoreText(this)" OnMouseOver="this.className=\'nextbuttonOn\'; window.status=\'Type what you would like to search for here, and hit Return\'; return true;" OnMouseOut="this.className=\'nextbutton\'" NAME=terms CLASS=nextbutton VALUE="Moteur de recherche" OnFocus="clearText(this)" SIZE=20><INPUT TYPE=hidden NAME=boolean VALUE=Et><INPUT TYPE=hidden NAME=case VALUE=Insensible></FORM>');