
jQuery( function() {
  jQuery.noConflict();
	setTimeout( "animContact()", 100 ); // 6 seconds

});
var animating = false
function animContact() {
	jQuery.noConflict();
	jQuery("#contactDetails").hide();
	jQuery("#contact_pop")		// grab contact
		.animate( { bottom: "-201px" }, "slow", function() { jQuery("#contactDetails").fadeIn("slow") } ) // initial animate downwards, -201 is the edge of the "Note to self" text

		
		jQuery("#contact_pop, #contactDetails").hover( function() { // bind the mouseover func
			if( animating == false ) { // the animating malarkey is to stop it pogoing			
				animating = true;
				jQuery("#contactDetails").hide();				
				jQuery("#contact_pop").animate( { bottom: "0px" }, "slow", function() { animating = false; } )
				
			}
		}
		, function() { // and the mouseout func
			if( animating == false ) {
				animating = true;
				jQuery("#contact_pop").animate( { bottom: "-201px" }, "slow", function() { animating = false; jQuery("#contactDetails").fadeIn("medium") } )	
			}
		})
	
}

function reloadAnimator()
{
	jQuery.noConflict();
	jQuery("#contact_pop").animate( { bottom: "-201px" }, "slow", function() { animating = false; jQuery("#contactDetails").fadeIn("slow") } )
}