if (document.all) {
document.write("<style>#page{width:780px;}#heading{padding-bottom:0px;}.navbar{height:23px; margin-top:-3px;}#footer {margin-bottom:-3px;}.content{padding-top:6px;}.for-theoverflow {border-width:0px; border-style:none;}.lft-overflow {border-left:1px solid #737373; border-right:1px solid #737373;}</style>");
} 
var tasksHeight = 120;
var committeeHeight = 85;
if (screen.height < 610) {
} else if (screen.height < 770) {
tasksHeight = 202;
committeeHeight = 135;
} else if (screen.height < 870) {
tasksHeight = 260;
committeeHeight = 173;
} else if (screen.height > 870) {
tasksHeight = 356;
committeeHeight = 237;
} 
document.write('<style>#left-tasks {height:' + tasksHeight + ';} #left-committees {height:' + committeeHeight + ';}</style>');

function navbarBtn(theitem,theaction) {
var tabon = document.getElementById('tab-' + theitem + '-on');
var taboff = document.getElementById('tab-' + theitem + '-off');
if (theaction == 1) {
tabon.style.display = "inline";
taboff.style.display = "none";
} else {
tabon.style.display = "none";
taboff.style.display = "inline";
}
}

function logout() {
alert('To log out: Go to "File" then choose "Exit."  This will close your browser, which will also log you out of the system.');
}

function moveBtnOn(imgSrc,imgName,t) {
imgSrc = "/images/buttons/" + imgSrc + "_on.gif";
if (t) {
imgName.src=imgSrc;
} else {
document[imgName].src=imgSrc;
}
}
function moveBtnOff(imgSrc,imgName,t) {
imgSrc = "/images/buttons/" + imgSrc + ".gif";
if (t) {
imgName.src=imgSrc;
} else {
document[imgName].src=imgSrc;
}
}

function smallWinLink(url,width,height) {
win=window.open(url,"smallwin","width=" + width + ",height=" + height + ",scrollbars,resizable,left=10,top=10");
}

function displayItem(theitem) {
var theid = document.getElementById(theitem);
theid.style.display = "";
}
function hideItem(theitem) {
var theid = document.getElementById(theitem);
theid.style.display = "none";
}
function changeClassName(theitem,theclass) {
var theid = document.getElementById(theitem);
theid.className = theclass;
}

function updateFieldText(theitem,thetext) {
var theid = document.getElementById(theitem);
theid.innerHTML = thetext;
}
function updateInputText(theitem,thetext) {
var theid = document.getElementById(theitem);
theid.value = thetext;
}




/*	WORK AREA */
function subfolderToggle(num) {
var subf = document.getElementById("subfolders");
var togshow = document.getElementById("togshow");
var toghide = document.getElementById("toghide");
if (num == 0) {
subf.style.display = "none";
togshow.style.display = "inline";
toghide.style.display = "none";
} else {
subf.style.display = "inline";
togshow.style.display = "none";
toghide.style.display = "inline";
}


}