function usernameActivate(s){
	var sb= document.loginform.login_username;
	switch(s){
		case 0:
			if(sb.value=='')
				sb.value = 'Username';
			break;
		case 1:
			if(sb.value=='Username')
				sb.value = '';
			sb.focus();	
	}			
}

function passwordActivate(s){
	var sb= document.loginform.login_password;
	var sbt= document.loginform.login_password_text;
	switch(s){
		case 0:
			if(sb.value==''){
				document.getElementById("login_password").style.display = "none";
				document.getElementById("login_password_text").style.display = "inline";
			}				
			break;
		case 1:
			document.getElementById("login_password").style.display = "inline";
			document.getElementById("login_password_text").style.display = "none";
			sb.focus();	
	}			
}
