<select class="plotSelect tooltip" id="typeSelect" onchange="plotSelectOnChange(this.value)" onmouseenter="plotSelectOnMouseEnter()" onmouseleave="plotSelectOnMouseLeave()">
function plotSelectOnChange(select) {
try {
// i not shown for brevity
document.getElementById("plotHintImage").src = img;
}
catch(err) {
alert(err);
}
}
function plotSelectOnMouseEnter(select) {
try {
var hint = document.getElementById("plotHint");
hint.style.visibility = "visible";
}
catch(err) {
alert(err);
}
}
function plotSelectOnMouseLeave() {
try {
var hint = document.getElementById("plotHint");
hint.style.visibility = "hidden";
}
catch(err) {
alert(err);
}
}