function findObject(objectId) { if(window.document.getElementById && window.document.getElementById(objectId)) return window.document.getElementById(objectId); else if (window.document.all && window.document.all(objectId)) return window.document.all(objectId); else if (window.document.layers && window.document.layers[objectId]) return window.document.layers[objectId]; else return null; } function selectInput(item) { try { if (item != null && item.value != '') { item.select(); item.focus(); } } catch(e) {} } function submitForm(formname) { try { var obj = findObject(formname); if (obj != null) obj.submit(); } catch(e) {} return false; } function formRequired_OnFocus(field) { if (field.value == '*') field.value = ''; } function formRequired_OnBlur(field) { if (field.value == '') { var color = arguments[1] ? arguments[1] : '#FF0000'; field.style.color = color; field.value = '*'; } else field.style.color = ''; } function formRequired_Check(formobj) { if (formobj != null) { for(i=0;i