function onSearchZone() {
  window.open("go/services/zone?cp=" + document.form_cp.mailnom.value);
  return false;
}

  // script Moteur de recherche Google TM
function donnerFocus(chp){
  document.getElementById(chp).focus();
}

/**
 * Displays an confirmation box before to submit a link.
 * This function is called while clicking links
 *
 * @param   object   the link
 * @param   object   the sql query to submit
 *
 * @return  boolean  whether to run the query or not
 */
function confirmLink(theLink, theMessage)
{
    var confirmMsg  = 'Voulez-vous vraiment effectuer ';
    // Confirmation is not required in the configuration file
    // or browser is Opera (crappy js implementation)
    if (confirmMsg == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ' :\n' + theMessage);
    if (is_confirmed) {
        if ( typeof(theLink.href) != 'undefined' ) {
            theLink.href += '&is_js_confirmed=1';
        } else if ( typeof(theLink.form) != 'undefined' ) {
            theLink.form.action += '?is_js_confirmed=1';
        }
    }

    return is_confirmed;
} // end of the 'confirmLink()' function

