var haikus = {};
haikus.def			= "Digestive system\nA haiku presentation\nJust hover the names\n\nDigestive system\nThe way of processing food\nGives materials";
haikus.mouth		= "All starts at the mouth\nChewing is mandatory\nOr you can't swallow";
haikus.pharynx		= "Second is the pharynx\nMaking sure you do not choke\nOn things you swallow";
haikus.esophagus	= "The esophagus\nTransporting mush further down\nTowards your stomach";
haikus.liver		= "The vital liver\nMetabolic processes\nCleaning up your blood";
haikus.stomach		= "Stomach is a sack\nDissolving all that enters\nIt is acidic";
haikus.pancreas		= "Pancreas creates\nMany important hormones\nThat you surely need";
haikus.gall			= "Gallbladder stores bile\nGives it to small intestine\nWholly nonvital";
haikus.s_intes		= "";
haikus.anus			= "";
haikus.appendix		= "";
haikus.l_intes		= "";

var span;
var resdif;
var extra;

String.prototype.repeat = function(count) {
    if (count < 1) return '';
    var result = '', pattern = this.valueOf();
    while (count > 1) {
        if (count & 1) result += pattern;
        count >>= 1, pattern += pattern;
    }
    return result + pattern;
};

function resize() {
	//Add margin if widescreen
	resdif = ($(window).width()/$(window).height());
	extra = 0;
	if (resdif >= 1.6) {
		$('.container').css('right', '8%');
		$('.textcontainercontainer').css('left', '5%');
		extra = $(window).width() * 0.13;
	} else {
		$('.container').css('right', '1%');
		$('.textcontainercontainer').css('left', '1%');
		extra = $(window).width() * 0.02;
	}

	//Add size to container to textfill works
	$('.textcontainer').width(($(window).width()-$('img').width()-extra)*0.98);

	$('.textcontainer').textfill({
		maxFontPixels: -1,
		widthOnly: false,
		minFontPixels: 4
	});
}

function update(haiku) {
	var text = haikus[haiku];
	text += "<br/>".repeat(7 - (text.match(/\n/gi) || []).length);
	text = text.replace(/\n/gi, '<br/>');

	span.html(text);
}

$(document).ready(function() {
	span = $('.textcontainer span');
	
	update('def');

	$(window).resize(function() {
		resize();
	}).resize();

	$(window).load(function() {
		$(window).resize(); //sometimes doesn't work earlier :/

		$('map').imageMapResize();

		$('area').hover(function () {
			update($(this).attr('title'));
			resize();
		}, function () {
			update('def');
			resize();
		});
	});
});

@@ -786,51 +786,257 @@
 %09= %22
-%22;%0Ahaikus.anus%09%09%09= %22%22;%0Ahaikus.appendix%09%09= %22
+The small intestine%5CnAbsorption of food takes place%5CnPart of bigger tract%22;%0Ahaikus.l_intes%09%09= %22The large intestine%5CnContinues from the small one%5CnWater is absorbed%22;%0Ahaikus.appendix%09%09= %22Useless appendix%5CnNobody knows its function%5CnA blind ended tube
 %22;%0Ah
@@ -1041,28 +1041,93 @@
 %0Ahaikus.
-l_inte
+anu
 s%09%09
+%09
 = %22
+The end of the line%5CnControls feces expulsion%5CnConcludes the travel
 %22;%0A%0Avar 
@@ -1200,20 +1200,17 @@
 ount) %7B%0A
-    
+%09
 if (coun
@@ -1227,20 +1227,17 @@
 urn '';%0A
-    
+%09
 var resu
@@ -1271,20 +1271,17 @@
 ueOf();%0A
-    
+%09
 while (c
@@ -1292,24 +1292,18 @@
  %3E 1) %7B%0A
-        
+%09%09
 if (coun
@@ -1332,16 +1332,10 @@
 rn;%0A
-        
+%09%09
 coun
@@ -1367,18 +1367,12 @@
 rn;%0A
-    %7D%0A    
+%09%7D%0A%09
 retu

Add the rest