$(document).ready(
	function(){

    var headerold = $('.cheader h2').text()
    var paraold = $('.cpara p').text()
    
    $(".main.tabs li#lifepath").hover(function(){$('.cheader h2').replaceWith("<h2>Lifepath:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $(".main.tabs li#journal").hover(function(){$('.cheader h2').replaceWith("<h2>Journal:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $(".main.tabs li#events").hover(function(){$('.cheader h2').replaceWith("<h2>Events:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $(".main.tabs li#hometab").hover(function(){$('.cheader h2').replaceWith("<h2>My homepage:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    
    
    
    
    $("li#nav_event").hover(function(){$('.cheader h2').replaceWith("<h2>Add an event:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_person").hover(function(){$('.cheader h2').replaceWith("<h2>Person search:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_messages").hover(function(){$('.cheader h2').replaceWith("<h2>Messages:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_friends").hover(function(){$('.cheader h2').replaceWith("<h2>Friends:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_connections").hover(function(){$('.cheader h2').replaceWith("<h2>Connections:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_matches").hover(function(){$('.cheader h2').replaceWith("<h2>Matches:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});
    $("li#nav_profile").hover(function(){$('.cheader h2').replaceWith("<h2>Manage Profiles:</h2>");}, function(){$('.cheader h2').replaceWith('<h2>'+headerold+'</h2>');});



    $(".main.tabs li#lifepath").hover(function(){$('.cpara p').replaceWith("<p>See the events that have shaped your path and the influence you've had on others</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $(".main.tabs li#journal").hover(function(){$('.cpara p').replaceWith("<p>Your events in the shape of a diary, you can add photos to your event here</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $(".main.tabs li#events").hover(function(){$('.cpara p').replaceWith("<p>An overview of all your events</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $(".main.tabs li#hometab").hover(function(){$('.cpara p').replaceWith("<p>View your profile as others will see it</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});

    $("li#nav_event").hover(function(){$('.cpara p').replaceWith("<p>Add stuff to your path in life, a book, an event, a person whatever!</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_person").hover(function(){$('.cpara p').replaceWith("<p>Start a search for a person that has crossed you path, changed your life or who you just want to thank</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_messages").hover(function(){$('.cpara p').replaceWith("<p>Where you can send and read messages with other odbody members</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_friends").hover(function(){$('.cpara p').replaceWith("<p>A list of the friends you've made on Odbody, you can also invite some more</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_connections").hover(function(){$('.cpara p').replaceWith("<p>These are the people that have crossed your path</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_matches").hover(function(){$('.cpara p').replaceWith("<p>Matching your searches and events with others</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});
    $("li#nav_profile").hover(function(){$('.cpara p').replaceWith("<p>Edit your profile and manage your users</p>");}, function(){$('.cpara p').replaceWith('<p>'+paraold+'</p>');});


    // var old = $('#xx').replaceWith(yyy);
    // $(yyy).replaceWith(old)
    // var old = $('.cheader h2').replaceWith("<h2>Add an event</h2>");


	// $("li#nav_event").hover(function(){$('.cheader h2').replaceWith("<h2>Add an event</h2>");});
});