function focusfield(v,field) { 
if(field.value==v) {
field.value='';
} else {
field.select();
}
 
} 
var lastoption='';
function menus(id,action) { 
if(lastoption && lastoption!=id){
if(get_objects_id(lastoption)) {
get_objects_id(lastoption).style.display='none';
}
} 
if(get_objects_id(id)) { 
if(action)
get_objects_id(id).style.display='none';
else {
get_objects_id(id).style.display='block';
lastoption=id;
}
} 

}
