$(function() {


$("pre").hover(function() {
	var codeInnerWidth = $("code", this).width() + 10;
    if (codeInnerWidth > 550) {
		$(this)
			.stop(true, false)
			.css({
				zIndex: "100",
				position: "relative"
			})
			.animate({
				width: codeInnerWidth + "px"
			});
		}
	}, function() {
			$(this).stop(true, false).animate({
				width: 550
		});
	});
	
});


