//Newsscroller
// execute your scripts when DOM is ready. this is a good habit
$(function() {		
		
	// initialize scrollable 
	$("div.scrollable").scrollable({
		vertical:true, 
		size: 1
		
	// use mousewheel plugin
	}).mousewheel();	
	
});


// Accordion Funktion
$(function() {

$("#accordion").tabs("#accordion div", {
	tabs: 'img', 
	effect: 'horizontal'
});
});






//Tooltip
$("img[title]").tooltip('#demotip'); 
$("a[title]").tooltip('#demotip'); 



// Top Slidepanel
$(document).ready(function(){

	$(".btn-slide").click(function(){
		$("#slidepanel").slideToggle("fast");
		$(this).toggleClass("active"); return false;
	});
	
	 
});



// Expose Bilder und Links
$("img[rel]").overlay({ 
    expose: '#333' 
});


$("a[rel]").overlay({ 
    expose: '#333' 
    
});



/// Easy500 slider
// execute your scripts when the DOM is ready. this is a good habit
$(function() {

	// initialize scrollable
	$("div.scrollableeasy500").scrollable({
	
	size: 3
	}
	);
	

});


/*
//Expose Form
// execute your scripts when the DOM is ready. this is a good habit 
$(function() { 
 
    // expose the form when it's clicked or cursor is focused 
    $("form.expose").bind("click keydown", function() { 
 
        $(this).expose({ 
 
            // custom mask settings with CSS 
            maskId: 'mask', 
 
            // when exposing is done, change form's background color 
            onLoad: function() { 
                 this.getExposed().css({backgroundColor: '#c7f8ff'}); 
            }, 
 
            // when "unexposed", return to original background color 
            onClose: function() { 
                this.getExposed().css({backgroundColor: null, color:'#666'}); 
            }, 
 
            api: true 
 
        }).load(); 
    }); 
});
*/







