/* Modernizr 2.6.2 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-touch-mq-cssclasses-teststyles-prefixes */ ;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(m.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={},o={},p={},q=[],r=q.slice,s,t=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},u=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return t("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=r.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(r.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(r.call(arguments)))};return e}),n.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:t(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c};for(var C in n)w(n,C)&&(s=C.toLowerCase(),e[s]=n[C](),q.push((e[s]?"":"no-")+s));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,e._version=d,e._prefixes=m,e.mq=u,e.testStyles=t,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+q.join(" "):""),e}(this,this.document); function log($string) { if ($tq_debug) { console.log($string); } } // yepnope.js // Version - 1.5.4pre mit Browser-Sniffing aus 1.0.2 // // http://yepnopejs.com/ // https://github.com/SlexAxton/yepnope.js/ (function(window,doc,undef){var docElement=doc.documentElement,sTimeout=window.setTimeout,firstScript=doc.getElementsByTagName("script")[0],toString={}.toString,execStack=[],started=0,noop=function(){},isGecko=("MozAppearance" in docElement.style),isGeckoLTE18=isGecko&&!!doc.createRange().compareNode,isGeckoGT18=isGecko&&!isGeckoLTE18,insBeforeObj=isGeckoLTE18?docElement:firstScript.parentNode,isOpera=window.opera&&toString.call(window.opera)=="[object Opera]",isWebkit=("webkitAppearance" in docElement.style),isNewerWebkit=isWebkit&&"async" in doc.createElement("script"),strJsElem=isGecko?"object":(isOpera||isNewerWebkit)?"img":"script",strCssElem=isWebkit?"img":strJsElem,isArray=Array.isArray||function(obj){return toString.call(obj)=="[object Array]"},isObject=function(obj){return Object(obj)===obj},isString=function(s){return typeof s=="string"},isFunction=function(fn){return toString.call(fn)=="[object Function]"},readFirstScript=function(){if(!firstScript||!firstScript.parentNode){firstScript=doc.getElementsByTagName("script")[0]}},globalFilters=[],scriptCache={},prefixes={timeout:function(resourceObj,prefix_parts){if(prefix_parts.length){resourceObj["timeout"]=prefix_parts[0]}return resourceObj}},handler,yepnope;function isFileReady(readyState){return(!readyState||readyState=="loaded"||readyState=="complete"||readyState=="uninitialized")}function injectJs(src,cb,attrs,timeout,err,internal){var script=doc.createElement("script"),done,i;timeout=timeout||yepnope["errorTimeout"];script.src=src;for(i in attrs){script.setAttribute(i,attrs[i])}cb=internal?executeStack:(cb||noop);script.onreadystatechange=script.onload=function(){if(!done&&isFileReady(script.readyState)){done=1;cb();script.onload=script.onreadystatechange=null}};sTimeout(function(){if(!done){done=1;cb(1)}},timeout);readFirstScript();err?script.onload():firstScript.parentNode.insertBefore(script,firstScript)}function injectCss(href,cb,attrs,timeout,err,internal){var link=doc.createElement("link"),done,i;timeout=timeout||yepnope["errorTimeout"];cb=internal?executeStack:(cb||noop);link.href=href;link.rel="stylesheet";link.type="text/css";for(i in attrs){link.setAttribute(i,attrs[i])}if(!err){readFirstScript();firstScript.parentNode.insertBefore(link,firstScript);sTimeout(cb,0)}}function executeStack(){var i=execStack.shift();started=1;if(i){if(i["t"]){sTimeout(function(){(i["t"]=="c"?yepnope["injectCss"]:yepnope["injectJs"])(i["s"],0,i["a"],i["x"],i["e"],1)},0)}else{i();executeStack()}}else{started=0}}function preloadFile(elem,url,type,splicePoint,dontExec,attrObj,timeout){timeout=timeout||yepnope["errorTimeout"];var preloadElem=doc.createElement(elem),done=0,firstFlag=0,stackObject={"t":type,"s":url,"e":dontExec,"a":attrObj,"x":timeout};if(scriptCache[url]===1){firstFlag=1;scriptCache[url]=[]}function onload(first){if(!done&&isFileReady(preloadElem.readyState)){stackObject["r"]=done=1;!started&&executeStack();if(first){if(elem!="img"){sTimeout(function(){insBeforeObj.removeChild(preloadElem)},50)}for(var i in scriptCache[url]){if(scriptCache[url].hasOwnProperty(i)){scriptCache[url][i].onload()}}preloadElem.onload=preloadElem.onreadystatechange=null}}}if(elem=="object"){preloadElem.data=url;preloadElem.setAttribute("type","text/css")}else{preloadElem.src=url;preloadElem.type=elem}preloadElem.width=preloadElem.height="0";preloadElem.onerror=preloadElem.onload=preloadElem.onreadystatechange=function(){onload.call(this,firstFlag)};execStack.splice(splicePoint,0,stackObject);if(elem!="img"){if(firstFlag||scriptCache[url]===2){readFirstScript();insBeforeObj.insertBefore(preloadElem,isGeckoLTE18?null:firstScript);sTimeout(onload,timeout)}else{scriptCache[url].push(preloadElem)}}}function load(resource,type,dontExec,attrObj,timeout){started=0;type=type||"j";if(isString(resource)){preloadFile(type=="c"?strCssElem:strJsElem,resource,type,this["i"]++,dontExec,attrObj,timeout)}else{execStack.splice(this["i"]++,0,resource);execStack.length==1&&executeStack()}return this}function getYepnope(){var y=yepnope;y["loader"]={"load":load,"i":0};return y}yepnope=function(needs){var i,need,chain=this["yepnope"]["loader"];function satisfyPrefixes(url){var parts=url.split("!"),gLen=globalFilters.length,origUrl=parts.pop(),pLen=parts.length,res={"url":origUrl,"origUrl":origUrl,"prefixes":parts},mFunc,j,prefix_parts;for(j=0;j