// Dropdowns
function menu(){
$("#nav a").removeAttr('title');
$("#nav ul ").css({display: "none"}); // Opera Fix
$("#nav li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}

$(document).ready(function(){
	
	
	
	// Activate jCycle	
	/*
	$('#slides').cycle({ 
		fx:     'fade', // the transition effect, a complete effects list can be found at http://malsup.com/jquery/cycle/begin.html
		speed:  '300', // defines the number of milliseconds it will take to transition from one slide to the next
		timeout: 8000, // specifies how many milliseconds will elapse between the start of each transition
    	delay:  -2000, // lets you set the number of milliseconds to add to the timeout value for the first slide
		next:   '#nextarrow', // used to identify the element which should be the trigger next transition
		prev:   '#prevarrow' // used to identify the element which should be the trigger previous transition
	});
	*/
	
	
	
	// Activate PrettyPhoto
	
	/*
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal', // fast/slow/normal
		padding: 40, // padding for each side of the picture
		opacity: 0.35, // Value betwee 0 and 1
		showTitle: true, // true/false
		counter_separator_label: '/', // The separator for the gallery counter 1 "of" 2
		theme: 'light_rounded', // light_rounded / dark_rounded / light_square / dark_square
		callback: function(){}
	});
	*/
	
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal', // fast/slow/normal
		padding: 40, // padding for each side of the picture
		default_width: 600,
		showTitle: true, // true/false
		opacity: 0.35, // Value betwee 0 and 1
		theme: 'dark_rounded', // light_rounded / dark_rounded / light_square / dark_square
		image_markup: '<img id="fullResImage" src="" />',
		flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',
		inline_markup: '<div class="pp_inline clearfix">{content}</div>',
			
		callback: function(){}							   							   
	});


	
});