// reseni pro zmenu input text na password (pro IE)
function fakePasswordFocus(mockpass, realpass) {
	document.getElementById(mockpass).style.display='none'; 
	document.getElementById(realpass).style.display=''; 
	document.getElementById(realpass).focus();
}

function realPasswordBlur(mockpass, realpass) {
	if(document.getElementById(realpass).value=='') {
		document.getElementById(mockpass).style.display=''; 
		document.getElementById(realpass).style.display='none';
	}
}

// javascript-disabled solution
function safePasswordsSetup(fake, real) {
	document.getElementById(fake).style.display='inline';
	document.getElementById(real).style.display='none';
}

// reseni pro zmizeni/objevovani textu v input text
function inputTextFocus(input, defValue) {
	if(input.value==defValue)input.value='';
}

function inputTextBlur(input, defValue) {
	if(input.value=='')input.value=defValue;
}