(function() {
	window.jspackager = {};
	jspackager.devmode = false;
	var tmpList = {"__basic-behaviour":["ui.core","ui.a11y.ext","ui.scroller","browserupdate","modernizr.custom.11681"]};
	jspackager.jsList = (window.jQuery) ? jQuery.extend(jspackager.jsList || {}, tmpList) : tmpList;
	var basicScript = ["__basic-behaviour"], srcMatch = /(.*)__basic-behaviour\.js/, querys = location.search, hash = location.hash, scripts, src, path;
	function loadModule(path) {
		for ( var j = 0, leng = basicScript.length; j < leng; j = j + 1) {
			if (jspackager.querys['mgnl']) {
				basicScript[j] = basicScript[j].replace(/\./g, '-');
			}
			document.write('<script src="' + path + basicScript[j] + '.js"><\/script>');
		}
	}
	querys = querys.replace(/^\?/, '').split('&');
	var obj = {}, tmp;
	for ( var i = querys.length; i--;) {
		if (querys[i] === '') {
			continue;
		}
		tmp = querys[i].split('=');
		obj[tmp[0]] = (tmp[1] === undefined || tmp[1] === null) ? true : tmp[1];
	}
	jspackager.querys = obj;
	if (hash === '#devmode') {
		basicScript = jspackager.jsList[basicScript];
		jspackager.devmode = true;
	} else {
		if (jspackager.querys['devmode']) {
			basicScript = jspackager.jsList[basicScript];
			jspackager.devmode = true;
		}
	}
	if (jspackager.devmode) {
		scripts = document.getElementsByTagName('script');
		for ( var i = 0, len = scripts.length; i < len; i++) {
			src = scripts[i].getAttribute('src');
			if (src) {
				path = srcMatch.exec(src);
				if (path && path[0] && path[1]) {
					jspackager.jsPath = path[1];
					loadModule(path[1]);
				}
			}
		}
	}
})();;if(!window.jspackager || !jspackager.devmode) {jQuery.ui||function(a){function b(e,b,c,d){function g(c){c=a[e][b][c]||[];return typeof c=="string"?c.split(/,?\s+/):c}var h=g("getter");d.length==1&&typeof d[0]=="string"&&(h=h.concat(g("getterSetter")));return a.inArray(c,h)!=-1}var c=a.fn.remove,d=a.browser.mozilla&&parseFloat(a.browser.version)<1.9;a.ui={version:"1.7.2",plugin:{add:function(e,b,c){var e=a.ui[e].prototype,d;for(d in c)e.plugins[d]=e.plugins[d]||[],e.plugins[d].push([b,c[d]])},call:function(a,b,c){if((b=a.plugins[b])&&a.element[0].parentNode)for(var d=
0;d<b.length;d++)a.options[b[d][0]]&&b[d][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(e,b){if(a(e).css("overflow")=="hidden")return!1;var c=b&&b=="left"?"scrollLeft":"scrollTop",d=!1;if(e[c]>0)return!0;e[c]=1;d=e[c]>0;e[c]=0;return d},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(e,b,c,d,g,h){return a.ui.isOverAxis(e,c,g)&&a.ui.isOverAxis(b,d,h)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=a.attr,g=a.fn.removeAttr,j=/^aria-/,h=/^wairole:/;a.attr=function(a,b,c){var d=c!==void 0;return b=="role"?d?f.call(this,a,b,"wairole:"+c):(f.apply(this,arguments)||"").replace(h,""):j.test(b)?d?a.setAttributeNS("http://www.w3.org/2005/07/aaa",
b.replace(j,"aaa:"),c):f.call(this,a,b.replace(j,"aaa:")):f.apply(this,arguments)};a.fn.removeAttr=function(a){return j.test(a)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",a.replace(j,""))}):g.call(this,a)}}a.fn.extend({remove:function(){a("*",this).add(this).each(function(){a(this).triggerHandler("remove")});return c.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})},scrollParent:function(){var b;b=a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,
"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b}});a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){var c=b.nodeName.toLowerCase(),d=a.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(c)?!b.disabled:"a"==c||"area"==c?b.href||!isNaN(d):!isNaN(d))&&!a(b)["area"==c?"parents":"closest"](":hidden").length},tabbable:function(b){var c=a.attr(b,"tabindex");
return(isNaN(c)||c>=0)&&a(b).is(":focusable")}});a.widget=function(e,c){var d=e.split(".")[0],e=e.split(".")[1];a.fn[e]=function(c){var g=typeof c=="string",h=Array.prototype.slice.call(arguments,1);if(g&&c.substring(0,1)=="_")return this;if(g&&b(d,e,c,h)){var j=a.data(this[0],e);return j?j[c].apply(j,h):void 0}return this.each(function(){var b=a.data(this,e);!b&&!g&&a.data(this,e,new a[d][e](this,c))._init();b&&g&&a.isFunction(b[c])&&b[c].apply(b,h)})};a[d]=a[d]||{};a[d][e]=function(b,c){var g=this;
this.namespace=d;this.widgetName=e;this.widgetEventPrefix=a[d][e].eventPrefix||e;this.widgetBaseClass=d+"-"+e;this.options=a.extend(!0,{},a.widget.defaults,a[d][e].defaults,a.metadata&&a.metadata.get(b)[e],c);this.element=a(b).bind("setData."+e,function(a,c,e){if(a.target==b)return g._setData(c,e)}).bind("getData."+e,function(a,c){if(a.target==b)return g._getData(c)}).bind("remove",function(){return g.destroy()})};a[d][e].prototype=a.extend({},a.widget.prototype,c);a[d][e].getterSetter="option"};
a.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(b,c){var d=b,g=this;if(typeof b=="string"){if(c===void 0)return this._getData(b);d={};d[b]=c}a.each(d,function(a,b){g._setData(a,b)})},_getData:function(a){return this.options[a]},_setData:function(a,b){this.options[a]=b;a=="disabled"&&this.element[b?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",b)},enable:function(){this._setData("disabled",!1)},disable:function(){this._setData("disabled",!0)},_trigger:function(b,c,d){var g=this.options[b],b=b==this.widgetEventPrefix?b:this.widgetEventPrefix+b,c=a.Event(c);c.type=b;if(c.originalEvent)for(var b=a.event.props.length,h;b;)h=a.event.props[--b],c[h]=c.originalEvent[h];this.element.trigger(c,d);return!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}};
a.widget.defaults={disabled:!1};a.ui.mouse={_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(a){if(b._preventClickEvent)return b._preventClickEvent=!1,a.stopImmediatePropagation(),!1});if(a.browser.msie)this._mouseUnselectable=this.element.attr("unselectable"),this.element.attr("unselectable","on");this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);a.browser.msie&&
this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(!b.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(b);this._mouseDownEvent=b;var c=this,d=b.which==1,g=typeof this.options.cancel=="string"?a(b.target).parents().add(b.target).filter(this.options.cancel).length:!1;if(!d||g||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=
!0},this.options.delay);if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(b)!==!1,!this._mouseStarted))return b.preventDefault(),!0;this._mouseMoveDelegate=function(a){return c._mouseMove(a)};this._mouseUpDelegate=function(a){return c._mouseUp(a)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.browser.safari||b.preventDefault();return b.originalEvent.mouseHandled=!0}},_mouseMove:function(b){if(a.browser.msie&&
!b.button)return this._mouseUp(b);if(this._mouseStarted)return this._mouseDrag(b),b.preventDefault();if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1)?this._mouseDrag(b):this._mouseUp(b);return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted)this._mouseStarted=!1,this._preventClickEvent=
b.target==this._mouseDownEvent.target,this._mouseStop(b);return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}};a.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);(function(a){if(!window.console)window.console={};if(!console.log)console.log=function(){};var b=/h\d/,c=/input|select|button|textarea/,d=a.expr.filters;d.srfocusable=function(a){var d=a.nodeName.toLowerCase();return b.test(d)||d==="area"||d==="a"&&a.href||c.test(d)&&!a.disabled&&a.type!=="hidden"};var f=["p","li","dt","dd","blockquote","address","th","td","dfn"];d.semanticAtom=function(b){var c=b.nodeName.toLowerCase();return d.srfocusable(b)||a.inArray(c,f)!==-1};a.fn.firstExpOf=function(b){for(var c=
a("*",this),g=c.length,f,k=0;k<g;k++)if(d[b](c[k],k)){f=[c[k]];break}return this.pushStack(f)};var g=location.href.split("#")[0];a.fn.getHrefHash=function(){var a="";this[0]&&(a=this[0].href.replace(g,""));return a};a.fn.lastExpOf=function(b){for(var c=a("*",this),g=c.length,f;g--;)if(d[b](c[i],i)){f=[c[g]];break}return this.pushStack(f)}})(jQuery);
(function(a){function b(){c=!1;setTimeout(function(){c=!0},1)}var c=!0;a.each(["focusin","focusout"],function(d,f){a.event.special["dom"+f]={setup:function(){a(this).bind(f,a.event.special["dom"+f].handler);return!0},teardown:function(){a(this).unbind(f,a.event.special["dom"+f].handler);return!0},handler:function(d){var j;j=d;var h=j.originalEvent;j.target===document||j.target===window||a.nodeName(j.target,"body")||a.nodeName(j.target,"html")?(b(),j=!1):j=h?c&&j.target&&j.target.nodeType===1&&(h.explicitOriginalTarget&&
h.explicitOriginalTarget&&h.explicitOriginalTarget!==window&&h.explicitOriginalTarget!==document&&!a(h.explicitOriginalTarget).is("html, body")||h.toElement||h.fromElement)?!0:!1:!0;if(j)return d=a.extend({},d,{type:"dom"+f}),a.event.handle.call(this,d)}}})})(jQuery);
(function(a){var b=a("html").attr("dir")==="rtl"?"right: -9999em;":"left: -99999em;",c="position: absolute; width: 1px; height: 1px; overflow: hidden;margin: 0; padding: 0;top: 0;"+b,d=parseInt(a.browser.version,10);a.support.waiAria=!a.browser.msie||d>7;a.notIE6=!a.browser.msie||d>6;a.browser.lteIE6=a.browser.msie&&d<7;a.browser.lteIE7=a.browser.msie&&d<8;a.browser.lteIE8=a.browser.msie&&d<9;a(function(){function c(a,b){if(h.cssRules||h.rules)h.insertRule?h.insertRule(a+" {"+b+";}",h.cssRules.length):
h.addRule&&h.addRule(a,b)}var d=document.createElement("style"),h;d.setAttribute("type","text/css");d=a(d).prependTo("head");h=document.styleSheets[0];c(".a11y-js-overflow","overflow:visible !important");c(".a11y-hidden","position:absolute");c(".a11y-hidden",b.replace(";",""));a.cssRule={add:c}});a.each({focus:"focusin",blur:"focusout"},function(b,c){a.event.special[c]={setup:function(){if(a.browser.msie)return!1;this.addEventListener(b,a.event.special[c].handler,!0)},teardown:function(){if(a.browser.msie)return!1;
this.removeEventListener(b,a.event.special[c].handler,!0)},handler:function(b){arguments[0]=a.event.fix(b);arguments[0].type=c;return a.event.handle.apply(this,arguments)}}});a.ui=a.ui||{};a.ui.userMode=function(){function b(){e=e||a('<div style="'+c+'"></div>').appendTo("body");var g=a.curCSS(e.css({backgroundColor:"#000000"})[0],"backgroundColor",!0),h=a.curCSS(e.css({backgroundColor:"#ffffff"})[0],"backgroundColor",!0),g=g===h||h==="transparent";g!=d&&(d=g,a.event.trigger({type:"usermode",disabled:!d,
enabled:d}));return d}var d,h,e;a.event.special.usermode={add:function(c){b();var h=this;setTimeout(function(){a(h).trigger({type:"usermode",disabled:!d,enabled:d})},0);return c},setup:function(){},teardown:function(){},handler:function(){}};return{get:b,init:function(){b();clearInterval(h);h=setInterval(b,3E3)}}}();a.fn.userMode=function(a){return this[a?"bind":"trigger"]("usermode",a)};a(function(){a("html").userMode(function(b){a(this)[b.enabled?"addClass":"removeClass"]("hcm")});a.ui.userMode.init()});
(function(a){function b(d){if(!c&&(!d.keyCode||d.keyCode===a.ui.keyCode.ENTER))return c=!0,setTimeout(function(){c=!1},1),a.event.special.ariaclick.handler.apply(this,arguments);else if(c&&d.type=="click")return d.preventDefault(),!1}var c=!1;a.event.special.ariaclick={setup:function(){a(this).bind("click keydown",b);return!0},teardown:function(){a(this).unbind("click keydown",b);return!0},handler:function(b){b.type="ariaclick";return a.event.handle.apply(this,arguments)}}})(jQuery);a.bodyDefaultFontsize=
10;a.testEm=function(){function c(){var b=h.width(),d;d={type:"emchange",emPx:e,oldEmPx:f};e!==b&&(e=b,a.event.trigger(d));e=f=b;return d}function d(b){for(var b=b.emPx-a.bodyDefaultFontsize,c=b>0?"em-increased-":"em-decreased-",g=[],b=Math.abs(b)+1;b-- >1;)g.push(c+b);k[0].className=a.grep(k[0].className.split(" "),function(a){return a.indexOf("em-increased-")!==0&&a.indexOf("em-decreased-")!==0}).concat(g).join(" ")}var h=a('<div style="width: 1em; position: absolute; padding: 0; border: none; margin: 0; visibility: hidden;top: 0;'+
b+'" />'),e=0,f=0,k=a(document.documentElement);a(function(){setTimeout(function(){h.appendTo("body");d(c());k.bind("emchange",d);setInterval(c,999)},0)});return c}();(function(a){function b(){d=!1;setTimeout(function(){d=!0},1)}function c(a){a.is("a[href], area, input, button, select, textarea")||a.css({outline:"none"}).attr({tabindex:"-1"});return a}var d=!0,f=0,k=document,l;a(document).bind("mousedown click",b).bind("domfocusin",function(b){var c=a(b.target).addClass("a11y-focus");k=b.target;f=
(new Date).getTime();d&&c.addClass("a11y-focus-key").trigger("keyfocus")}).bind("focusout",function(b){a(b.target).removeClass("a11y-focus-key a11y-focus-widget a11y-focus")});a.fn.setFocus=function(d,e){if(!this[0])return this;var n=this[0],r=a(n),m={},o=1,t=function(){var a=k;setTimeout(function(){b();try{n.focus(),r.addClass("a11y-focus-widget"),m.complete.apply(n,arguments)}catch(a){}},o);try{o>9&&a.blur&&a.focus&&(a.blur(),b(),s&&document.focus&&document.focus(),a.focus())}catch(c){}},v=function(){m.parent.queue(function(){t();
m.parent.dequeue()})},s;if(isFinite(d)){if(m.time=d,e!==void 0)m.addTabindex=e}else m=d;m=a.extend({},a.fn.setFocus.defaults,m);s=m.compMode&&a.unique(r.add(k))[0]===k;m.addTabindex&&c(r);if(m.compMode&&(s||(new Date).getTime()-f>180))o=120,m.time=Math.max(m.time-o,120);a.ui.SR.update();clearTimeout(l);l=setTimeout(m.parent?v:t,m.time);return this};a.fn.setFocus.defaults={time:200,addTabindex:!1,parent:!1,compMode:!0,complete:function(){}}})(jQuery);a.fn.ariaHide=function(){a.fn.hide.apply(this,arguments);
return this.attr({"aria-hidden":"true"})};a.fn.ariaShow=function(){a.fn.show.apply(this,arguments);return this.attr({"aria-hidden":"false"})};a.ui.SR=function(){function b(){d&&(d[0].setAttribute("value",""+ ++h),setTimeout(function(){d[0].setAttribute("value",""+ ++h)},1))}var d,h=0,e,f,k,l;return{update:b,alert:function(a){clearTimeout(f);e.ariaHide().html(a).find("*").attr({role:"presentation"}).end().ariaShow();f=setTimeout(function(){e.ariaHide().empty()},999)},giveStatus:function(b){b=a("<div>"+
b+"</div>").find("*").attr({role:"presentation"}).end();k.html(b);clearTimeout(l);l=setTimeout(function(){k.empty()},999)},init:function(){e=a('<div class="a11y-hidden" role="alert" style="'+c+'" />').ariaHide().appendTo("body");k=a('<div class="a11y-hidden" style="'+c+'"><div aria-live="polite" relevant="additions text" /> </div>').appendTo("body").find("div");d=a('<form role="presentation" action="#" class="aural" style="'+c+'"><input name="sr-update" id="sr-update" type="hidden" value="'+h+'" /></form>').appendTo("body").find("input").ajaxComplete(b)}}}();
a(a.ui.SR.init);if(!a.fn.getID){var f=(new Date).getTime();a.fn.getID=function(a){function b(){var a=this.getAttribute("id");a||(a="ID-"+f++,this.setAttribute("id",a));return a}if(this[0])return a&&this.each(b),b.call(this[0])}}a.each({labelWith:"aria-labelledby",describeWith:"aria-describedby",ownsThis:"aria-owns",controlsThis:"aria-controls",activateThis:"aria-activedescendant"},function(b,c){a.fn[b]=function(b){return this.attr(c,a(b).getID())}});a.fn.inOut=function(b,c,d){var d=a.extend({},a.fn.inOut.defaults,
d),e="mouseenter mouseleave focusin focusout";d.useEventTypes==="mouse"?e="mouseenter mouseleave":d.useEventTypes==="focus"&&(e="focusin focusout");this.each(function(){a(this).data("inOutData",{inEvents:0})})[d.bindStyle](e,function(e){var f,l,u=this,q;/focusin|mouseenter/.test(e.type)?(f=b,l=[1,"in",!0]):(f=c,l=[-1,"out",!1]);var n=a.data(this,"inOutData");clearTimeout(n.inOutTimer);n.inEvents=Math.max(n.inEvents+l[0],0);n.inOutTimer=setTimeout(function(){if(l[2]!=n.inOutState&&(l[2]||!d.bothOut||
!n.inEvents))n.inOutState=l[2],q=a.Event(l[1]),q.originalEvent=e,f.call(u,q)},/focus/.test(e.type)?d.keyDelay:d.mouseDelay)});return this};a.fn.inOut.defaults={mouseDelay:0,bindStyle:"bind",keyDelay:1,bothOut:!1,useEventTypes:"both"};a.fn.slideParentDown=function(b){var b=a.extend({},a.fn.slideParentDown.defaults,b),c=b.complete;return this.each(function(){var d=a(this).css({display:"block"}).parent().css({height:""}),e=d.height();d.css({overflow:"hidden",height:"0px"});d.animate({height:e},a.extend({},
b,{complete:function(){d.css({height:"",overflow:""});c.apply(this,arguments)}}))})};a.fn.slideParentDown.defaults={duration:400,complete:function(){}};a.fn.slideParentUp=function(b){var b=a.extend({},a.fn.slideParentUp.defaults,b),c=b.complete;return this.each(function(){var d=a(this),e=d.parent().css({overflow:"hidden"}),f={height:"0px"};if(a.browser.mozilla&&b.flickrFix)f.flickrFix=Math.random()*2;e.animate(f,a.extend({},b,{complete:function(){d.css({display:"none"});e.css({height:"",overflow:"",
display:""});c.apply(this,arguments)}}))})};a.fn.slideParentUp.defaults={duration:400,complete:function(){},flickrFix:!1}})(jQuery);(function(a){a.widget("ui.scroller",{_init:function(){var b=this.element[0],c=this.options,d=this,f=c.animateOptions.complete;c.animateOptions.complete=function(){f&&a.isFunction(f)&&f.call(this,d);d.propagate("end")};c.direction=c.direction=="vertical"?{scroll:"scrollTop",outerD:"outerHeight",dim:"height",dir:"Top"}:{scroll:"scrollLeft",outerD:"outerWidth",dim:"width",dir:"Left"};this.moveElem=a(c.moveWrapper,b);this.atomElem=a(c.atoms,b);this.hidingWrapper=a(c.hidingWrapper,b);this.nextLink=a(c.nextLink,
b);this.prevLink=a(c.prevLink,b);this.oldAtomPos=this.oldPosition=this.percentage=this.atomPos=this.position=0;if(c.hidingHeight||c.hidingWidth)b=c.hidingHeight?{height:c.hidingHeight}:{},c.hidingWidth&&(b=a.extend(b,{width:c.hidingWidth})),this.hidingWrapper.css(b);this.selectedFocus=!1;if(a.fn.setFocus&&a.fn.closest){var g={};c.direction.dir==="Top"?(g[a.ui.keyCode.UP]="prev",g[a.ui.keyCode.DOWN]="next"):(g[a.ui.keyCode.LEFT]="prev",g[a.ui.keyCode.RIGHT]="next");this.moveElem.bind("keyfocus",function(b){b=
a(b.target).closest(c.atoms);b[0]&&d.scrollIntoView(b)}).bind("focusin",function(b){b=a(b.target).closest(c.atoms);d.selectedFocus=b[0]?b:!1}).bind("focusout",function(){d.selectedFocus=!1}).bind("keydown",function(b){if(d.selectedFocus!==!1&&g[b.keyCode]){var a=d.selectedFocus[g[b.keyCode]](c.atoms);a&&a[0]?(b.preventDefault(),a.setFocus(0,!0),d.scrollIntoView(a)):d.isSliding&&b.preventDefault()}})}this.dims=[0];this.hidingWrapper[c.direction.scroll](0);this.minPos=0;this.update();c.recalcStageOnresize&&
a(window).bind("resize",function(){setTimeout(function(){d.stageWidthUpdate.call(d)},0)});c.diashow&&(this.startDiashow(),this.element.bind("mouseenter focusin",function(){clearInterval(d.diaTimer);setTimeout(function(){clearInterval(d.diaTimer)},99)}),c.restartDiaShow&&this.element.bind("mouseleave focusout",function(){d.startDiashow.call(d)}));c.enableMwheel&&a.fn.mwheelIntent&&this.hidingWrapper.mwheelIntent(function(b,a){d.stopDiashow.call(d);a=a<0?"-":"+";if(d.position>=d.maxPos&&a==="-"||a===
"+"&&d.position<=d.minPos)return!d.isSliding;d.moveTo(a+"atom1");return!1});b=function(){var b=a.inArray(this,d.prevLink)!==-1?"+":"-";d.stopDiashow.call(d);d.moveTo(b+c.moveStep);return!1};this.nextLink.bind("click.uiscroller",b);this.prevLink.bind("click.uiscroller",b);if(a.browser.msie&&parseInt(a.browser.version,10)<7){var b=function(){a(this).addClass("over")},j=function(){a(this).removeClass("over")};this.nextLink.hover(b,j);this.prevLink.hover(b,j)}c.defaultSelected&&this.moveTo("goTo"+c.defaultSelected,
!1);this.updateOnImgLoad();this.propagate("init")},stageWidthUpdate:function(){this.dims[1]=this.hidingWrapper[this.options.direction.dim]();this.maxPos=this.dims[0]-this.dims[1];this.updatePosition_Controls()},createPagination:function(){var b="<ul>",c=this,d,f=this.options;this.pagination=a(f.pagination,this.element[0]);this.atomElem.each(function(c){d=f.paginationAtoms.replace(/\$number/g,c+1);b+=f.paginationTitleFrom?d.replace(/\$title/g,a(f.paginationTitleFrom,this).text()):d});this.pagination.html(b+
"</ul>").find("a").each(function(b){a(this).click(function(){c.stopDiashow.call(c);c.moveTo.call(c,"goTo"+b);return!1})})},getIndexNearPos:function(b){for(var a=this.dims.length;a--;)if(b>=this.dims[a])return a;return!1},inView:function(b){var a=this.options.direction,d=this.dims[1],f=b[a.outerD](),g=this.hidingWrapper["scroll"+a.dir](),b=b[0]["offset"+a.dir];return g>b||d<f+b-g?b:!1},scrollIntoView:function(a){a=this.inView(a);a!==!1&&this.moveTo(a)},_setData:function(b,c){var d=this.options;switch(b){case "enableMwheel":!c&&
d.enableMwheel&&this.hidingWrapper.unmwheelIntent();break;case "addSubPixel":if(d.addSubPixel!==c)this.dims[0]-=d.addSubPixel,d.addSubPixel=c,this.dims[0]+=d.addSubPixel,this.update()}a.widget.prototype._setData.apply(this,arguments)},startDiashow:function(){var a=this;this.diaTimer=null;clearInterval(this.diaTimer);this.diaTimer=setInterval(function(){a.position===a.maxPos&&a.options.type!=="carousel"?a.moveTo(0,!1):a.moveTo("-"+a.options.moveStep)},this.options.diashow)},stopDiashow:function(){this.element.unbind(".diashow");
clearInterval(this.diaTimer)},updateOnImgLoad:function(){var b=0,c=this;a("img",this.element).each(function(){this.complete||(b++,a(this).one("load",function(){b--;b||c.update(!0)}))})},update:function(b){var c,d=this.options,f=0;if(b)this.dims=[0];this.dims[1]=this.hidingWrapper.css({overflow:"hidden",position:"relative"})[d.direction.dim]();for(var g=this.dims.length-2,j=this.atomElem.length;g<j;g++)c=a(this.atomElem[g]),this.dims.push(this.dims[0]),this.dims[0]+=c[d.direction.outerD]({margin:!0});
d.addSubPixelPerTeaser&&(f=d.addSubPixelPerTeaser*this.atomElem.length);this.dims[0]+=d.addSubPixel+f;this.maxPos=this.dims[0]-this.dims[1];c={};c[d.direction.dim]=this.dims[0]+"px";this.moveElem.css(c);d.pagination&&this.createPagination(b);this.updatePosition_Controls()},updatePosition_Controls:function(b){function c(a,b){return a[(b?{style:"addClass"}:{style:"removeClass"}).style](d.activeLinkClass)}var d=this.options,b=isNaN(b)?parseInt(this.hidingWrapper[d.direction.scroll](),10):b;if(b!==this.position){this.percentage=
b/(this.maxPos/100);this.oldPosition=this.position;this.oldAtomPos=this.atomPos;this.position=b;var f=this.getIndexNearPos(this.position);this.atomPos=f?f-2:0}this.percentage=b/(this.maxPos/100);b<=this.minPos&&this.prevLink.is("."+d.activeLinkClass)?(d.linkFn.call(this.prevLink,"hide",this.ui()),c(this.prevLink)):b>this.minPos&&!this.prevLink.is("."+d.activeLinkClass)&&(d.linkFn.call(this.prevLink,"show",this.ui()),c(this.prevLink,!0));b>=this.maxPos&&this.nextLink.is("."+d.activeLinkClass)?(d.linkFn.call(this.nextLink,
"hide",this.ui()),c(this.nextLink)):b<this.maxPos&&!this.nextLink.is("."+d.activeLinkClass)&&(d.linkFn.call(this.nextLink,"show",this.ui()),c(this.nextLink,!0));this.pagination&&(b=this.pagination.find("li").filter("."+d.activePaginationClass).removeClass(d.activePaginationClass),f=b.end().eq(this.atomPos).addClass(d.activePaginationClass),a.isFunction(d.paginationFn)&&(d.paginationFn.call(b,"inactive"),d.paginationFn.call(f,"active")))},getNummericPosition:function(a){var c=!1,d=this.dims[this.dims.length-
1];a.indexOf("goTo")===0?(c=parseInt(/(\d+)$/.exec(a)[0],10)+2,a=this.dims[c]):a.indexOf("centerTo")===0?(c=parseInt(/(\d+)$/.exec(a)[0],10)+2,a=this.dims[c]-this.dims[1]/2+this.atomElem.filter(":eq("+c+")")[this.options.direction.outerD]()/2):a=="-atom"||a=="-atom1"?(c=this.atomPos+3,a=this.dims[c]||this.dims[c]===0?this.dims[c]:d):a=="+atom"||a=="+atom1"?a=this.atomPos?this.dims[this.atomPos+1]:0:a.indexOf("atom")==1?(c=parseInt(/(\d+)$/.exec(a)[0],10),a.indexOf("-")===0?(c+=2,a=this.dims[this.atomPos+
c]?this.dims[this.atomPos+c]:d):(c-=2,a=this.atomPos-c>1&&this.dims[this.atomPos-c]?this.dims[this.atomPos-c]:0)):a.indexOf("+")===0||a.indexOf("-")===0?(c=a.slice(0,1),a=parseInt(a.slice(1),10),a=c=="-"?this.position+a:this.position-a):(c=/(\d+)%$/.exec(a))&&c[1]&&(a=this.maxPos/100*parseFloat(a));if(this.options.stickyFirstLast)(a-this.maxPos)*-1<this.atomElem.filter(":last")[this.options.direction.outerD]()?a=this.maxPos:a<this.atomElem[this.options.direction.outerD]()&&(a=0);return a},moveTo:function(b,
c,d){b=typeof b==="string"||isNaN(b)?this.getNummericPosition(b):b;b=b<=0?0:b>=this.maxPos?this.maxPos:b;if(b===this.position)return!1;var f=this.options,g=f.direction.scroll;this.updatePosition_Controls(b);this.propagate("start",this.oldPosition);(c=typeof c=="undefined"?f.animate:c)?(d=d||{},d=a.extend({},f.animateOptions,{slide:this},d),b=g=="scrollTop"?{scrollerTop:b}:{scrollerLeft:b},this.hidingWrapper.stop().animate(b,d)):(this.hidingWrapper.stop()[g](b),this.propagate("end"))},ui:function(){return{instance:this,
options:this.options,pos:this.position,percentPos:this.percentage,oldIndex:this.oldAtomPos,newIndex:this.atomPos,size:this.dims.length-2}},propagate:function(b,c){var d=c||c===0?a.extend({},this.ui(),{pos:c,percentPos:c/(this.maxPos/100)}):this.ui();if(b==="start")this.isSliding=!0;else if(b==="end")this.isSliding=!1;this.element.triggerHandler("uiscroller"+b,[d]);this.options[b]&&this.options[b].call(this.element[0],{type:"uiscroller"+b},d)}},!0);a.ui.scroller.defaults={hidingWrapper:"div.rack",
moveWrapper:"div.rack-design",atoms:"div.teaser",nextLink:"a.next",prevLink:"a.prev",activeLinkClass:"show",stickyFirstLast:!0,linkFn:function(){},moveStep:"atom",direction:"horizontal",hidingWidth:!1,hidingHeight:!1,animate:!0,animateOptions:{duration:600,complete:function(){}},enableMwheel:!0,diashow:!1,restartDiaShow:!0,addSubPixel:0,recalcStageOnresize:!0,bindStyle:"bind",pagination:!1,paginationAtoms:'<li class="pa-$number"><a href="#">$number</a></li>',paginationTitleFrom:!1,activePaginationClass:"on",
paginationFn:!1,addSubPixelPerTeaser:0.9};a.each({scrollerLeft:"scrollLeft",scrollerTop:"scrollTop"},function(b,c){a.fx.step[b]=function(a){if(a.now||a.now===0){var b=a.options.slide;if(b){if(!a.scrollerInit)a.scrollerInit=!0,a.startPos=b.hidingWrapper[c]();a=a.pos*(a.end-a.startPos)+a.startPos;b.hidingWrapper[c](a);b.propagate("slide",a)}}}});a.ui.scroller.prototype.init=a.ui.scroller.prototype._init})(jQuery);(function(a){var b=-1,c=a.browser.version.replace(/\./g,function(){b++;return b?"":"."}),c=parseFloat(c,10);a.browser.versionNumber=isNaN(c)?parseFloat(a.browser.version,10):c;var d=(new Date).getTime();a.widget("ui.browserupdate",{_init:function(){var b=this.options,c=this;this.element.addClass("browser-update-"+d);if(b.devMode||!a.cookie||!a.cookie("browserUpdate"))a.each(b.classes,function(d){if((b.devMode===!0||!b.devMode)&&a.browser[d]||b.devMode===d)return(a.browser.versionNumber<b.version[d]||
b.devMode)&&c.showUpdateNotice(d),!1}),a.cookie&&a.cookie("browserUpdate","true",b.cookie)},showUpdateNotice:function(){this._trigger("showupdate",{type:"toold"},{instance:this})}});a.ui.browserupdate.defaults={cookie:{path:"/"},devMode:!1,classes:{mozilla:"mozilla",opera:"opera",webkit:"safari",msie:"msie"},version:{msie:(new Date).getFullYear()>2011?8:7,mozilla:1,webkit:530,opera:11.5},name:{msie:"Internet Explorer",mozilla:"Firefox",opera:"Opera",webkit:"Safari"},urls:{msie:"http://www.microsoft.com/germany/windows/internet-explorer/default.aspx",
mozilla:"http://de.www.mozilla.com/de/",opera:"http://www.opera.com/browser/",webkit:"http://www.apple.com/safari/"},texts:{general:'<div class="browsernotice">Ihr <span class="{browserclass} browser-icon">{browsername}</span> ist veraltet. Mit einer aktuellen Version surfen Sie wesentlich sicherer, schneller und komfortabler. <a href="{browserurl}" title="Aktuelle Version von {browsername} herunterladen" target="_blank">Holen Sie sich jetzt die aktuelle Version</a>.</div>',allBrowser:"<h4>\u00dcbersicht aller aktuellen Browser</h4>",
download:'<a href="{browserurl}" class="{browserclass}" title="aktuelle Version von {browsername} herunterladen" target="_blank">{browsername}</a>',gcf:'<div class="gcf-text">Wenn sie keine Administratorenrechte haben, k\u00f6nnen sie ihren <a href="http://google.com/chromeframe" target="_blank" class="gcf-link">Browser mit Google chrome frame verbessern</a>.'},template:'<div class="browser-update-box">{general} {download} {gcf}</div>',useGCF:!0,gcfUrl:"http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js",
gcfCFG:{mode:"inline",oninstall:function(){a(".browser-update-"+d+" div.gcf-text").html("Bitte beachten Sie, dass Sie nach der Installation von Chrome frame eventuell ihren Internt Explorer neustarten m\u00fcssen")}}}})(jQuery);window.Modernizr=function(a,b,c){function d(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}var a={},f=b.documentElement;b.head||b.getElementsByTagName("head");var g=b.createElement("modernizr"),j=g.style,h=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),g={},b=[],e,p={}.hasOwnProperty,k;typeof p!==c&&typeof p.call!==c?k=function(a,b){return p.call(a,b)}:k=function(a,b){return b in a&&typeof a.constructor.prototype[b]===c};g.opacity=function(){var a=h.join("opacity:.55;")+"";j.cssText=
a;return/^0.55$/.test(j.opacity)};g.csstransforms=function(){return!!d(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};for(var l in g)k(g,l)&&(e=l.toLowerCase(),a[e]=g[l](),b.push((a[e]?"":"no-")+e));j.cssText="";g=null;a._version="2.0.6";a._prefixes=h;a.testProp=function(a){return d([a])};f.className=f.className.replace(/\bno-js\b/,"")+(" js "+b.join(" "));return a}(this,this.document);
}
