$(document).ready(function() { 
    $('ul.sf-menu').superfish({ 
    
    delay:       500,                            // one second delay on mouseout 
    animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
    speed:       'fast',                          // faster animation speed 
    autoArrows:  false,                      // disable generation of arrow mark-up 
    dropShadows: false   // disable drop shadows 
}); 
}); 

$(document).ready(function(){
	$("table tbody tr:odd").addClass("odd");
	$("table tbody tr:even").addClass("even");
});

$(document).ready(function(){
$("a[rel='imageGallery']").colorbox();
});

$(document).ready(function(){
//$(".videolink").colorbox({iframe:true, innerWidth:425, innerHeight:344});
$(".videolink").colorbox({iframe:true, innerWidth:600, innerHeight:486});
});

$(function(){
	$("#home_right ul li a:last").css({"border":"none"});
});

$(document).ready(function(){
	$("ul#topLayer a").hover(function(){
		$(this).css({"opacity":0.7});
	},
	function() {
		$(this).css({"opacity":1.0});
	});
});

$(function(){
	$('#slideshow').cycle({
    fx:    'scrollRight',
    delay: -1000
});
	$("a.pause").click(function(){
		$('#slideshow').cycle("pause");
		return false;
	});
	$("a.resume").click(function(){
		$('#slideshow').cycle("resume");
		return false;
	});
});


