$(function(){

	$('#navigation li').hover(function(){
		$(this).addClass('hovered');
		$(this).find(".dd").show();
		$(this).find("a:eq(0)").addClass('hover');
	}, function(e){
		$(this).find(".dd").hide();
		$(this).find("a:eq(0)").removeClass('hover');
		$(this).removeClass('hovered');
	});

	$('.blink').focus(function () {
		if ($(this).val() == $(this).attr('title')) {
			$(this).css('color', '#7d7979').val('');
		}
	});
	
	$('.blink').blur(function () {
		if ($(this).val() == '') {
			$(this).css('color', '#7d7979').val($(this).attr('title'));
		}
	});	
	
	$('.pass-fake').focus(function(){
	
		$('.pass-fake').hide();
		$('.pass-true').show();
		$('.pass-true').focus();
	
	});
	
	$('.pass-fake2').focus(function(){
	
		$('.pass-fake2').hide();
		$('.pass-true2').show();
		$('.pass-true2').focus();
	
	});
})
