		$(function() {
				   
				   
			$(".firstlevel").click(function(event) {
				
				$(this).next(".secondlevel").removeClass('hidethis');
				
				$(this).next(".secondlevel").slideToggle(10);
				
				if($(this).parent().hasClass('active') != true){
					$(this).parent().addClass('active');}
				else{
					$(this).parent().removeClass('active');		/* remove if need accordion */
					
					}
			});

				   
			$("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 */
				allowresize: true, /* true/false */
				counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
				theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square */
				callback: function(){}
			});
			
			
			
			
			
		});
		
  function openpopup(popurl)
  {
    winpops=window.open(popurl,"","width=800,height=600,scrollbars,");
  }
		
		
    function __bookmark()
    {
		var title = 'La Grenouille';
		var url = document.location.href;
		if (window.sidebar) {
			// Firefox
			window.sidebar.addPanel(title, url, '');
		} else if (window.opera && window.print) {
			// Opera
			var t = document.createElement('a');
			t.setAttribute('rel', 'sidebar');
			t.setAttribute('href', url);
			t.setAttribute('title', title);
			//t.click();
		} else {
			// IE
			window.external.AddFavorite(url, title);
		}
		return false;
	}		


