
		$(document).ready(function(){
		
			//Blur Links (Prevents Outline)
			$('a').click(function() {
        		this.blur();
        	});
		
			//Hide all item descriptions in the info box
			$("#infobox > div").css("display", "none");
		
			/*//Call in the info box
			$(".more a").click(function(){
				$("#infobox").animate({bottom: '233px' }, 300);
				$("#fade_bg").fadeIn();
				return false;
			});*/
			
			//Expand more info button on hover
			$(".more").hover(function(){
				$(this).stop().animate({width: '300px' }, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px' }, 200).css({'z-index' : '1'});
      		});
			
			//Expand more info button on hover
			$(".more1").hover(function(){
				$(this).stop().animate({width: '370px',height:'85px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});

			//Expand more info button on hover
			$(".more2").hover(function(){
				$(this).stop().animate({width: '190px',height:'185px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});
			
			//Expand more info button on hover
			$(".more3").hover(function(){
				$(this).stop().animate({width: '300px',height:'70px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});

			//Expand more info button on hover
			$(".more4").hover(function(){
				$(this).stop().animate({width: '210px',height:'120px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});
			
			//Expand more info button on hover
			$(".more5").hover(function(){
				$(this).stop().animate({width: '310px',height:'50px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});
						
			//Expand more info button on hover
			$(".more6").hover(function(){
				$(this).stop().animate({width: '315px',height:'85px'}, 200).css({'z-index' : '10'}); //Change the width increase caption size
			}, function () {
				$(this).stop().animate({width: '35px',height:'35px' }, 200).css({'z-index' : '1'});
      		});

      		/*//Show description for selected item
      		$("#comp a").click(function(){
				$("#comp_info").show();
			});
			
			$("#comp_passed a").click(function(){
				$("#comp_passed_info").show();
			});

      		$("#studentname a").click(function(){
				$("#studentname_info").show();
			});
			
      		$("#seal a").click(function(){
				$("#seal_info").show();
			});
			   
		   $("#sponsors a").click(function(){
				$("#sponsors_info").show();
			});
						*/
			//Remove background, info box and hide all descriptions
			$("#fade_bg, .close").click(function(){
				$("#fade_bg").fadeOut();
				$("#infobox").animate({bottom: '-200px' }, 300, function() {
					$("#infobox > div").css("display", "none");
				});
				return false;
			});
		
		}); 