

function switchContent(a){
    $('btn-' + oposite(a.getAttribute("href"))).className = '';
    $('btn-' + a.getAttribute("href")).className = 'active';
    $(oposite(a.getAttribute("href"))).fade({duration: 0});
    $(a.getAttribute("href")).appear({duration: 0.3});

    return false;
}

function oposite(id){
    if(id == 'more') return 'cv';
    else return 'more';
}

