$(document).ready(function(){

	/* gradients */
	$('#footer').gradient({
		from:		'ffffff',
		to:		'000022',
		direction:	'horizontal'
	});
/*
	$('#sidebarcontent').gradient({
		from:		'ffffff',
		to:		'eeeeee',
		direction:	'horizontal'
	});
*/
	$('#header').gradient({
		from:		'ffffff',
		to:		'000022',
		direction:	'vertical'
	});


	/* initialize superfish menus */
	$('ul.sf-menu').superfish();

/* rounded corners
	$('#breadcrumb').corner('br 100px');
	$('#footer').corner('bl br 50px');
	$('.widget.title').corner('5px');
	$('.widget .content').corner('5px');
	$('.image').corner('30px');
	$('.imagepanel').corner('25px');
	$('#sidebarcontent').corner('bl br 15px').corner('tl tr 5px');
*/
	/* image panel fading */
	$(".imagepanel").fadeTo("fast", 0.75); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$(".imagepanel").hover(function(){
		$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
	},function(){
   		$(this).fadeTo("fast", 0.75); // This should set the opacity back to 60% on mouseout
	});
}); 
