// JavaScript Document$(document).ready(function() {

$(document).ready (function() {
	
	//light animation	
	//start function
	
	animateLight();	
	function animateLight() {

  $('#logoLights').delay(2000).animate({
    opacity: 1.0 

  }, 1300, function() {
	  
    $('#logoLights').animate({
    opacity: 0.30
	
	}, 5000, animateLight()
	)	
  });
  	}
//end light animation



var clearMePrevious = '';

// clear input on focus
$('.clearMeFocus').focus(function()
{
if($(this).val()==$(this).attr('title'))
{
clearMePrevious = $(this).val();
$(this).val('');
}
});

// if field is empty afterward, add text again
$('.clearMeFocus').blur(function()
{
if($(this).val()=='')
{
$(this).val(clearMePrevious);
}
});


});
