$(document).ready(function() {
	
	// FOR CONTROL OF SLIDING TAB
	$('a#slidetab.opened').live('click', function () {
	    $('#image-tag').animate({bottom: "-130px"}, 1000);
	    $('a#slidetab').hide();
//	    $('a#slidetab').removeClass('opened').addClass('closed');
	    return false;
	});
/*	$('a#slidetab.closed').live('click', function () {
	    $('#image-tag').animate({bottom: "0"}, 1000);
	    $('a#slidetab').removeClass('closed').addClass('opened');
	    return false;
	});*/
	
	// JQUERY MODULE INITIALISATION
//	$('.scroll-pane').jScrollPane({scrollbarMargin:26});
//	$('a.lightbox').lightBox(); // Select all links with lightbox class
	$('#slideshow').nivoSlider({
		effect:'fade',
		pauseOnHover:false,
		directionNav:false,
		pauseTime:6000,
		animSpeed:1000,
		directionNav:false,
		controlNav:false,
		slices: 1
	});
	
});
