/* jQuery bgiframe 2.1.1 
 * Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * $LastChangedDate: 2007-07-21 18:44:59 -0500 (Sat, 21 Jul 2007) $
 * $Rev: 2446 $
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(b($){$.m.E=$.m.g=b(s){h($.x.10&&/6.0/.I(D.B)){s=$.w({c:\'3\',5:\'3\',8:\'3\',d:\'3\',k:M,e:\'F:i;\'},s||{});C a=b(n){f n&&n.t==r?n+\'4\':n},p=\'<o Y="g"W="0"R="-1"e="\'+s.e+\'"\'+\'Q="P:O;N:L;z-H:-1;\'+(s.k!==i?\'G:J(K=\\\'0\\\');\':\'\')+\'c:\'+(s.c==\'3\'?\'7(((l(2.9.j.A)||0)*-1)+\\\'4\\\')\':a(s.c))+\';\'+\'5:\'+(s.5==\'3\'?\'7(((l(2.9.j.y)||0)*-1)+\\\'4\\\')\':a(s.5))+\';\'+\'8:\'+(s.8==\'3\'?\'7(2.9.S+\\\'4\\\')\':a(s.8))+\';\'+\'d:\'+(s.d==\'3\'?\'7(2.9.v+\\\'4\\\')\':a(s.d))+\';\'+\'"/>\';f 2.T(b(){h($(\'> o.g\',2).U==0)2.V(q.X(p),2.u)})}f 2}})(Z);',62,63,'||this|auto|px|left||expression|width|parentNode||function|top|height|src|return|bgiframe|if|false|currentStyle|opacity|parseInt|fn||iframe|html|document|Number||constructor|firstChild|offsetHeight|extend|browser|borderLeftWidth||borderTopWidth|userAgent|var|navigator|bgIframe|javascript|filter|index|test|Alpha|Opacity|absolute|true|position|block|display|style|tabindex|offsetWidth|each|length|insertBefore|frameborder|createElement|class|jQuery|msie'.split('|'),0,{}));

/* positionBy 1.0.7 (2008-01-29)
 * NEU GEPACKT (NICHT MODIFIZIERT)
 * Copyright (c) 2006,2007 Jonathan Sharp (http://jdsharp.us)
 * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
 */
(function($){var B=function(a,b,c,d){this.x1=a;this.x2=c;this.y1=b;this.y2=d};B.prototype.contains=function(a){return(this.x1<=a.x1&&a.x2<=this.x2)&&(this.y1<=a.y1&&a.y2<=this.y2)};B.prototype.transform=function(x,y){return new B(this.x1+x,this.y1+y,this.x2+x,this.y2+y)};$.fn.positionBy=function(r){var s=new Date();if(this.length==0){return this}var r=$.extend({target:null,targetPos:null,elementPos:null,x:null,y:null,positions:null,addClass:false,force:false,container:window,hideAfterPosition:false},r);if(r.x!=null){var t=r.x;var u=r.y;var v=0;var w=0}else{var x=$($(r.target)[0]);var v=x.outerWidth();var w=x.outerHeight();var y=x.offset();var t=y.left;var u=y.top}var z=t+v;var A=u+w;return this.each(function(){var c=$(this);if(!c.is(':visible')){c.css({left:-3000,top:-3000}).show()}var d=c.outerWidth();var e=c.outerHeight();var f=[];var g=[];f[0]=new B(z,u,z+d,u+e);g[0]=[1,7,4];f[1]=new B(z,A-e,z+d,A);g[1]=[0,6,4];f[2]=new B(z,A,z+d,A+e);g[2]=[1,3,10];f[3]=new B(z-d,A,z,A+e);g[3]=[1,6,10];f[4]=new B(t,A,t+d,A+e);g[4]=[1,6,9];f[5]=new B(t-d,A,t,A+e);g[5]=[6,4,9];f[6]=new B(t-d,A-e,t,A);g[6]=[7,1,4];f[7]=new B(t-d,u,t,u+e);g[7]=[6,0,4];f[8]=new B(t-d,u-e,t,u);g[8]=[7,9,4];f[9]=new B(t,u-e,t+d,u);g[9]=[0,7,4];f[10]=new B(z-d,u-e,z,u);g[10]=[0,7,3];f[11]=new B(z,u-e,z+d,u);g[11]=[0,10,3];f[12]=new B(z-d,u,z,u+e);g[12]=[13,7,10];f[13]=new B(z-d,A-e,z,A);g[13]=[12,6,3];f[14]=new B(t,A-e,t+d,A);g[14]=[15,1,4];f[15]=new B(t,u,t+d,u+e);g[15]=[14,0,9];if(r.positions!==null){var h=r.positions[0]}else if(r.targetPos!=null&&r.elementPos!=null){var h=[];h[0]=[];h[0][0]=15;h[0][1]=7;h[0][2]=8;h[0][3]=9;h[1]=[];h[1][0]=0;h[1][1]=12;h[1][2]=10;h[1][3]=11;h[2]=[];h[2][0]=2;h[2][1]=3;h[2][2]=13;h[2][3]=1;h[3]=[];h[3][0]=4;h[3][1]=5;h[3][2]=6;h[3][3]=14;var h=h[r.targetPos][r.elementPos]}var i=f[h];var j=h;if(!r.force){$window=$(window);var k=$window.scrollLeft();var l=$window.scrollTop();var m=new B(k,l,k+$window.width(),l+$window.height());var n;if(r.positions){n=r.positions}else{n=[h]}var o=[];while(n.length>0){var p=n.shift();if(o[p]){continue}o[p]=true;if(!m.contains(f[p])){if(r.positions===null){n=jQuery.merge(n,g[p])}}else{i=f[p];break}}}c.parents().each(function(){var a=$(this);if(a.css('position')!='static'){var b=a.offset();i=i.transform(-b.left,-b.top);return false}});var q={left:i.x1,top:i.y1};if(r.hideAfterPosition){q['display']='none'}c.css(q);if(r.addClass){c.removeClass('positionBy0 positionBy1 positionBy2 positionBy3 positionBy4 positionBy5 '+'positionBy6 positionBy7 positionBy8 positionBy9 positionBy10 positionBy11 '+'positionBy12 positionBy13 positionBy14 positionBy15').addClass('positionBy'+p)}})}})(jQuery); 

