function HideDiv(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowDiv(d,t,l) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "inline";
document.getElementById(d).style.top = t+"px";
document.getElementById(d).style.left = l+"px";
}
function SublinkOn(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.backgroundColor = "#cc0000";
document.getElementById(d+'_a').style.color = "#ffffff";
}
function SublinkOff(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.backgroundColor = "";
document.getElementById(d+'_a').style.color = "#000000";
}