function GetColor(n) { if (n == "c") { c = "#80A55B"; } else if (n == "d") { c = "#DDDDDD"; } else if (n == "Id") { c = "#DDDDDD"; } else if (n == "Ip") { c = "#DDDDDD"; } else if (n == "Is") { c = "#D8EDC3"; } else //#ECECEC//DDDDDD//BFD1AC if (n == "Ia") { c = "#FFEE99"; } else if (n == "g") { c = "#C3E3FF"; } else if (n == "b") { c = "#C0FFC0"; } else { c = "#000000"; } return c; } function mOver(n,v) { c = GetColor(n); x = n+v; document.getElementById(x).style.backgroundColor = c; } function mOut(n,v) { x = n+v; document.getElementById(x).style.backgroundColor = ""; } function listOver(n,v) { x = n+v; document.getElementById(x).style.textDecoration = "underline"; } function listOut(n,v) { x = n+v; document.getElementById(x).style.textDecoration = ""; } function mBorder(x,s) { if (s == "over") { document.getElementById(x).style.borderColor = "#999999"; } else if (s == "out") { document.getElementById(x).style.borderColor = ""; } }