function inputpw_click() {

	if(document.getElementById('input_usr_password_r') == undefined){
		var newElem = document.createElement('input');
		newElem.setAttribute('type', 'password');
		newElem.setAttribute('id', 'input_usr_password_r');
		newElem.setAttribute('name', 'usr_password');
		var passwordDiv = document.getElementById("login_input_password_div");
		passwordDiv.replaceChild(newElem, document.getElementById('input_usr_password'));
		document.login.input_usr_password_r.focus();
		document.login.input_usr_password_r.select();
	}

}

function inputusr_click() {

	if(document.getElementById('input_usr_login_r') == undefined){
		var newElem = document.createElement('input');
		newElem.setAttribute('type', 'text');
		newElem.setAttribute('id', 'input_usr_login_r');
		newElem.setAttribute('name', 'usr_login');
		var passwordDiv = document.getElementById("login_input_usr_div");
		passwordDiv.replaceChild(newElem, document.getElementById('input_usr_login'));
		document.login.input_usr_login_r.focus();
		document.login.input_usr_login_r.select();
	}

}
