function nsgetfocust(){
event.cancelBubble=true;
with (event.srcElement) {
if (tagName.toLowerCase()=="input"){
className="nsgetfocus";
}
}
}
function nslostfocust(){
event.cancelBubble=true;
with (event.srcElement) {
if (tagName.toLowerCase()=="input"){
if(gf==0)className="nslostfocus";
}
}
}
function nsshowlist(){
event.cancelBubble=true;
with (event.srcElement) {
if (tagName.toLowerCase()=="input"){
if(gf==1){
document.getElementById(name+"list").style.visibility="hidden"
gf=0;
}else{
document.getElementById(name+"list").style.visibility="visible"
gf=1;
}
}
}
}