'Render special active items'

@staticmethod
def checkbox_item(item):

    name = item.label
    link = item.url()
    _id = name['id']
    if ('name' in name):
        _name = name['name']
    else:
        _name = ''
    if ('value' in name):
        _value = name['value']
    else:
        _value = False
    if ('request_type' in name):
        _request_type = name['request_type']
    else:
        _request_type = 'ajax'
    if link:
        if (_request_type == 'ajax'):
            _onchange = ("var    val=$('#%s:checked').length;$.getS3('%s'+'?val='+val,null,false,null,false,false)" % (_id, link))
        else:
            _onchange = ("location.href='%s'" % link)
    else:
        _onchange = None
    return LI(A(INPUT(_type='checkbox', _id=_id, _onchange=_onchange, value=_value), ('%s' % _name), _nowrap='nowrap'), _class='menu-toggle')
