function clickExclamation( handle, show ){
        if( show ){
                other = false;
        } else {
                other = true;
        }
//        for( i=0; i<total_tips; i++ ){
                swapVis(handle, show);
                swapVis(handle+'_s', other);
//        }
}

function clickQuestion( handle, show ){
        swapVis(handle, show);
}

function swapVis(element, visible) {
//	if( typeof(element) == 'object' ){
	        document.getElementById(element).style.display = visible ? 'block' : 'none';
	        return false;
//	}
}
//these are separate
function checkSubmit(event){
        var key;
        if( window.event ){
                key = window.event.keyCode;
        } else if(event) {
                key = event.which;
        }
        if( key == 13 ){
                document.login_form.submit();
        }
}
function selectNext(event){
        var key;
        if( window.event ){
                key = window.event.keyCode;
        } else if(event) {
                key = event.which;
        }
        if( key == 13 ){
                document.login_form.entered_password.focus();
        }
}

