/**
* jQuery functions for Mark Horsfall
*
* @author		kieran marshall
* @website		http://www.kieranmarshall.co.uk/
*/

var timeout = 0;

$( function() {

	$('div#footer li').hover( function() {
		
		$(this).children('.tool').show().animate( {
			'bottom': '+=10px',
			'opacity': 1.0
		} , 250 );
		
	} , function() {
		
		$(this).children('.tool').animate( {
			'bottom': '-=10px',
			'opacity': 0
		} , 250 , function() {
			
			$(this).hide();
		
		} );
		
	} );
	$("div#images").addClass('loaded');
	$("div#images").jCarouselLite( {
		btnNext: ".buttonright",
		btnPrev: ".buttonleft",
		visible: 1
    } );
	
	$('a.lightbox').lightBox();

} );