//++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.pl"><INPUT TYPE=text TITLE="Type what you would like to search for here, and hit Return" OnFocus="this.className=\'nextbuttonOn\'; clearText(this)" OnBlur="this.className=\'nextbutton\'; restoreText(this)" OnMouseOver="this.className=\'nextbuttonOn\'; window.status=\'Moteur de Recherche: Tapez ce que vous voulez rechercher ici, et faites Retour\'; return true;" OnMouseOut="this.className=\'nextbutton\'" NAME=terms CLASS=nextbutton VALUE="Search Engine" OnFocus="clearText(this)" SIZE=20><INPUT TYPE=hidden NAME=boolean VALUE=And><INPUT TYPE=hidden NAME=case VALUE=Insensitive></FORM>');

document.write('<FORM NAME=SendPage ACTION="http://www.davidphenry.com/html/SendPage.php" METHOD=post CLASS=index OnMouseOver="status=\'Envoyer cette page &agrave; vos amis&#133;\'; return true;" TITLE="Send your friends e-mail about this page&#133;"><INPUT TYPE=hidden NAME=PhotoName VALUE="'+document.title+'"><INPUT TYPE=hidden NAME=PhotoAddress VALUE="'+window.location+'">Send <A CLASS=contact HREF="javascript:document.SendPage.submit();">this page</A> to a friend.</FORM>')

addthis_pub  = 'dhenry';
var addthis_config = {data_track_clickback: true }
document.write('<A HREF="http://www.addthis.com/bookmark.php" OnMouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" OnMouseout="addthis_close()" OnClick="return addthis_sendto()"><IMG SRC="http://s7.addthis.com/button1-addthis.gif" STYLE="margin: 0px 20px 0px 0px" WIDTH=125 HEIGHT=16 BORDER=0 ALT=""></A><SCRIPT TYPE="text/javascript" SRC="http://s7.addthis.com/js/152/addthis_widget.js"></SCRIPT>')

if (window.sidebar) {
document.write('<SPAN CLASS=copyright><A CLASS=prevlink HREF="javascript:addNS6sidebar()" OnMouseOver="window.status=\'Ajouter ce site &agrave; votre panel de gauche\'; return true;">Add this site</A> to your side bar</SPAN>');
}
function addNS6sidebar() {
if (window.sidebar&&window.sidebar.addPanel)
window.sidebar.addPanel("Photographs by David Henry","http://www.davidphenry.com/scripts/sidebar.htm","");
}

document.write('</P>');