function defineDataTables(){
    $('#T_carrito_body').dataTable( {
    "bPaginate": false,
    //    "bLengthChange": false,
    "bFilter": false,
    "bSort": false,
    "bInfo": false,
    "bAutoWidth": false,
    "bProcessing": false,
    "bDestroy": true,
//    "sScrollY": "240px",
    "aoColumnDefs": [
      {
        "bSortable": true, "aTargets": [ 0 ]            
      },
      {
        "bSortable": false, "aTargets": ["_all"]
      },
      {
        "sWidth" : "130px", "aTargets": [2,3]
      },
//      {
//        "sWidth" : "120px", "aTargets": [-1]
//      },
      {
        "sWidth" : "70px", "aTargets": [0,-1]
      },
//      {
//        "sClass": "left", "aTargets": [1]
//      },

      {
        "sClass": "center", "aTargets": [0,1,-1]
      },

      {
        "sClass": "right", "aTargets": [2,3]
      }
      
    ],
    "oLanguage": {
      "sZeroRecords": "NO SE ENCONTRARON PRODUCTOS EN SU CARRITO",
      "sEmptyTable": "NO SE ENCONTRARON PRODUCTOS EN SU CARRITO"
    }
  } );
    $('#T_productos_lista').dataTable( {
        //            "sScrollY": "600px",
        "bDestroy": true,
        "bPaginate": true,
        "bLengthChange": false,
        "bFilter": true,
        "bSort": true,
        "bInfo": false,
        "bAutoWidth": false,
        "bProcessing": true,
        "bSortCellsTop": true,
        "iDisplayLength": 35,
        "sPaginationType": "full_numbers",
        //            "bRetrieve": true,
        "bDestroy": true,

        "aaSorting": [[0,'asc']],
        "aoColumns": [
        {
            "sWidth" : "auto",
            "bSortable": true
        },

        {
            "sWidth" : "70px",
            "bSortable": false,
            "sType": "uk_date"
        },

        {
            "sWidth" : "70px",
            "bSortable": false
        },

        {
            "sWidth" : "90px",
            "bSortable": false
        }     

        ],
        "oLanguage": {
            //"sUrl": "/lib/jquery/plugins/datatables/media/lang_es.txt",
            "sSearch":      "BUSCAR EN ESTA LISTA:",
            "sZeroRecords": "NO SE ENCONTRARON REGISTROS",
            "sEmptyTable":  "NO SE ENCONTRARON REGISTROS",            
            "oPaginate": {
                "sFirst":       "PRIMERO",
                "sPrevious":       "ANTERIOR",
                "sLast":       "ULTIMO",
                "sNext":       "SIGUIENTE"
            }
        }
    } );

        
    $('#Tabla_Admin_Usuario_Lista').dataTable( {
        "bPaginate": true,
        "bLengthChange": false,
        "bFilter": true,
        "bSort": false,
        "bInfo": false,
        "bAutoWidth": true,
        "bProcessing": true,
        "bSortCellsTop": false,
        "iDisplayLength": 30,
        "sPaginationType": "full_numbers",
        "bDestroy": true,
        //             "aaSorting": [],
//        "aaSorting": [[0,'asc']],
        "aoColumnDefs": [
        {
            "bSortable": true,
            "aTargets": [ 0, 1 ]
        },
        {
            "bSortable": false,
            "aTargets": ["_all"]
        }
    
        ],
        "oLanguage": {
            "sZeroRecords": "NO SE ENCONTRARON REGISTROS",
            "sEmptyTable":  "NO SE ENCONTRARON REGISTROS",
            "sSearch":      "BUSCAR:",
            "oPaginate": {
                "sFirst":       "PRIMERO",
                "sPrevious":       "ANTERIOR",
                "sLast":       "ULTIMO",
                "sNext":       "SIGUIENTE"
            }
        }
    } );

    $('#AdminProductosLista').dataTable( {
        "bPaginate": true,
        "bLengthChange": false,
        "bFilter": true,
        "bSort": true,
        "bInfo": false,
        "bAutoWidth": true,
        "bProcessing": true,
        "bSortCellsTop": false,
        "iDisplayLength": 30,
        "sPaginationType": "full_numbers",
        "bDestroy": true,
        //             "aaSorting": [],
        "aaSorting": [[0,'asc']],
        "aoColumnDefs": [
        {
            "bSortable": true,
            "aTargets": [ 0 ]
        },
        {
            "bSortable": false,
            "aTargets": ["_all"]
        },
        {
            "sWidth": "130px",
            "aTargets": ["-1"]
        }

        ],
        "oLanguage": {
            "sZeroRecords": "NO SE ENCONTRARON REGISTROS",
            "sEmptyTable":  "NO SE ENCONTRARON REGISTROS",
            "sSearch":      "BUSCAR:",
            "oPaginate": {
                "sFirst":       "PRIMERO",
                "sPrevious":       "ANTERIOR",
                "sLast":       "ULTIMO",
                "sNext":       "SIGUIENTE"
            }
        }



    } );


    $('#AdminSeccionesLista').dataTable( {
        "bPaginate": false,
        "bLengthChange": false,
        "bFilter": false,
        "bSort": true,
        "bInfo": false,
        "bAutoWidth": false,
        "bProcessing": true,
        "bSortCellsTop": false,
//        "iDisplayLength": 30,
        "sPaginationType": "full_numbers",
        "bDestroy": true,
        //             "aaSorting": [],
        "aaSorting": [[0,'asc']],
        "aoColumnDefs": [
        {
            "bSortable": true,
            "aTargets": [ 0 ]            
        },
        {
            "bSortable": false,
            "aTargets": ["_all"]
        },
        {
            "sWidth" : "70px",
            "aTargets": [1, 2]
        },
        { "sClass": "center", "aTargets": [1, 2] }

        ]
    } );
    
    $('#AdminBannersLista').dataTable( {
        "bPaginate": false,
        "bLengthChange": false,
        "bFilter": false,
        "bSort": true,
        "bInfo": false,
        "bAutoWidth": false,
        "bProcessing": true,
        "bSortCellsTop": false,
//        "iDisplayLength": 30,
        "sPaginationType": "full_numbers",
        "bDestroy": true,
        //             "aaSorting": [],
       "aaSorting": [[0,'asc']],
        "aoColumnDefs": [
        {
            "bSortable": true,
            "aTargets": [ 0 ]            
        },
        {
            "bSortable": false,
            "aTargets": ["_all"]
        },
        {
            "sWidth" : "70px",
            "aTargets": [-1,-2]
        },
        { "sClass": "center", "aTargets": [-1,-2] }

        ]
    } );



}
