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