function init () {
	
	$("div.content a[rel=writing-gallery]").fancybox({
			'transitionIn'		: 'easeOutExpo',
			'transitionOut'		: 'easeOutExpo',
			'titlePosition' 	: 'over',
			'centerOnScroll' : true
	});
	
	$("#module_gallery a[rel=writing-gallery]").fancybox({
			'transitionIn'		: 'easeOutExpo',
			'transitionOut'		: 'easeOutExpo',
			'titleShow' 		: false,
			'centerOnScroll' : true
	});
	
	$("#demoOne").jqGalScroll({width: 632, height: 225, ease:'easeInOutCubic', speed:1000, titleOpacity: 0});
	
	$("div.workshopList").find("div.horizontalRule").last().css({display: "none"});
	
	$("div.workshopList").find("div.moreLink a").click(upcomingWorkshops_readMore_click);
	$("div.workshopList").find("div.closeLink a").click(upcomingWorkshops_close_click);
	
	$("div.moduleContent").find("div.moreLink a").click(upcomingWorkshops_readMore_click);
	$("div.moduleContent").find("div.closeLink a").click(upcomingWorkshops_close_click);
	
	// Functions 
	function upcomingWorkshops_readMore_click (event) {
		event.preventDefault();
		$(this).parent().css({display: "none"});
		$(this).parent().parent().find("div.closeLink").css({display: "block"});
		fullHeight = $(this).parent().parent().find("div.collapseable").height();
		$(this).parent().parent().find("div.collapseableMask").css({height: 0});
		$(this).parent().parent().find("div.collapseableMask").animate({height: fullHeight}, "fast");
	}
	function upcomingWorkshops_close_click (event) {
		event.preventDefault();
		$(this).parent().css({display: "none"});
		$(this).parent().parent().find("div.moreLink").css({display: "block"});
		fullHeight = $(this).parent().parent().find("div.collapseableMask").height();
		$(this).parent().parent().find("div.collapseableMask").animate({height: 0}, "fast");
		
	}
}
