// amendments to the jQuery plugin scripts

//slideshow speed
$.fn.cycle.defaults.speed   = 900;
$.fn.cycle.defaults.timeout = 6000;

$(function(){
			   
	//run the code between the pre tags
	$('pre code').each(function() {
		eval($(this).text());
    	});
	
	//lightbox animate
	
        	$("a[rel='lightbox']").lightBox();
   	
	
	//top tab animate
	$("#topbtn1").hover(
		function () {
			$(this).animate({top: "-34px"}, 100);
		}, 
		function () {
			$(this).animate({top: "-38px"}, 100);
		}
	);
	
	$("#topbtn2").hover(
		function () {
			$(this).animate({top: "-34px"}, 100);
		}, 
		function () {
			$(this).animate({top: "-38px"}, 100);
		}
	);
	
             $('#roundboxright').corner("5px");
	     
	     $('.button').corner("5px");
	
});