 $(document).ready(function() {
 

     
     var show = function(e) {
       var $this = $(this);
       var $tooltip = $this.find('.hover-menu');
       $('div.box-learn').attr('style','height:500px;');
       $('div.main').attr('style','height:1330px;');
       $('div#lefthandnav').attr('style','height:1350px;');
       $tooltip.show();
     }
     
    var hide = function() {
      var $this = $(this);
      var $tooltip = $this.find('.hover-menu');
      $('div.box-learn').attr('style','height:200px;');
      $('div.main').attr('style','height:1030px;');
      $('div#lefthandnav').attr('style','height:1050px;');
      $tooltip.hide();
    }
    $('h4#resources_heading').bind('mouseenter', show);
    $('h4#resources_heading').bind('mouseleave', hide);

   	$('.clearme').focus(function() {
    	$(this).val("");
  	});
  	$('.clearme').blur(function() {
    if($('.clearme').val() == '') {
    	$(this).val("Email Address");
    }
	});	
	
	$('.clearme2').focus(function() {
    	$(this).val("");
  	});
  	$('.clearme2').blur(function() {
    if($('.clearme2').val() == '') {
    	$(this).val("Email Address");
    }
	});

//Member
$('#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();
    }
});

//Student 
$('#password_student-clear').show();
$('#password_student-password').hide();

$('#password_student-clear').focus(function() {	
    $('#password_student-clear').hide();
    $('#password_student-password').show();
    $('#password_student-password').focus();
});
$('#password_student-password').blur(function() {
    if($('#password_student-password').val() == '') {
        $('#password_student-clear').show();
        $('#password_student-password').hide();
    }
});


});