/*
 * jdMenu 1.4.1 (2008-03-31)
 * BEMERKUNG: MODIFIZIERTES SCRIPT GEPACKT (MIT variable shrinking, OHNE Base62 encoding)
 * MODIFIZIERT: Konflikt mit $-Aufruf --> ersten beide $ gegen jQuery getauscht !!!!!!
 * Copyright (c) 2006,2007 Jonathan Sharp (http://jdsharp.us)
 * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
 */
jQuery(function(){jQuery('ul.jd_menu').jdMenu()});(function(j){function g(h){var d=jQuery.data(jQuery(h).parents().andSelf().filter('ul.jd_menu')[0],'jdMenuSettings');jQuery('> li',h).bind('mouseenter.jdmenu mouseleave.jdmenu',function(a){jQuery(this).toggleClass('jdm_hover');var b=jQuery('> ul',this);if(b.length==1){clearTimeout(this.$jdTimer);var e=(a.type=='mouseenter');var c=(e?i:f);this.$jdTimer=setTimeout(function(){c(b[0],d.onAnimate,d.isVertical)},e?d.showDelay:d.hideDelay)}})}function i(a,b,e){var a=jQuery(a);if(a.is(':visible')){return}a.bgiframe();var c=a.parent();a.trigger('jdMenuShow').positionBy({target:c[0],targetPos:(e===true||!c.parent().hasClass('jd_menu')?1:3),elementPos:0,hideAfterPosition:true});if(!a.hasClass('jdm_events')){a.addClass('jdm_events');g(a)}c.addClass('jdm_active').siblings('li').find('> ul:eq(0):visible').each(function(){f(this)});if(b===undefined){a.show()}else{b.apply(a[0],[true])}}function f(a,b){var a=jQuery(a);jQuery('.bgiframe',a).remove();a.filter(':not(.jd_menu)').find('> li > ul:eq(0):visible').each(function(){f(this)}).end();if(b===undefined){a.hide()}else{b.apply(a[0],[false])}a.trigger('jdMenuHide').parents('li:eq(0)').removeClass('jdm_active jdm_hover').end().find('> li').removeClass('jdm_active jdm_hover')}jQuery.fn.jdMenu=function(a){var a=jQuery.extend({showDelay:0,hideDelay:0,disableLinks:false},a);if(!jQuery.isFunction(a.onAnimate)){a.onAnimate=undefined}return this.filter('ul.jd_menu').each(function(){jQuery.data(this,'jdMenuSettings',jQuery.extend({isVertical:jQuery(this).hasClass('jd_menu_vertical')},a));g(this)})};jQuery.fn.jdMenuUnbind=function(){jQuery('ul.jdm_events',this).unbind('.jdmenu').find('> a').unbind('.jdmenu')};jQuery.fn.jdMenuHide=function(){return this.filter('ul').each(function(){f(this)})};jQuery(window).bind('click.jdmenu',function(){jQuery('ul.jd_menu ul:visible').jdMenuHide()})})(jQuery);