//	<script type="text/javascript" charset="utf-8">


// script - animation home	
	$(document).ready(function() {
     $('.showup').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	    speed:    800, 
    	timeout:  3000,
    	 delay:  -1000,
    	//next:   '.showup', 
  		pause:   1  
	});
	$('.slideshow').cycle({
		fx: 'scrollRight', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	    speed:    800, 
    	timeout:  3000,
    	 delay:  -1000,
    	next:   '.slideshow', 
  		pause:   1  
	});
	 $('.slideshow2').cycle({
		fx: 'scrollDown', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	    speed:    500, 
    	timeout:  3000,
    	 delay:  -1000,
    	next:   '.slideshow2', 
  		pause:   1  
	});
     $('.xxcategoryXX').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	    speed:    800, 
    	timeout:  3000,
    	 delay:  -1000,
    	//next:   '.showup', 
  		pause:   1  
	}); 
	
});
	
		
// script - show item on mouseover

	$(document).ready(function() {
   
	// variablen
	var rollOuttrigger = $('.grid_16.category');  // item for trigger
	var rollOutitem = $('.grid_16.intro');  // item to show
	var timeDown = 400;  // time to slideDown
	var timeUp = 400;  // time to slideUp
	var delayDown = 0;  // delay for action Down
	var delayUp = 0;  // delay for aciton Up
	
	// hide item
	$(rollOutitem).hide();

	// show item animated
	$(rollOuttrigger).mouseenter(function() {
			index = $(rollOuttrigger).index(this);
			rollOutitem.eq(index).filter(':not(:animated)').delay(delayDown).slideDown(timeDown);
	
	
	// hide item animated
   }).mouseleave(function() {
	  // if ($this = "rollOutitem"){
			rollOutitem.eq(index).delay(delayUp).slideUp(timeUp);
   	});	
	
});


// script - jquery accordion 

	$(document).ready(function() {
			var icons = {
			header: "ui-icon-triangle-1-e",
			headerSelected: "ui-icon-triangle-1-s"
			};
		$( "#keywords" ).accordion({
			disabled: false,
			autoHeight: false,
			//collapsible: true,
			active: false,
			header: 'h3',
			event: "mouseover",
			icons: icons
		});
	});


//	script - jquery blind
	$(function() {
		// run the currently selected effect
		function runEffect() {
			// get effect type from 
			var selectedEffect = "blind";
			
			// most effect types need no options passed by default
			var options = {};
			// some effects have required parameters
			if ( selectedEffect === "scale" ) {
				options = { percent: 0 };
			} else if ( selectedEffect === "size" ) {
				options = { to: { width: 200, height: 60 } };
			}
			
			// run the effect
			$( "#overlay" ).toggle( selectedEffect, options, 500 );
		};
		
		// set effect from select menu value
		$( "#overlay" ).click(function() {
			runEffect();
			return false;
		});
	});
	
	
//	script - jquery sortable

	$(function() {
		$( "#sortable" ).sortable();
		$( "#sortable" ).disableSelection();
	});




//	</script>
