﻿$(document).ready(function() {

     $('#username').focus(function() {
         if ($(this).val() == "username") {
             $(this).val("");
	     $(this).css('color', '#000000');
         }
     });

     // Show password text (By default, this text is disabled for users who have JS disabled.)

     $('span.passwordFix').css('display', 'block');

     // Remove "password" and enable input

     $('#password').click(function() {
             $('span.passwordFix').css('display', 'none');
	     $(this).focus().css('color', '#000000');
     });

     // Ensure that "password" disappears

     $('span.passwordFix').click(function() {
	     $(this).css('display', 'none');
	     $('#password').focus().css('color', '#000000');
     });

});
