//Empty form fields
function clearText(objField){
    if (objField.defaultValue==objField.value)
    objField.value = ""
}
function resetText(objField){
    if (objField.value=="")
    objField.value = objField.defaultValue
}

//Enter focus on textbox
function keyPress(input, button)
{        
    var key = (typeof input.which == 'number')?input.which:input.keyCode;
    
    if (key == 13) {   
        input.returnValue = false;
        input.cancel = true;
        
        var buttonToClick = document.getElementById(button);
        
        buttonToClick.focus();
        buttonToClick.click();
    }
}

// convert from textbox to password field
function hidepasstext(objField) {

}
