function showPBar() {
    document.getElementById('pbar').style.visibility = 'visible';
}

function hidePBar() {
    document.getElementById('pbar').style.visibility = 'hidden';
}

function trim(str) {
    return str.replace(/\s/g, "");
}

function showPBar1() {
    document.getElementById('pbar1').style.visibility = 'visible';
}

function hidePBar1() {
    document.getElementById('pbar1').style.visibility = 'hidden';
}
