// Cufon // Cufon.replace('.rounded', { hover: true });// ShadowboxShadowbox.init({    overlayOpacity: 0.7,    troubleElements: ["select", "object", "embed"]});$(document).ready(function() {        // jQueryUI: Datepicker    var d = new Date();    $(function() {        $('.datepicker').datepicker({             dateFormat: 'dd/mm/yy',            minDate: '01/05/' + d.getFullYear(),            monthNames: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],            dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],            firstDay: 1        });    });    	$(document).scrollTop(0);	    // jQueryUI: Tabs	$('#tabs').tabs();	$('#tabs ul').show(); // We have hidden ul via style sheet to avoid FOUC            // Submit quicksearch form	$('#qs_go').click(function() {	    $('form[name="qs_form"]').submit();	});		// Show/hide theaters/events	$('div.listing-events-day a.listing-events-toggle').each(function() {	    $(this).click(function(event) {     	    $(this).siblings('div.listing-events-theater').slideToggle('fast');     	    if ($(this).css('color') == 'rgb(112, 113, 115)' || $(this).css('color') == 'rgb(112,113,115)') {         	    $(this).css('color', 'rgb(0, 0, 0)');          	            	    } else {         	    $(this).css('color', 'rgb(112, 113, 115)') ;          	            	            	    }     	    event.preventDefault();	    });	});	$('div.listing-events-theater a.listing-events-toggle').each(function() {	    $(this).click(function(event) {     	   $(this).siblings('div.listing-events-event').slideToggle();     	   event.preventDefault();       	    });	    	});		// Show/hide albums in gallery	$('div.listing-albums a.listing-albums-toggle').each(function() {	    $(this).click(function(event) {	        	        // Close all other open tabs and reset color	        $(this).parent().siblings('div.listing-albums').children('div.listing-album').each(function() {	            $(this).slideUp();         	    $(this).siblings('a').css('color', 'rgb(112, 113, 115)') ;          	            	       	        });	             	    $(this).siblings('div.listing-album').slideToggle();     	    if ($(this).css('color') == 'rgb(112, 113, 115)' || $(this).css('color') == 'rgb(112,113,115)') {         	    $(this).css('color', 'rgb(0, 0, 0)');          	            	    } else {         	    $(this).css('color', 'rgb(112, 113, 115)') ;          	            	            	    }     	    event.preventDefault();	    });	});		// Show/hide evals details	$('div a.eval-title').click(function(event) {	    $(this).parent().siblings('dl').slideToggle();	});});// preload imagesparent_hover = new Image(); parent_hover.src = "../images/parent_hover.gif";function deleteConfirm(message, url) {	if (confirm(message)) {		goToURL('parent', url);		} else {		return;	}}function goToURL() {  var i, args=goToURL.arguments; document.returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function popup(url){    popupWin = open("http://presse.dokfest-muenchen.de/"+url, "feedback", "height=700, width=990, location=no, scrollbars=yes");    return false;}
