/* JQUERY for www.drk-kiel.de */
/* author: ideenwerft GmbH */
/* author site: www.ideenwerft.com
/* copyright 2010 */
/* version: 0.1 */
/* date: */


/*
 * accordion
 * 
 */
var accordion_active = false; //False = geschlossen, 0-X jeweilige element beim Anfang geoeffnet
	 
jQuery(function(){
	// $("#accordion").accordion({ header: "h3" });
	jQuery("#accordion").accordion({ header: "h3", autoHeight: false, active: accordion_active, collapsible: true }); 
	
	
	jQuery.fn.cycle.defaults = { 
			timeout:       10000,  // milliseconds between slide transitions (0 to disable auto advance) 
			speed:         2000,  // speed of the transition (any valid fx speed value) 
			next:          null,  // id of element to use as click trigger for next slide 
			prev:          null,  // id of element to use as click trigger for previous slide 
			before:        null,  // transition callback (scope set to element to be shown) 
			after:         null,  // transition callback (scope set to element that was shown) 
			height:       'auto', // container height 
			sync:          1,     // true if in/out transitions should occur simultaneously 
			fit:           0,     // force slides to fit container 
			pause:         1,     // true to enable "pause on hover" 
			delay:         0,     // additional delay (in ms) for first transition (hint: can be negative) 
			slideExpr:     null   // expression for selecting slides (if something other than all children is required) 
		}; 			   
						   
		jQuery('.portrait').cycle({
			fx: 'fade' 
		});
	
	
});
	




