$(function() { 
$(".show").each(function() { 
var that = this; 
$(this).click( function() {
$(that).parent("p").next(".hide").toggle();
}); 
}); 
}); 