function confirmbox(theLink, Query)
{
    // Confirmation is not required in the configuration file
    // or browser is Opera (crappy js implementation)
    
    var is_confirmed = confirm(Query);
    if (is_confirmed) {
        if ( typeof(theLink.href) != 'undefined' ) {
            theLink.href += '&is_js_confirmed=1';
        } 
    }
    return is_confirmed;
    
}    


function clr_on_focus(field) {
     if (field.value == field.defaultValue)
     {
         field.value = ""
     }
 }

