function gotoCountry( formId )
{    
    var myForm = document.getElementById( formId )
        
    if ( myForm.elements['country'].value != "" )
    {
        window.location.href="/resource_centers/reg_sup/micro_reg/country/" + myForm.elements['country'].value + "/"
        return false;
    }
    
    return false;
}

// if someone selects all, deselects all other options, if they select another
// option deselects the all option
function checkMRPicks ( eltId )
{

    var mySel = document.getElementById( eltId );    
    //i'm exploiting the fact the select all = index 0
    myIdx = mySel.selectedIndex;
    
    if ( 0 == mySel.selectedIndex )
    {
        for ( i=1; i<mySel.length; i++ )
        {            
            mySel.options[i].selected = false ;
        }
        
    }
    else
    {
        mySel.options[0].selected=false;
    }
        
}
