// jquery.droppy
$.fn.droppy=function(options){options=$.extend({speed:250},options||{});this.each(function(){var root=this,zIndex=1000;function getSubnav(ele){if(ele.nodeName.toLowerCase()=="li"){var subnav=$("> ul",ele);return subnav.length?subnav[0]:null}else{return ele}}function getActuator(ele){if(ele.nodeName.toLowerCase()=="ul"){return $(ele).parents("li")[0]}else{return ele}}function hide(){var subnav=getSubnav(this);if(!subnav){return}$.data(subnav,"cancelHide",false);setTimeout(function(){if(!$.data(subnav,"cancelHide")){$(subnav).slideUp(options.speed)}},500)}function show(){var subnav=getSubnav(this);if(!subnav){return}$.data(subnav,"cancelHide",true);$(subnav).css({zIndex:zIndex++}).slideDown(options.speed);if(this.nodeName.toLowerCase()=="ul"){var li=getActuator(this);$(li).addClass("hover");$("> a",li).addClass("hover")}}$("ul, li",this).hover(show,hide);$("li",this).hover(function(){$(this).addClass("hover");$("> a",this).addClass("hover")},function(){$(this).removeClass("hover");$("> a",this).removeClass("hover")})})};
//jquery-easing.1.2.pack
eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('l.Y(l.n,{15:9(x,t,b,c,d){6 c*(t/=d)*t+b},V:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},U:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},17:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},P:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},O:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},13:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},S:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},G:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},B:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},M:9(x,t,b,c,d){6-c*8.A(t/d*(8.g/2))+c+b},C:9(x,t,b,c,d){6 c*8.m(t/d*(8.g/2))+b},D:9(x,t,b,c,d){6-c/2*(8.A(8.g*t/d)-1)+b},16:9(x,t,b,c,d){6(t==0)?b:c*8.h(2,10*(t/d-1))+b},E:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.h(2,-10*t/d)+1)+b},F:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.h(2,10*(t-1))+b;6 c/2*(-8.h(2,-10*--t)+2)+b},I:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},12:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},11:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},K:9(x,t,b,c,d){f s=1.j;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.r(c)){a=c;f s=p/4}k f s=p/(2*8.g)*8.u(c/a);6-(a*8.h(2,10*(t-=1))*8.m((t*d-s)*(2*8.g)/p))+b},X:9(x,t,b,c,d){f s=1.j;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.r(c)){a=c;f s=p/4}k f s=p/(2*8.g)*8.u(c/a);6 a*8.h(2,-10*t)*8.m((t*d-s)*(2*8.g)/p)+c+b},N:9(x,t,b,c,d){f s=1.j;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.r(c)){a=c;f s=p/4}k f s=p/(2*8.g)*8.u(c/a);e(t<1)6-.5*(a*8.h(2,10*(t-=1))*8.m((t*d-s)*(2*8.g)/p))+b;6 a*8.h(2,-10*(t-=1))*8.m((t*d-s)*(2*8.g)/p)*.5+c+b},Z:9(x,t,b,c,d,s){e(s==w)s=1.j;6 c*(t/=d)*t*((s+1)*t-s)+b},14:9(x,t,b,c,d,s){e(s==w)s=1.j;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},H:9(x,t,b,c,d,s){e(s==w)s=1.j;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.y))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.y))+1)*t+s)+2)+b},z:9(x,t,b,c,d){6 c-l.n.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.i)){6 c*(7.q*t*t)+b}k e(t<(2/2.i)){6 c*(7.q*(t-=(1.5/2.i))*t+.i)+b}k e(t<(2.5/2.i)){6 c*(7.q*(t-=(2.J/2.i))*t+.L)+b}k{6 c*(7.q*(t-=(2.Q/2.i))*t+.T)+b}},W:9(x,t,b,c,d){e(t<d/2)6 l.n.z(x,t*2,0,c,d)*.5+b;6 l.n.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,71,'||||||return||Math|function|||||if|var|PI|pow|75|70158|else|jQuery|sin|easing|sqrt||5625|abs|||asin|easeOutBounce|undefined||525|easeInBounce|cos|easeInOutQuint|easeOutSine|easeInOutSine|easeOutExpo|easeInOutExpo|easeOutQuint|easeInOutBack|easeInCirc|25|easeInElastic|9375|easeInSine|easeInOutElastic|easeInQuart|easeOutCubic|625|easeInOutCubic|easeInOutQuart|984375|easeInOutQuad|easeOutQuad|easeInOutBounce|easeOutElastic|extend|easeInBack||easeInOutCirc|easeOutCirc|easeOutQuart|easeOutBack|easeInQuad|easeInExpo|easeInCubic|easeInQuint'.split('|'),0,{}));
//jquery-easing-compatibility.1.2
jQuery.extend(jQuery.easing,{easeIn:function(x,t,b,c,d){return jQuery.easing.easeInQuad(x,t,b,c,d)},easeOut:function(x,t,b,c,d){return jQuery.easing.easeOutQuad(x,t,b,c,d)},easeInOut:function(x,t,b,c,d){return jQuery.easing.easeInOutQuad(x,t,b,c,d)},expoin:function(x,t,b,c,d){return jQuery.easing.easeInExpo(x,t,b,c,d)},expoout:function(x,t,b,c,d){return jQuery.easing.easeOutExpo(x,t,b,c,d)},expoinout:function(x,t,b,c,d){return jQuery.easing.easeInOutExpo(x,t,b,c,d)},bouncein:function(x,t,b,c,d){return jQuery.easing.easeInBounce(x,t,b,c,d)},bounceout:function(x,t,b,c,d){return jQuery.easing.easeOutBounce(x,t,b,c,d)},bounceinout:function(x,t,b,c,d){return jQuery.easing.easeInOutBounce(x,t,b,c,d)},elasin:function(x,t,b,c,d){return jQuery.easing.easeInElastic(x,t,b,c,d)},elasout:function(x,t,b,c,d){return jQuery.easing.easeOutElastic(x,t,b,c,d)},elasinout:function(x,t,b,c,d){return jQuery.easing.easeInOutElastic(x,t,b,c,d)},backin:function(x,t,b,c,d){return jQuery.easing.easeInBack(x,t,b,c,d)},backout:function(x,t,b,c,d){return jQuery.easing.easeOutBack(x,t,b,c,d)},backinout:function(x,t,b,c,d){return jQuery.easing.easeInOutBack(x,t,b,c,d)}});
//coda-slider.1.1.2
jQuery(function(){jQuery("div.csw").prepend("<p class='loading'>Loading...<br /><img src='images/ajax-loader.gif' alt='loading...'/ ></p>");jQuery("div.csw1").prepend("<p class='loading'>Loading...<br /><img src='/css/loadingAnimation.gif' alt='loading...'/ ></p>")});var j=0;jQuery.fn.codaSlider=function(settings){settings=jQuery.extend({easeFunc:"expoinout",easeTime:750,toolTip:false},settings);return this.each(function(){var container=jQuery(this);container.find("p.loading").remove();container.removeClass("csw").addClass("stripViewer");container.removeClass("csw1").addClass("stripViewer");var panelWidth=container.find("div.panel").width();var panelCount=container.find("div.panel").size();var stripViewerWidth=panelWidth*panelCount;container.find("div.panelContainer").css("width",stripViewerWidth);var navWidth=panelCount*2;if(location.hash&&parseInt(location.hash.slice(1))<=panelCount){var cPanel=parseInt(location.hash.slice(1));var cnt=-(panelWidth*(cPanel-1));jQuery(this).find("div.panelContainer").css({left:cnt})}else{var cPanel=1}container.each(function(i){jQuery("div#newsContainer").before("<div class='stripNavR' id='stripNavR"+j+"'><a href='#'></a></div>");jQuery("div#newsContainer").before("<div class='stripNavL' id='stripNavL"+j+"'><a href='#'></a></div>");jQuery("div#newsContainer").before("<br class='clearfloat'/>");jQuery("div#staffContainer").before("<div class='stripNavR' id='stripNavR"+j+"'><a href='#'></a></div>");jQuery("div#staffContainer").before("<div class='stripNavL' id='stripNavL"+j+"'><a href='#'></a></div>");jQuery("div#staffContainer").before("<br class='clearfloat'/>");jQuery(this).before("<div class='stripNav' id='stripNav"+j+"'><ul></ul></div>");jQuery(this).find("div.panel").each(function(n){jQuery("div#stripNav"+j+" ul").append("<li class='tab"+(n+1)+"'><a href='#"+(n+1)+"'>"+jQuery(this).attr("title")+"</a></li>")});jQuery("div#stripNav"+j+" a").each(function(z){navWidth+=jQuery(this).parent().width();jQuery(this).bind("click",function(){jQuery(this).addClass("current").parent().parent().find("a").not(jQuery(this)).removeClass("current");var cnt=-(panelWidth*z);cPanel=z+1;jQuery(this).parent().parent().parent().next().find("div.panelContainer").animate({left:cnt},settings.easeTime,settings.easeFunc)})});jQuery("div#stripNavL"+j+" a").click(function(){if(cPanel==1){var cnt=-(panelWidth*(panelCount-1));cPanel=panelCount;jQuery(this).parent().parent().find("div.stripNav a.current").removeClass("current").parent().parent().find("li:last a").addClass("current")}else{cPanel-=1;var cnt=-(panelWidth*(cPanel-1));jQuery(this).parent().parent().find("div.stripNav a.current").removeClass("current").parent().prev().find("a").addClass("current")}jQuery(this).parent().parent().find("div.panelContainer").animate({left:cnt},settings.easeTime,settings.easeFunc);location.hash=cPanel;return false});jQuery("div#stripNavR"+j+" a").click(function(){if(cPanel==panelCount){var cnt=0;cPanel=1;jQuery(this).parent().parent().find("div.stripNav a.current").removeClass("current").parent().parent().find("a:eq(0)").addClass("current")}else{var cnt=-(panelWidth*cPanel);cPanel+=1;jQuery(this).parent().parent().find("div.stripNav a.current").removeClass("current").parent().next().find("a").addClass("current")}jQuery(this).parent().parent().find("div.panelContainer").animate({left:cnt},settings.easeTime,settings.easeFunc);location.hash=cPanel;return false});jQuery("a.cross-link").click(function(){jQuery(this).parents().find(".stripNav ul li a:eq("+(parseInt(jQuery(this).attr("href").slice(1))-1)+")").trigger("click")});jQuery("div#stripNav"+j).css("width",navWidth);if(location.hash&&parseInt(location.hash.slice(1))<=panelCount){jQuery("div#stripNav"+j+" a:eq("+(location.hash.slice(1)-1)+")").addClass("current")}else{jQuery("div#stripNav"+j+" a:eq(0)").addClass("current")}});j++})};
//JQuery.dimensions
(function($){$.dimensions={version:"1.2"};$.each(["Height","Width"],function(i,name){$.fn["inner"+name]=function(){if(!this[0]){return}var torl=name=="Height"?"Top":"Left",borr=name=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+name]:num(this,name.toLowerCase())+num(this,"padding"+torl)+num(this,"padding"+borr)};$.fn["outer"+name]=function(options){if(!this[0]){return}var torl=name=="Height"?"Top":"Left",borr=name=="Height"?"Bottom":"Right";options=$.extend({margin:false},options||{});var val=this.is(":visible")?this[0]["offset"+name]:num(this,name.toLowerCase())+num(this,"border"+torl+"Width")+num(this,"border"+borr+"Width")+num(this,"padding"+torl)+num(this,"padding"+borr);return val+(options.margin?(num(this,"margin"+torl)+num(this,"margin"+borr)):0)}});$.each(["Left","Top"],function(i,name){$.fn["scroll"+name]=function(val){if(!this[0]){return}return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(name=="Left"?val:$(window)["scrollLeft"](),name=="Top"?val:$(window)["scrollTop"]()):this["scroll"+name]=val}):this[0]==window||this[0]==document?self[(name=="Left"?"pageXOffset":"pageYOffset")]||$.boxModel&&document.documentElement["scroll"+name]||document.body["scroll"+name]:this[0]["scroll"+name]}});$.fn.extend({position:function(){var left=0,top=0,elem=this[0],offset,parentOffset,offsetParent,results;if(elem){offsetParent=this.offsetParent();offset=this.offset();parentOffset=offsetParent.offset();offset.top-=num(elem,"marginTop");offset.left-=num(elem,"marginLeft");parentOffset.top+=num(offsetParent,"borderTopWidth");parentOffset.left+=num(offsetParent,"borderLeftWidth");results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}}return results},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&$.css(offsetParent,"position")=="static")){offsetParent=offsetParent.offsetParent}return $(offsetParent)}});function num(el,prop){return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0}})(jQuery);
//JQuery.backgroundCanvas
(function($){$.fn.backgroundCanvas=function(){$(this).each(function(){var $this=$(this);$this.css("background-color","transparent");$this.css("border-color","transparent");if($.browser.msie){$this.wrapInner('<div class="jbgContentDiv" style="width:100%; height:100%; display:block; position:relative; z-index:2;"></div>');var divElement=document.createElement("div");divElement.className="jbgCanvasDiv";divElement.style.position="relative";divElement.style.display="block";divElement.style.height="0px";divElement.style.width="0px";divElement.style.top="0px";divElement.style.left="0px";divElement.setAttribute("z-index","0");var canvasElement=document.createElement("canvas");canvasElement.className="jbgCanvas";canvasElement.style.height="0px";canvasElement.style.width="0px";canvasElement.setAttribute("z-index","-1");canvasElement=G_vmlCanvasManager.initElement(canvasElement);$this.get(0).insertBefore(divElement,$this.get(0).firstChild);divElement.appendChild(canvasElement)}else{$this.wrapInner('<div class="jbgContentDiv" style="width:100%; height:100%; display:block; position:relative; z-index:2;"></div>');$this.prepend('<div class="jbgCanvasDiv" style="display:block; position:relative; width:0px; height:0px;  z-index:0;"><canvas class="jbgCanvas" style="width:0px; height:0px; z-index:-1;" ></canvas></div>')}});return this};$.fn.backgroundCanvasPaint=function(paintFkt){$(this).each(function(){var $this=$(this);var $canvasDiv=$this.children(".jbgCanvasDiv");var $canvas=$canvasDiv.children(".jbgCanvas");var $content=$this.children(".jbgContentDiv");if($canvas.length==0){return this}var canvas=$canvas.get(0);if(!$.browser.msie){}else{if(parseInt(jQuery.browser.version)<7){$canvas.width("0px");$canvas.height("0px");$canvasDiv.css("width","0px");$canvasDiv.css("height","0px");$canvasDiv.css("margin-bottom","0px");$canvasDiv.css("margin-right","0px");$content.css("width","");$content.css("height","")}}var width=$this.innerWidth();var height=$this.innerHeight();var outerWidth=$this.width();var outerHeight=$this.height();if(!$.browser.msie){$canvas.width(width+".4px");$canvas.height(height+".4px")}else{if(parseInt(jQuery.browser.version)<7){$content.css("width",width+".4px");$content.css("height",height+".4px");$canvasDiv.css("margin-bottom","-"+outerHeight+".4px");$canvasDiv.css("margin-right","-"+outerWidth+".4px");$canvasDiv.css("width",outerWidth+".4px");$canvasDiv.css("height",outerHeight+".4px")}}if(canvas.getContext){canvas.width=width;canvas.height=height;var ctx=canvas.getContext("2d");paintFkt(ctx,width,height,canvas,$canvas,$canvasDiv,$content,$this)}else{alert("kontext nicht erzeugbar")}});return this};$.canvasPaint={roundedRect:function(ctx,options){options=jQuery.extend({width:0,radius:0,border:0,stroke:false,fill:true,adjustRadius:true},options);options=jQuery.extend({x:0,y:0,height:options.width,radiusTL:options.radius,radiusTR:options.radius,radiusBL:options.radius,radiusBR:options.radius,borderL:options.border,borderR:options.border,borderT:options.border,borderB:options.border},options);if(options.adjustRadius){options.radiusTL=Math.max(options.radiusTL-((options.borderT+options.borderL)/2),0);options.radiusTR=Math.max(options.radiusTR-((options.borderT+options.borderR)/2),0);options.radiusBL=Math.max(options.radiusBL-((options.borderB+options.borderL)/2),0);options.radiusBR=Math.max(options.radiusBR-((options.borderB+options.borderR)/2),0)}var x=options.x+options.borderL;var y=options.y+options.borderT;var width=options.width-options.borderL-options.borderR;var height=options.height-options.borderT-options.borderB;var kappaRradiusTL=options.radiusTL*0.3333;var kappaRradiusTR=options.radiusTR*0.3333;var kappaRradiusBL=options.radiusBL*0.3333;var kappaRradiusBR=options.radiusBR*0.3333;ctx.beginPath();ctx.moveTo(x,y+options.radiusTL);ctx.lineTo(x,y+height-options.radiusBL);ctx.bezierCurveTo(x,y+height-kappaRradiusBL,x+kappaRradiusBL,y+height,x+options.radiusBL,y+height);ctx.lineTo(x+width-options.radiusBR,y+height);ctx.bezierCurveTo(x+width-kappaRradiusBR,y+height,x+width,y+height-kappaRradiusBR,x+width,y+height-options.radiusBR);ctx.lineTo(x+width,y+options.radiusTR);ctx.bezierCurveTo(x+width,y+kappaRradiusTR,x+width-kappaRradiusTR,y,x+width-options.radiusTR,y);ctx.lineTo(x+options.radiusTL,y);ctx.bezierCurveTo(x+kappaRradiusTL,y,x,y+kappaRradiusTL,x,y+options.radiusTL);if(options.stroke){ctx.stroke()}if(options.fill){ctx.fill()}},roundTab:function(ctx,options){options=jQuery.extend({x:0,y:0,width:0,radiusLeft:0,radiusRight:0,bottomRadiusLeft:0,bottomRadiusRight:0,offsetLeft:0,offsetRight:0,border:0,stroke:false,fill:true,adjustRadius:true},options);options=jQuery.extend({height:options.width},options);if(options.adjustRadius){options.radiusLeft=options.radiusLeft-options.border;options.radiusRight=options.radiusRight-options.border;options.bottomRadiusLeft=options.bottomRadiusLeft-options.border;options.bottomRadiusRight=options.bottomRadiusRight-options.border}var x=options.x+options.border;var y=options.y+options.border;var width=options.width-options.border-options.border;var height=options.height-options.border;var hypoLeft=Math.sqrt((height*height)+(options.offsetLeft*options.offsetLeft));var hypoRight=Math.sqrt((height*height)+(options.offsetRight*options.offsetRight));ctx.beginPath();var xRadius=(options.radiusLeft*options.offsetLeft)/hypoLeft;var yRadius=(options.radiusLeft*height)/hypoLeft;var kappaRadius=options.radiusLeft*0.3333;var kappaXRadius=xRadius*0.3333;var kappaYRadius=yRadius*0.3333;ctx.moveTo(x+options.offsetLeft-xRadius,y+yRadius);ctx.bezierCurveTo(x+options.offsetLeft-kappaXRadius,y+kappaYRadius,x+options.offsetLeft+kappaRadius,y,x+options.offsetLeft+options.radiusLeft,y);var xRadius=(options.radiusRight*options.offsetRight)/hypoRight;var yRadius=(options.radiusRight*height)/hypoRight;var kappaRadius=options.radiusRight*0.3333;var kappaXRadius=xRadius*0.3333;var kappaYRadius=yRadius*0.3333;ctx.lineTo(x+width-options.offsetRight-options.radiusRight,y);ctx.bezierCurveTo(x+width-options.offsetRight-kappaRadius,y,x+width-options.offsetRight+kappaXRadius,y+kappaYRadius,x+width-options.offsetRight+xRadius,y+yRadius);var xRadius=(options.bottomRadiusRight*options.offsetRight)/hypoRight;var yRadius=(options.bottomRadiusRight*height)/hypoRight;var kappaRadius=options.bottomRadiusRight*0.3333;var kappaXRadius=xRadius*0.3333;var kappaYRadius=yRadius*0.3333;ctx.lineTo(x+width-xRadius,y+height-yRadius);ctx.bezierCurveTo(x+width-kappaXRadius,y+height-kappaYRadius,x+width+kappaRadius,y+height,x+width+options.bottomRadiusRight,y+height);var xRadius=(options.bottomRadiusLeft*options.offsetLeft)/hypoLeft;var yRadius=(options.bottomRadiusLeft*height)/hypoLeft;var kappaRadius=options.bottomRadiusLeft*0.3333;var kappaXRadius=xRadius*0.3333;var kappaYRadius=yRadius*0.3333;ctx.lineTo(x-options.bottomRadiusLeft,y+height);ctx.bezierCurveTo(x-kappaRadius,y+height,x+kappaXRadius,y+height-kappaYRadius,x+xRadius,y+height-yRadius);if(options.stroke){ctx.stroke()}if(options.fill){ctx.fill()}}}})(jQuery);
//BackgroundCanvasDemo
$(document).ready(function(){$("#newsContainer, #left, .project, #project_right1, #project_right2").backgroundCanvas()});$(window).load(function(){DrawBackground()});$(window).resize(function(){DrawBackground()});function DrawBackground(){$("#newsContainer").backgroundCanvasPaint(Demo1BackgroundPaintFkt);$("#left, .project").backgroundCanvasPaint(Demo2BackgroundPaintFkt);$("#project_right1, #project_right2").backgroundCanvasPaint(Demo3BackgroundPaintFkt)}function Demo1BackgroundPaintFkt(context,width,height,canvas,$canvas,$canvasDiv,$content,$element){var options={x:0,height:height,width:width,radius:14,border:0};var backgroundGradient=context.createLinearGradient(0,50,0,height-2);backgroundGradient.addColorStop(0,"#FFFFFF");backgroundGradient.addColorStop(1,"#F1F1F3");context.fillStyle="#D6D6DB";$.canvasPaint.roundedRect(context,options);options.border=1;context.fillStyle=backgroundGradient;$.canvasPaint.roundedRect(context,options)}function Demo2BackgroundPaintFkt(context,width,height,canvas,$canvas,$canvasDiv,$content,$element){var options={x:0,height:height,width:width,radius:10,border:1,stroke:true};context.fillStyle="#FFFFFF";context.strokeStyle="#D6D6DB";$.canvasPaint.roundedRect(context,options)}function Demo3BackgroundPaintFkt(context,width,height,canvas,$canvas,$canvasDiv,$content,$element){var options={x:0,height:height,width:width,radius:0,border:1,stroke:true};var backgroundGradient=context.createLinearGradient(0,0,0,height-2);backgroundGradient.addColorStop(0,"#FFFFFF");backgroundGradient.addColorStop(1,"#F1F1F3");context.strokeStyle="#D6D6DB";context.fillStyle=backgroundGradient;$.canvasPaint.roundedRect(context,options)};
//thickbox
var tb_pathToImage="/css/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(domChunk){$(domChunk).click(function(){var t=this.title||this.name||null;var a=this.href||this.alt;var g=this.rel||false;tb_show(t,a,g);this.blur();return false})}function tb_show(caption,url,imageGroup){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(caption===null){caption=""}$("body").append("<div id='TB_load'><img src='/css/loadingAnimation.gif' /></div>");$("#TB_load").show();var baseURL;if(url.indexOf("?")!==-1){baseURL=url.substr(0,url.indexOf("?"))}else{baseURL=url}var urlString=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var urlType=baseURL.toLowerCase().match(urlString);urlString="mario.jpg";urlType=".jpg";if(urlType==".jpg"||urlType==".jpeg"||urlType==".png"||urlType==".gif"||urlType==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(imageGroup){TB_TempArray=$("a[@rel="+imageGroup+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var urlTypeTemp=TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);if(!(TB_TempArray[TB_Counter].href==url)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>  <a href='#'>Next ></a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>  <a href='#'>< Prev</a></span>"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y}}else{if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x}}}TB_WIDTH=imageWidth+30;TB_HEIGHT=imageHeight+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a><div id='TB_caption'>"+caption+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Close X</a></div>");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function goPrev(){if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev)}$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,imageGroup);return false}$("#TB_prev").click(goPrev)}if(!(TB_NextHTML==="")){function goNext(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,imageGroup);return false}$("#TB_next").click(goNext)}document.onkeydown=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";goNext()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";goPrev()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block",opacity:0}).animate({opacity:1},3000)};imgPreloader.src=url}else{var queryString=url.replace(/^[^\?]+\??/,"");var params=tb_parseQuery(queryString);TB_WIDTH=(params.width*1)+30||630;TB_HEIGHT=(params.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(url.indexOf("TB_iframe")!=-1){urlNoQuery=url.split("TB_");$("#TB_iframeContent").remove();if(params.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Close X</a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if($("#TB_window").css("display")!="block"){if(params.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>Close X</a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(caption)}}$("#TB_closeWindowButton").click(tb_remove);if(url.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+params.inlineId).children());$("#TB_window").unload(function(){$("#"+params.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block",opacity:0}).animate({opacity:1},3000)}else{if(url.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block",opacity:0}).animate({opacity:1},3000)}}else{$("#TB_ajaxContent").load(url+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block",opacity:0}).animate({opacity:1},3000)})}}}if(!params.modal){document.onkeyup=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}}}}catch(e){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block",opacity:0}).animate({opacity:1},3000)}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("slow",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(query){var Params={};if(!query){return Params}var Pairs=query.split(/[;&]/);for(var i=0;i<Pairs.length;i++){var KeyVal=Pairs[i].split("=");if(!KeyVal||KeyVal.length!=2){continue}var key=unescape(KeyVal[0]);var val=unescape(KeyVal[1]);val=val.replace(/\+/g," ");Params[key]=val}return Params}function tb_getPageSize(){var de=document.documentElement;var w=window.innerWidth||self.innerWidth||(de&&de.clientWidth)||document.body.clientWidth;var h=window.innerHeight||self.innerHeight||(de&&de.clientHeight)||document.body.clientHeight;arrayPageSize=[w,h];return arrayPageSize}function tb_detectMacXFF(){var userAgent=navigator.userAgent.toLowerCase();if(userAgent.indexOf("mac")!=-1&&userAgent.indexOf("firefox")!=-1){return true}};
//animatedcollapse
var animatedcollapse={divholders:{},divgroups:{},lastactiveingroup:{},show:function(divids){if(typeof divids=="object"){for(var i=0;i<divids.length;i++){this.showhide(divids[i],"show")}}else{this.showhide(divids,"show")}setTimeout("DrawBackground()",20)},hide:function(divids){if(typeof divids=="object"){for(var i=0;i<divids.length;i++){this.showhide(divids[i],"hide")}}else{this.showhide(divids,"hide")}},toggle:function(divid){this.showhide(divid,"toggle")},addDiv:function(divid,attrstring){this.divholders[divid]=({id:divid,$divref:null,attrs:attrstring});this.divholders[divid].getAttr=function(name){var attr=new RegExp(name+"=([^,]+)","i");return(attr.test(this.attrs)&&parseInt(RegExp.$1)!=0)?RegExp.$1:null}},showhide:function(divid,action){var $divref=this.divholders[divid].$divref;if(this.divholders[divid]&&$divref.length==1){var targetgroup=this.divgroups[$divref.attr("groupname")];if($divref.attr("groupname")&&targetgroup.count>1&&(action=="show"||action=="toggle"&&$divref.css("display")=="none")){if(targetgroup.lastactivedivid&&targetgroup.lastactivedivid!=divid){this.slideengine(targetgroup.lastactivedivid,"hide")}this.slideengine(divid,"show");targetgroup.lastactivedivid=divid}else{this.slideengine(divid,action)}}},slideengine:function(divid,action){var $divref=this.divholders[divid].$divref;if(this.divholders[divid]&&$divref.length==1){var animateSetting={height:action};if($divref.attr("fade")){animateSetting.opacity=action}$divref.animate(animateSetting,$divref.attr("speed")?parseInt($divref.attr("speed")):500);return false}},generatemap:function(){var map={};for(var i=0;i<arguments.length;i++){if(arguments[i][1]!=null){map[arguments[i][0]]=arguments[i][1]}}return map},init:function(){var ac=this;jQuery(document).ready(function($){var persistopenids=ac.getCookie("acopendivids");var groupswithpersist=ac.getCookie("acgroupswithpersist");if(persistopenids!=null){persistopenids=(persistopenids=="nada")?[]:persistopenids.split(",")}groupswithpersist=(groupswithpersist==null||groupswithpersist=="nada")?[]:groupswithpersist.split(",");jQuery.each(ac.divholders,function(){this.$divref=$("#"+this.id);if((this.getAttr("persist")||jQuery.inArray(this.getAttr("group"),groupswithpersist)!=-1)&&persistopenids!=null){var cssdisplay=(jQuery.inArray(this.id,persistopenids)!=-1)?"block":"none"}else{var cssdisplay=this.getAttr("hide")?"none":null}this.$divref.css(ac.generatemap(["height",this.getAttr("height")],["display",cssdisplay]));this.$divref.attr(ac.generatemap(["groupname",this.getAttr("group")],["fade",this.getAttr("fade")],["speed",this.getAttr("speed")]));if(this.getAttr("group")){var targetgroup=ac.divgroups[this.getAttr("group")]||(ac.divgroups[this.getAttr("group")]={});targetgroup.count=(targetgroup.count||0)+1;if(!targetgroup.lastactivedivid&&this.$divref.css("display")!="none"||cssdisplay=="block"){targetgroup.lastactivedivid=this.id}this.$divref.css({display:"none"})}});jQuery.each(ac.divgroups,function(){if(this.lastactivedivid){ac.divholders[this.lastactivedivid].$divref.show()}});var $allcontrols=$("*[rel]").filter('[@rel^="collapse-"], [@rel^="expand-"], [@rel^="toggle-"]');var controlidentifiers=/(collapse-)|(expand-)|(toggle-)/;$allcontrols.each(function(){$(this).click(function(){var relattr=this.getAttribute("rel");var divid=relattr.replace(controlidentifiers,"");var doaction=(relattr.indexOf("collapse-")!=-1)?"hide":(relattr.indexOf("expand-")!=-1)?"show":"toggle";return ac.showhide(divid,doaction)})});$(window).bind("unload",function(){ac.uninit()})})},uninit:function(){var opendivids="",groupswithpersist="";jQuery.each(this.divholders,function(){if(this.$divref.css("display")!="none"){opendivids+=this.id+","}if(this.getAttr("group")&&this.getAttr("persist")){groupswithpersist+=this.getAttr("group")+","}});opendivids=(opendivids=="")?"nada":opendivids.replace(/,$/,"");groupswithpersist=(groupswithpersist=="")?"nada":groupswithpersist.replace(/,$/,"");this.setCookie("acopendivids",opendivids);this.setCookie("acgroupswithpersist",groupswithpersist)},getCookie:function(Name){var re=new RegExp(Name+"=[^;]*","i");if(document.cookie.match(re)){return document.cookie.match(re)[0].split("=")[1]}return null},setCookie:function(name,value,days){if(typeof days!="undefined"){var expireDate=new Date();expireDate.setDate(expireDate.getDate()+days);document.cookie=name+"="+value+"; path=/; expires="+expireDate.toGMTString()}else{document.cookie=name+"="+value+"; path=/"}}};
//jquery.uitablefilter
jQuery.uiTableFilter=function(jq,phrase,column,ifHidden){var new_hidden=false;if(this.last_phrase===phrase){return false}var phrase_length=phrase.length;var words=phrase.toLowerCase().split(" ");var matches=function(elem){elem.show()};var noMatch=function(elem){elem.hide();new_hidden=true};var getText=function(elem){return elem.text()};if(column){var index=null;jq.find("thead > tr:last > th").each(function(i){if($(this).text()==column){index=i;return false}});if(index==null){throw ("given column: "+column+" not found")}getText=function(elem){return jQuery(elem.find(("td:eq("+index+")"))).text()}}if((words.size>1)&&(phrase.substr(0,phrase_length-1)===this.last_phrase)){if(phrase[-1]===" "){this.last_phrase=phrase;return false}var words=words[-1];matches=function(elem){};var elems=jq.find("tbody > tr:visible")}else{new_hidden=true;var elems=jq.find("tbody > tr")}elems.each(function(){var elem=jQuery(this);jQuery.uiTableFilter.has_words(getText(elem),words,false)?matches(elem):noMatch(elem)});last_phrase=phrase;if(ifHidden&&new_hidden){ifHidden()}return jq};jQuery.uiTableFilter.last_phrase="";jQuery.uiTableFilter.has_words=function(str,words,caseSensitive){var text=caseSensitive?str:str.toLowerCase();for(var i=0;i<words.length;i++){if(text.indexOf(words[i])===-1){return false}}return true};
//AC_RunActiveContent
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version")}catch(e){}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version")}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version")}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0"}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11"}catch(e){version=-1}}return version}function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4]}if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1)}else{if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"))}}}var flashVer=versionMajor+"."+versionMinor+"."+versionRevision}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){flashVer=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){flashVer=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){flashVer=2}else{if(isIE&&isWin&&!isOpera){flashVer=ControlVersion()}}}}}return flashVer}function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true}else{if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer)){return true}else{if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision)){return true}}}}}return false}}}function AC_AddExtension(src,ext){if(src.indexOf("?")!=-1){return src.replace(/\?/,ext+"?")}else{return src+ext}}function AC_Generateobj(objAttrs,params,embedAttrs){var str="";if(isIE&&isWin&&!isOpera){str+="<object ";for(var i in objAttrs){str+=i+'="'+objAttrs[i]+'" '}str+=">";for(var i in params){str+='<param name="'+i+'" value="'+params[i]+'" /> '}str+="</object>"}else{str+="<embed ";for(var i in embedAttrs){str+=i+'="'+embedAttrs[i]+'" '}str+="> </embed>"}document.write(str)}function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_SW_RunContent(){var ret=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs.src=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1]}}ret.objAttrs.classid=classid;if(mimeType){ret.embedAttrs.type=mimeType}return ret};
//AC_OETags
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version")}catch(e){}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version")}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version")}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0"}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11"}catch(e){version=-1}}return version}function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4]}if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1)}else{if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"))}}}var flashVer=versionMajor+"."+versionMinor+"."+versionRevision}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){flashVer=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){flashVer=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){flashVer=2}else{if(isIE&&isWin&&!isOpera){flashVer=ControlVersion()}}}}}return flashVer}function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true}else{if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer)){return true}else{if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision)){return true}}}}}return false}}}function AC_AddExtension(src,ext){if(src.indexOf("?")!=-1){return src.replace(/\?/,ext+"?")}else{return src+ext}}function AC_Generateobj(objAttrs,params,embedAttrs){var str="";if(isIE&&isWin&&!isOpera){str+="<object ";for(var i in objAttrs){str+=i+'="'+objAttrs[i]+'" '}for(var i in params){str+='><param name="'+i+'" value="'+params[i]+'" /> '}str+="></object>"}else{str+="<embed ";for(var i in embedAttrs){str+=i+'="'+embedAttrs[i]+'" '}str+="> </embed>"}document.write(str)}function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs.src=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":ret.objAttrs[args[i]]=args[i+1];break;case"id":case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1]}}ret.objAttrs.classid=classid;if(mimeType){ret.embedAttrs.type=mimeType}return ret};