// JavaScript Document

   $(document).ready(function() {
        var hide = false;
        $("#box1").hover(function(){
            if (hide) clearTimeout(hide);
            $("#box1-hover").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#box1-hover").fadeOut("slow");}, 250);
        });
        $("#box1-hover").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#box1-hover").fadeOut("slow");}, 250);
        });
			
    });
	
	
	$(document).ready(function() {
        var hide = false;
        $("#box2").hover(function(){
            if (hide) clearTimeout(hide);
            $("#box2-hover").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#box2-hover").fadeOut("slow");}, 250);
        });
        $("#box2-hover").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#box2-hover").fadeOut("slow");}, 250);
        });
			
    });
	
	$(document).ready(function() {
        var hide = false;
        $("#box3").hover(function(){
            if (hide) clearTimeout(hide);
            $("#box3-hover").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#box3-hover").fadeOut("slow");}, 250);
        });
        $("#box3-hover").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#box3-hover").fadeOut("slow");}, 250);
        });
    });
	
	
	$(document).ready(function() {
        var hide = false;
        $("#box4").hover(function(){
            if (hide) clearTimeout(hide);
            $("#box4-hover").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#box4-hover").fadeOut("slow");}, 250);
        });
        $("#box4-hover").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#box4-hover").fadeOut("slow");}, 250);
        });
    });
		
		
	$(document).ready(function() {
        var hide = false;
        $("#box5").hover(function(){
            if (hide) clearTimeout(hide);
            $("#box5-hover").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#box5-hover").fadeOut("slow");}, 250);
        });
        $("#box5-hover").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#box5-hover").fadeOut("slow");}, 250);
        });
    });

