$(document).ready(function(){
	$('#nav > ul ').droppy({speed: 10});
	$('#nav ul li:has(ul)').addClass('parent');
	$('#nav ul li ul li:last').css('border','none');
	$('#content p:first').addClass('lead');
	
	var nameValue = $('input.SecureSiteUserName').val(''); 
	var passwordValue = $('input.SecureSitePassword').val(''); 
	if($(nameValue).val() == '') {	 // check if input value is empty
			$('input.SecureSiteUserName').focus(function(){
			$(this).parents('div').children('span').hide();	//if so, hide span tag
			});
		}
	  $('input.SecureSiteUserName').blur(function(){
		if($(nameValue).val() == '') {
				$(this).parents('div').children('span').show();
			}
		});
		if($(passwordValue).val() == '') {
			$('input.SecureSitePassword').focus(function(){
			$(this).parents('div').children('span').hide();
			});
		}
	  $('input.SecureSitePassword').blur(function(){
		if($(passwordValue).val() == '') {
				$(this).parents('div').children('span').show();
			}
		});
});


