$(document).ready(function(){

	$('li.head').hover(
		function() { $('ul', this).css('display', 'block'); },
		function() { $('ul', this).css('display', 'none'); });
	
	$('.sbm_map').click(function() {
							  
		//$(this).toggleClass("sbm_close");
		$(this).next().slideToggle('slow');
		return false;
	
	}).next().hide();

	//gallery images overlay
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal', /* fast/slow/normal */
		//padding: 14, /* padding for each side of the picture */
		opacity: 0.70, /* Value betwee 0 and 1 */
		showTitle: true, /* true/false */
		//allowresize: true, /* true/false */
		counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
		theme: 'dark_square', /* light_rounded / dark_rounded / light_square / dark_square */
		callback: function(){}
	});
	
	// header cycle images swap
	$('#hdr').cycle();
			
});