$(document).ready(function(){
if($("a[rel^='lightbox']").length){
	$.insert(WB_URL+'/modules/jquery/plugins/jquery-slimbox2.css');
		$.insert(WB_URL+'/modules/jquery/plugins/jquery-slimbox2-min.js');}
if($(".rounded, .rounded2, .ecke-rechts").length){
	$.insert(WB_URL+'/modules/jquery/plugins/jquery-corner.js');
		$(function(){$(".rounded").corner('round 8px');
		$(".rounded2").corner('round 5px');
		$(".ecke-rechts").corner('dog tr 10px');});}
if($(".corner").length){
	$.insert(WB_URL+'/modules/jquery/plugins/corner/corner.js');}
if($(".reflex")){
	$.insert(WB_URL+'/modules/jquery/plugins/reflex/reflex.js');}
if($(".slideshow, #slideshow2").length){
	$.insert(WB_URL+'/modules/jquery/plugins/jquery.cycle.all.min.js');
	$('.slideshow').cycle({fx:'scrollUp', timeout: 6000, pause:1});}
if($("#toTop")){
	$.insert(WB_URL+'/modules/jquery/plugins/jquery.scroll.pack.js');
	$.insert(WB_URL+'/modules/jquery/plugins/jquery.easing.1.3.js');
	$("#toTop").scrollToTop({speed:"slow",ease:"jswing",start:400});}
if($(".home").length){
	$.insert(WB_URL+'/modules/jquery/plugins/jquery.dropshadow.js');
		$('.home, .home-pic2').dropShadow({  // Bild und Boxen der Home-Seite
					  left: 1,
						  top: 1,
					//	 blur: 2,
					//	opacity: .5,
						  color: "black",
						  swap: false
					});	
	}
});
