//#f4bf46;#839CB1

function chbutover(id, desc, pos){

document.getElementById(id).style.backgroundColor='#555';
document.getElementById(id).style.cursor='hand';
document.getElementById('navdesc').style.left = pos;
document.getElementById('navdesc').innerHTML = '<p>' + desc + '</p>';
document.getElementById('navdesc').style.visibility = 'visible';
}

function chbutout(id){
document.getElementById(id).style.backgroundColor='#68849b';
document.getElementById('navdesc').style.visibility = 'hidden';
}

function redlinkover(id){
document.getElementById(id).style.color='#68849b';
document.getElementById(id).style.cursor='hand';
}

function redlinkout(id){
document.getElementById(id).style.color='#f00';
}

function mmnavover(id, desc, pos){

document.getElementById(id).style.backgroundColor='#555';
document.getElementById(id).style.cursor='hand';
document.getElementById('mmnavdesc').style.left = pos;
document.getElementById('mmnavdesc').innerHTML = '<p>' + desc + '</p>';
document.getElementById('mmnavdesc').style.visibility = 'visible';
}

function mmnavout(id){
document.getElementById(id).style.backgroundColor='#68849b';
document.getElementById('mmnavdesc').style.visibility = 'hidden';
}

function mmfilterover(id){
document.getElementById(id).style.backgroundColor='#555';
document.getElementById(id).style.cursor='hand';
}

function mmfilterout(id){
document.getElementById(id).style.backgroundColor='#68849b';
}

function ctrlbutover(id, desc, pos){

document.getElementById(id).style.backgroundColor='#555';
document.getElementById(id).style.cursor='hand';
document.getElementById('ctrldesc').style.left = pos;
document.getElementById('ctrldesc').innerHTML = '<p>' + desc + '</p>';
document.getElementById('ctrldesc').style.visibility = 'visible';
}

function ctrlbutout(id){
document.getElementById(id).style.backgroundColor='#68849b';
document.getElementById('ctrldesc').style.visibility = 'hidden';
}

function oppsbutover(id, desc, pos){

document.getElementById(id).style.cursor='hand';
window.status = "Opportunity Description: " + desc;
}

function oppsbutout(id){
window.status = "";
}


function vcact(type){

if (type == 'act'){
document.getElementById('vcaction').style.visibility = 'visible';
document.getElementById('vccontacts').style.visibility = 'hidden';
document.getElementById('vcfiles').style.visibility = 'hidden';
}
if (type == 'contact'){
document.getElementById('vcaction').style.visibility = 'hidden';
document.getElementById('vccontacts').style.visibility = 'visible';
document.getElementById('vcfiles').style.visibility = 'hidden';
}
if (type == 'file'){
document.getElementById('vcaction').style.visibility = 'hidden';
document.getElementById('vccontacts').style.visibility = 'hidden';
document.getElementById('vcfiles').style.visibility = 'visible';
}
}

function mmfiltershow(type){

if (type=='filter'){
document.getElementById('mmaction').style.visibility = 'hidden';
document.getElementById('mmfilterarea').style.visibility = 'visible';
} else {
document.getElementById('mmaction').style.visibility = 'visible';
document.getElementById('mmfilterarea').style.visibility = 'hidden';
}

}

function vcpro(type){

if (type == 'profile'){
document.getElementById('vcprofile').style.visibility = 'visible';
document.getElementById('vcproject').style.visibility = 'hidden';

}
if (type == 'project'){
document.getElementById('vcprofile').style.visibility = 'hidden';
document.getElementById('vcproject').style.visibility = 'visible';
}

}

function currcl(){
document.getElementById('currclient').style.visibility = 'visible';
document.getElementById('newclient').style.visibility = 'hidden';
}
function newcl(){
document.getElementById('currclient').style.visibility = 'hidden';
document.getElementById('newclient').style.visibility = 'visible';
}

function showwindate(){
document.getElementById('windate').style.visibility = 'visible';
}
function hidewindate(){
document.getElementById('windate').style.visibility = 'hidden';
}

function showstdate(){
document.getElementById('stdate').style.visibility = 'visible';
}
function hidestdate(){
document.getElementById('stdate').style.visibility = 'hidden';
}

function showenddate(){
document.getElementById('enddate').style.visibility = 'visible';
}
function hideenddate(){
document.getElementById('enddate').style.visibility = 'hidden';
}

