function selectInput(item) { try { if (item != null && item.value != '') { item.select(); item.focus(); } } catch(e) {} }