/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function odm_menu_atualizar(url){

    var i;
    for (i = 1; i <= 8; i++) {

        if ($('#odm-menu #odm-' + i).attr('checked')){
            url += '1/';
        }else{
            url += '0/';
        }

    }

    window.location = url;

    
}