function activatePipe(barID) {
document.getElementById("pipeline_bar_" + barID).style.backgroundPosition = '0px -25px';
document.getElementById("pipeline_tip_" + barID).style.backgroundPosition = '0px -25px';
document.getElementById("detail_copy_" + barID).style.display = 'block';
}

function deactivatePipe(barID) {
document.getElementById("pipeline_bar_" + barID).style.backgroundPosition = '0px 0px';
document.getElementById("pipeline_tip_" + barID).style.backgroundPosition = '0px 0px';
document.getElementById("detail_copy_" + barID).style.display = 'none';
}