








			$(document).ready(function(){
				
				
				$('.boxgrid.caption').hover(function(){
					$(".cover", this).stop().animate({top:'190px'},{queue:false,duration:230});
				}, function() {
					$(".cover", this).stop().animate({top:'287px'},{queue:false,duration:230});
				});
			});
  $(window).load(function(){
  $("div.image-div").each(function(index) {
    $(this).delay(400*index).fadeIn(300);
});

  });
  //]]> 



jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
  
auto: 10,
animation : "slow"

    });
});



$(document).ready(function() {
	
$("ul#topnav li.firstitem").hover(function() { //Hover over event on list item
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_04_on.jpg) no-repeat'}); //Add background color + image on hovered list item
	$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_04_off.jpg) no-repeat'}); //Ditch the background
	$(this).find("span").hide(); //Hide the subnav
});

	
$("ul#topnav li.seconditem").hover(function() { //Hover over event on list item
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_05_on.jpg) no-repeat'}); //Add background color + image on hovered list item
	$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_05_off.jpg) no-repeat'}); //Ditch the background
	$(this).find("span").hide(); //Hide the subnav
});

$("ul#topnav li.thirditem").hover(function() { //Hover over event on list item
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_06_on.jpg) no-repeat'}); //Add background color + image on hovered list item
	$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
	$(this).css({ 'background' : 'transparent url(tl_files/images/BYG-1home_06_off.jpg) no-repeat'}); //Ditch the background
	$(this).find("span").hide(); //Hide the subnav
});





});

$(document).ready(function(){
	$('#text img').jcaption();
	$('#sidebar img').jcaption({
							   	wrapperElement: 'div',
	
	//Class for wrapper element
	wrapperClass: 'caption',
	
	//Caption Element
	captionElement: 'p',

	animate: true,
	imageAttr: 'alt',
	requireText: true,

	show: {opacity: 'show'},
	showDuration: 200,
	hide: {opacity: 'hide'},
	hideDuration: 200	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	});

});


