
                        jQuery.noConflict();
                        (function($) {
                                $(document).ready(function() {

                       $("a.jqtabshref-0").each(function () {
				href = $(this).attr("href");
				arr = href.split("#")
				if (arr[1])
					$(this).attr("href", "#"+arr[1]);
			});
			$("#jqtabs-0").tabs({ selected: 0 })

                                  $("#accordion").accordion();
                                  $("#accordion2").accordion();
                                if ($("*").is(".jqfancybox")) {
                                                $(".jqfancybox").fancybox({
                                                        "padding": 0,
                                                        "speedIn": 300,
                                                        "speedOut": 300,
                                                        "changeSpeed": 300,
                                                        "transitionIn": "elastic",
                                                        "transitionOut": "elastic",
                                                        "titlePosition": "over",
                                                        "titleShow": true,
                                                        "easingIn": "swing",
                                                        "easingOut": "swing",
                                                        "showCloseButton": true,
                                                        "showNavArrows": true,
                                                        "enableEscapeButton": true,
                                                        "overlayShow": true,
                                                        "overlayOpacity": 0.6,
                                                        "overlayColor": "#000",
                                                        "centerOnScroll": false,
                                                        "hideOnContentClick": false,
                                                        "onComplete"                 :        function() {
                                                                                                                $("#fancybox-wrap").hover(function() {
                                                                                                                        $("#fancybox-title").show();
                                                                                                                }, function() {
                                                                                                                        $("#fancybox-title").hide();
                                                                                                                });
                                                                                                         },  "titleFormat": function(title, currentArray, currentIndex, currentOpts) { return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' von ' + currentArray.length + (title.length ? ' : &nbsp; ' + title : '') + '</span>';}
                                });
                         }
                        });})(jQuery);

