<script>
function One(){
var st = document.getElementById('optID').options[document.getElementById('optID').selectedIndex].value;
if(st=='YES'){
Two();
}else{
Three();
}
} function Two(){
}
function Three(){
}
function One(){
var st = document.getElementById('optID').options[document.getElementById('optID').selectedIndex].value;
if(st=='YES'){
Two();
}else{
Three();
}
} function Two(){
}
function Three(){
}
var opt=document.getElementById('optID');
var st = opt.options[opt.selectedIndex].value;
if(st=='YES'){
function Two();
}else{
function Three();
}
}