function Fensterhoehe()
{
if (window.innerHeight) return window.innerHeight;
else if (document.body && document.body.offsetHeight) return document.getElementsByTagName('html')[0].offsetHeight;
};
jQuery(document).ready(function() {
	$('.sidebar').hide();
	$("a#ToogleSidebar").toggle(function() {
		$('#sidebar').animate({
			width: 'show',
			opacity: 'show'
		}, 'slow');
		$('.slider').animate({
			width: 'hide',
			opacity: 'hide'
		}, 'fast');
	}, function() {
		$('#sidebar').animate({
			width: 'hide',
			opacity: 'hide'
		}, 'slow');
		$('.slider').animate({
			width: 'show',
			opacity: 'show'
		}, 'fast');
		
return false;
});
});
function MM_openBrWindow(theURL,winName,w,h,scrollbars){ 
	    LeftPosition=(screen.width)?(screen.width-w)/2:100;
	    TopPosition=(screen.height)?(screen.height-h)/2:100;
	  
	    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scrollbars+',location=no,directories=no,status=0,menubar=no,toolbar=no,resizable=no';
	    URL = theURL;
	    window.open(URL,winName,settings);
	}



function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#left-jump-1").click(function(){
                $('.anythingSlider').anythingSlider(1);
            });
			 $("#left-jump-2").click(function(){
                $('.anythingSlider').anythingSlider(2);
            });
			  $("#left-jump-3").click(function(){
                $('.anythingSlider').anythingSlider(3);
            });
			   $("#left-jump-4").click(function(){
                $('.anythingSlider').anythingSlider(4);
            });
            
        });

function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlidertwo').anythingSlidertwo({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#right-jump-1").click(function(){
                $('.anythingSlidertwo').anythingSlidertwo(1);
            });
			 $("#right-jump-2").click(function(){
                $('.anythingSlidertwo').anythingSlidertwo(2);
            });
			  $("#right-jump-3").click(function(){
                $('.anythingSlidertwo').anythingSlidertwo(3);
            });
			   $("#right-jump-4").click(function(){
                $('.anythingSlidertwo').anythingSlidertwo(4);
            });
            
        });
		
		
		
function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.SheetSlider').SheetSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: true,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
				startText: "Start",             // Start text
      			stopText: "Stop",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#sheet-jump-1").click(function(){
                $('.SheetSlider').SheetSlider(1);
            });
		    $("#sheet-jump-2").click(function(){
			   $('.SheetSlider').SheetSlider(2);
		    });
			$("#sheet-jump-3").click(function(){
               $('.SheetSlider').SheetSlider(3);
            });
			$("#sheet-jump-4").click(function(){
               $('.SheetSlider').SheetSlider(4);
            });
			$("#sheet-jump-5").click(function(){
               $('.SheetSlider').SheetSlider(5);
            });
			$("#sheet-jump-6").click(function(){
               $('.SheetSlider').SheetSlider(6);
            });
            
        });
