/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/ 
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */

jQuery.noConflict();
jQuery(document).ready(function($) {
  /* sitemap verbergen 
  jQuery('#infobox_aufeinenklick').hide();
  jQuery('#infobox_themen').hide();
  
  
  /* "auf einen klick" einblenden bei button click 
  jQuery('#infobox_button_aufeinenklick').click(function() {
    jQuery('#infobox_themen').slideUp('slow');  
    jQuery('#infobox_aufeinenklick').slideToggle('slow');    
  });
  
  /* "themen a-z" einblenden bei button click 
  jQuery('#infobox_button_themen').click(function() {
    jQuery('#infobox_aufeinenklick').slideUp('slow');  
    jQuery('#infobox_themen').slideToggle('slow');
  });  */
  
  // custom easing called "custom" 
  jQuery.easing.custom = function (x, t, b, c, d) {     
    var s = 1.70158;      
    if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;     
    return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 
  }
  
  /* News Scrollable Startseite */
  jQuery("div.scrollable").scrollable({         
    size: 1,         
    items: '#thumbs',           
    hoverClass: 'hover',   
       // Autoscrolling
    interval: 7000,    
    loop: true,
    speed: 1700,  
    easing: 'custom'
    
          // when seek starts make items little transparent         
 // onBeforeSeek: function() {             
 //   this.getItems().fadeTo(300, 0.2);                 
 // },                  
  
  // when seek ends resume items to full transparency         
 // onSeek: function() {             
 //   this.getItems().fadeTo(300, 1);         
 // }
    

  });
  


  
});

