$(document).ready(function(){
      $("#illustration-text").addClass("hide");
			$("#illustration-image").hoverIntent({
				sensitivity: 3, 
				interval: 0, 
				over: makeVisible, 
				timeout: 0, 
				out: nothing
			});
			
			$("#illustration-container").hover(nothing,makeInvisible);
			
		});

		function makeVisible(){
      $("#illustration-text").removeClass("hide");
      $("#illustration-text").addClass("show");
		}
		function makeInvisible(){
      $("#illustration-text").removeClass("show");
      $("#illustration-text").addClass("hide");
		}
		function nothing() {}
		
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;