


// Code By Pradeep - Start

$(document).ready(function() {
	//$(this).css("color","#FF0000");
	$('#password-clear').show();
	$('#password-password').hide();

	$('#password-clear').focus(function() {
		$('#password-clear').hide();
		$('#password-password').show();
		$('#password-password').focus();
	});
	$('#password-password').blur(function() {
		if($('#password-password').val() == '') {
			$('#password-clear').show();
			$('#password-password').hide();
		}
	});

	$('.default-value').each(function() {
		var default_value = this.value;
		$(this).css("color","#999");
		$(this).css('background-color','#FFFFFF');
		$(this).focus(function() {
			
			if(this.value == default_value) {
				this.value = '';
				$(this).css('color','#000');
				$(this).css('background-color','#BAE2F5');
				
			}
		});
		$(this).blur(function() {
			$(this).css("color","#000");
			if(this.value == '') {
				this.value = default_value;
				$(this).css("color","#999");
				$(this).css('background-color','#FFFFFF');
			}
		});
	});

});







/*
function hidepass(){
   document.login.pass.style.display='none'; 
   document.login.passward.style.display='';
   document.login.passward.focus();
 }
 
function showpass(){
   document.login.passward.style.display='none'; 
   document.login.pass.style.display='';
   document.login.pass.focus();
}
 
function setEnd (el) {
 if (el.createTextRange) {
   var FieldRange = el.createTextRange();
   FieldRange.moveStart('character', el.value.length);
   FieldRange.collapse();
   FieldRange.select();
 }
}

*/
// Code By Pradeep - End