
function replaceMailToLink(e){var ext=e.childNodes[1];var contNode=e;var link='';if(ext.className=='liam'){var title=e.firstChild.nodeValue;contNode=ext;}
for(var c=0;c<contNode.childNodes.length;c++)
if(contNode.childNodes[c].nodeType==3)link+=contNode.childNodes[c].nodeValue.replace(/ ?(­|&#173;|&shy;|&#x00AD;) ?/g,"");var a=document.createElement('a');if(title==undefined)var title=link;a.href='mailto:'+link;a.innerHTML=title;e.parentNode.replaceChild(a,e);}
function setMapsonEvent(){$$('span.mapson').each(function(e){e.stopObserving('mouseover');e.observe('mouseover',function(event){replaceMailToLink(e);})});}
function setHyphenationFunction(){if(typeof MoreCSS!='undefined'&&typeof MoreCSS.hyphenation=='function'){var oldHyphenation=MoreCSS.hyphenation;MoreCSS.hyphenation=function(element,properties){oldHyphenation(element,properties,function(){setMapsonEvent();});}}}
if(typeof jQuery!='undefined'){(function($){$(function(){$('span.mapson').live('mouseover',function(){replaceMailToLink(this);});});})(jQuery);}
else if(typeof Prototype!='undefined'){document.observe('dom:loaded',function(){setHyphenationFunction();setMapsonEvent();});}

(function($){$(function(){$('a.blank').live('click',function(){url=$(this).attr('href');window.open(url);return false;});$('input.blank').closest('form').live('submit',function(){window.open();return true;});});})(jQuery);

(function($){$(function(){var count=$('.slidenav > li').length;var activeSlide=$('.slidenav > li').index($('.slidenav > li.active'));var animates=false;function rightIn(elem){$(elem).css('left','700px').show().animate({left:'0px'},800,'jswing',function(){$(this).parent().addClass('active');animates=false;});}
function rightOut(elem){$(elem).animate({left:'700px'},800,'jswing',function(){$(this).parent().removeClass('active');$(this).hide();animates=false;});}
function leftOut(elem){animates=true;$(elem).animate({left:'-700px'},800,'jswing',function(){$(this).parent().removeClass('active');$(this).hide();animates=false;});}
function leftIn(elem){animates=true;$(elem).css('left','-700px').show().animate({left:'0px'},800,'jswing',function(){$(this).parent().addClass('active');animates=false;});}
$('.slidebar a.prev').attr('href','javascript:void(0)').click(function(){if(activeSlide>0&&!animates){animates=true;leftIn($('.slidenav > li').eq(activeSlide-1).find('.ct'));rightOut($('.slidenav li.active').find('.ct'));activeSlide--;}});$('.slidebar a.next').attr('href','javascript:void(0)').click(function(){if(activeSlide<count-1&&!animates){animates=true;rightIn($('.slidenav > li').eq(activeSlide+1).find('.ct'));leftOut($('.slidenav li.active').find('.ct'));activeSlide++;}});$('.slidenav li > a').attr('href','javascript:void(0)').click(function(){var elem=$(this).parent();if(!animates){if(activeSlide>$('.slidenav > li').index(elem)){leftIn($(elem).find('.ct'));rightOut($('.slidenav li.active').find('.ct'));}else if(activeSlide<$('.slidenav > li').index(elem)){rightIn($(elem).find('.ct'));leftOut($('.slidenav li.active').find('.ct'));}
activeSlide=$('.slidenav > li').index(elem);}}).find('a').attr('href','javascript:void(0)');});})(jQuery);

function metaSlideOpen(){$('.slide, .meta_closer').show();}
function metaSlideClose(){$('.slide, .meta_closer').hide();}
function downloadURL(){if(download_url.length!=0&&!jQuery.browser.msie){window.location.href=download_url;}}
$.fn.addHighlightSpan=function(hltext){var text=$(this).html();var reg=new RegExp(hltext,'i');var split=text.split(reg);$(this).html(split[0]);var length=split[0].length;for(var i=1;i<split.length;i++){$(this).append($(document.createElement('span')).text(text.substring(length,length+hltext.length)).addClass('light'));$(this).append(split[i]);length+=hltext.length+split[i].length;}};$.fn.removeHighlightSpan=function(){$(this).html($(this).html().replace(/(<([^>]+)>)/ig,""));};jQuery.extend(jQuery.expr[':'],{startsWith:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||'').toLowerCase().indexOf((m[3]||'').toLowerCase())==0;}});(function($){$(function(){$('#language a.closer').attr('href','javascript:void(0)');$('a.ltbx').each(function(){$(this).attr('rel','lyteframe').attr('href',$(this).attr('href')+'?ltbx=true');});$('#language .opener a').attr('href','javascript:void(0)').click(function(){$('#language .selector').slideDown('normal',function(){$('body').one('click',function(){$('#language .selector').slideUp('normal');})});});$('.meta_slider').click(function(){metaSlideOpen();});$('.meta_closer a').attr('href','javascript:void(0)').click(function(){metaSlideClose();});if($('.animation .download select')){$('.animation .download select').change(function(){var url=$('.download select').attr('value');if(url.length!=0){window.open(url,'Animation - Download');}});}
if($('#kontakt')){$('#contact_selector').change(function(){var id=$(this).attr('value');$(this).parent().find('ul').hide();$('#'+id).show();});$('#contact_person_selector select').change(function(){var id=$(this).attr('value');$(this).parent().find('.contact_person').hide();$('#'+id).show();});$('#consultals_selector select').change(function(){var id=$(this).attr('value');$(this).parent().find('.contact_person').hide();$('#'+id).show();});}
if($('#requestform')){if($('#moreproducts:checked').length){$('#products').show();$('label:[for=moreproducts]').addClass('active');}
if($('#sendbymail:checked').length){$('#address').show();$('#forsendbymail').addClass('bold');}
if($('#callme:checked').length){$('#numbers').show();$('label:[for=callme]').addClass('active');}
$('#moreproducts').click(function(){$('#products').toggle();$('label:[for=moreproducts]').toggleClass('active');});$('#sendbymail').click(function(){$('#address').toggle();$('#forsendbymail').toggleClass('bold');});$('#callme').click(function(){$('#numbers').toggle();$('label:[for=callme]').toggleClass('active');});$('#newsletter').click(function(){$(this).next().toggleClass('active');});}
$('.triplegallery > div > div > *').click(function(){var $this=$(this).parent().parent();if($this.is('.first'))return;var $first=$('.triplegallery').find('.first').eq(0);var $temp=$this.children();$first.children().each(function(){$this.append(this);});$temp.each(function(){$first.append(this);});$first.find('object').attr('width',258).attr('height',258);if($first.find('img').length)
$first.find('img').attr('src',$first.find('img').attr('src').replace(/123/g,'258'));$this.find('object').attr('width',124).attr('height',123);if($this.find('img').length)
$this.find('img').attr('src',$this.find('img').attr('src').replace(/258/g,'123'));});$('#printlink').click(function(){window.print();});$('#lang_selector').closest('form').find('input[type="submit"]').hide();$('#lang_selector').change(function(){$(this).closest('form').submit();});if($('#prodsubnavigation')){$.fn.subMenuSlide=function(){var a=$(this);var li=$(a).parent().parent();var container=$(li).find('> .container');if($(a).hasClass('active')){$(a).parent().removeClass('active');$(container).animate({height:0,opacity:0},600,'jswing',function(){$(this).css('height','auto').hide().parent().removeClass('active').find('a').removeClass('active');});}else{$('#prodsubnavigation li.nav1.haschild').find('.wrp a.active').parent().removeClass('active').parent().find('> .container').animate({height:0},600,'jswing',function(){$(this).hide().css('height','auto').parent().removeClass('active').find('a').removeClass('active');});$(li).find('.wrp').addClass('active');var h=$(container).height();$(container).height(0);$(li).find('> .container').animate({height:h,opacity:1},600,'jswing',function(){$(a).addClass('active');$(li).addClass('active');});}}
$('#prodsubnavigation li.nav1.haschild').not('.hascontent').find('.wrp a').click(function(){$(this).subMenuSlide();}).attr('href','javascript:void(0)');$('#prodsubnavigation li.nav1 .wrp').click(function(){window.location.href=$(this).find('a').attr('href');}).css({'cursor':'pointer'});}
$('#search_query').keyup(function(){var searchString=$(this).val();var searchUl=$('#suggestion');$(searchUl).children().hide();if(searchString.length>0){$('li:startsWith('+searchString+')',searchUl).each(function(){$(this).removeHighlightSpan();$(this).addHighlightSpan(searchString);$(this).show();});}});$('#suggestion li').click(function(){$(this).removeHighlightSpan();$('#search_query').attr('value',$(this).text());$('#rex_form_search').submit();});$('.meta_news.jobs .more').click(function(){$('.meta_news.active .large').slideUp('slow',function(){$(this).parent().parent().removeClass('active');});$('.meta_news.active .small').slideDown();$(this).parent().find('.large').slideDown('slow',function(){$(this).parent().parent().addClass('active')});$(this).parent().find('.small').slideUp();});$('.slidedownlink').click(function(){$(this).parent().find('.open').next().slideUp('slow',function(){$(this).prev().toggleClass('open')});$(this).next().slideToggle('slow',function(){$(this).prev().toggleClass('open')});return false;})
$('#language .selector [title]').click(function(){$.cookie('locale',$(this).attr('title'),{path:'/',expires:10});});$('#allproducts').click(function(){$('.checkboxcontainer:first input[type=checkbox]').not(':disabled').attr('checked',$(this).is(':checked'));});var ce_timeout=null;$('.cert .wrp, .cepdfform a').mouseenter(function(){hideCeForms();$('.ce_form',$(this).parent()).css('display','block');});$('.cert .wrp, .cepdfform a').mouseleave(function(){ce_timeout=window.setTimeout('hideCeForms()',2500);});$('.ce_form').hover(function(){$(this).css('display','block');window.clearTimeout(ce_timeout);},function(){ce_timeout=window.setTimeout('hideCeForms()',2500);});});})(jQuery);function hideCeForms(){$('.cert, .cepdfform').find('.ce_form').css('display','');ce_timeout=null;}

(function($){$(function(){var navAnimates=false;var duration=800;function showProductSlide(a,div){navAnimates=true;var height='271px';if($(div).hasClass('small')){height='32px';}else{$('#hideinproducts').animate({height:'240px'},duration,'easeInExpo',function(){$(this).addClass('open')}).show();}
$(div).animate({height:height},duration,'easeInExpo',function(){$(div).addClass('open');navAnimates=false;}).removeClass('bg1').addClass('bg2');$(a).parent().addClass('open');$('#prodnavigation li.active, #prodnavigation div.active').removeClass('active');setSlideOpenCookie(index+1);}
function hideProductSlide(extrahide){navAnimates=true;$('.slidedown div.open').animate({height:'0px'},duration,'easeInExpo',function(){$(this).removeClass('bg2').addClass('bg1');navAnimates=false;});$('#prodnavigation .open').removeClass('open');$('.activemark').addClass('active');if(extrahide){$('#hideinproducts').animate({height:'0px'},duration,'easeInExpo',function(){$(this).hide();}).removeClass('open');}
setSlideOpenCookie(null);}
function setSlideOpenCookie(num){var options={path:'/',expires:10};$.cookie('product_slide_open',num,options);}
$('#prodnavigation .top a.nav').attr('href','javascript:void(0)').click(function(e){if(!navAnimates){index=$('#prodnavigation .top a.nav').index(this);var div=$('#prodnavigation .slidedown div.nav1').eq(index);if($(div).height()==271)return;hideProductSlide();showProductSlide(this,div);}});$('#prodnavigation .closer a').attr('href','javascript:void(0)').click(function(){if(!navAnimates){hideProductSlide(true);}});$('#prodnavigation .slidedown a.nav2').each(function(){$(this).attr('href',$(this).attr('href').replace('?close','')).click(function(){setSlideOpenCookie(null);});});});})(jQuery);

$(document).ready(function(){$('select.jsuiSelect').each(function(selectID){var select=this;var divSelect=document.createElement('span');$(divSelect).addClass('jsuiSelect').css('zindex',10000-selectID*100);var divView=document.createElement('span');$(divView).addClass('view').css('zindex',divSelect.style.zIndex+1);var divRolloutBtn=document.createElement('span');$(divRolloutBtn).addClass('rolloutBtn').css('zindex',divSelect.style.zIndex+5);var divRolloutContainer=document.createElement('span');$(divRolloutContainer).addClass('rolloutContainer').css('zindex',divSelect.style.zIndex+1);var divRollout=document.createElement('span');$(divRollout).addClass('rollout').css('zindex',divSelect.style.zIndex+2);$(divView).click(function(){$(divRolloutBtn).trigger('click');});$(divSelect).append(divRolloutBtn);$(divSelect).append(divView);$(divRolloutContainer).append(divRollout);$(divSelect).append(divRolloutContainer);$('option',select).each(function(){var index=$('option',select).index($(this));var span=document.createElement('span');$(span).html($(this).html());var link=document.createElement('a');$(link).attr('href','javascript:;');$(link).append(span);if($(this).attr('disabled')==false){$(link).click(function(){$(divView).html($(this).html());$(divRolloutBtn).trigger('click');select.selectedIndex=index;$(select).trigger('change');});}else{$(link).addClass('jsuiSelectDisabled');}
if($(this).attr('selected'))$(divView).html($(this).html());if(!divSelect.cntOptions)divSelect.cntOptions=0;if($(this).attr('disabled')==false){$(divRollout).append(link);divSelect.cntOptions++;}});$(divRolloutContainer).hide();divSelect.rolledOut=false;var visibleChilds=Math.min(divSelect.cntOptions,6);$(divRolloutContainer).css({'height':visibleChilds*20+'px','overflow':'hidden'});$(divRollout).css({'height':visibleChilds*20+'px','overflow-y':'auto','overflow-x':'hidden'});$(divRolloutBtn).mouseover(function(){$(divSelect).addClass('jsuiSelectOn');});$(divRolloutBtn).mouseout(function(){$(divSelect).removeClass('jsuiSelectOn');});$(divRolloutBtn).click(function(){if(divSelect.rolledOut==false){divSelect.rolledOut=true;$(divRolloutContainer).show();}else{divSelect.rolledOut=false;$(divRolloutContainer).hide();}});$(select).hide();$(select).after(divSelect);});$('input.jsuiFileInput').each(function(){var input=this;var inputName=$(input).attr('name');var title=$(input).attr('title');var divInput=document.createElement('div');$(divInput).addClass('jsuiFileInput');var fakeinput=document.createElement('input');$(fakeinput).attr({type:'text'});var button=document.createElement('input');$(button).attr('type','button');$(button).attr('value',title);$(divInput).append(fakeinput);$(divInput).append(button);$(this).css({'position':'absolute','z-index':'2','right':'0','opacity':'0'});$(this).parent().css({'position':'relative'});$(divInput).css({'position':'absolute'});$(input).change(function(){$(fakeinput).attr('value',$(input).attr('value'));});$(this).after(divInput);});});

$.fn.slideShow=function(timeOut){var $elem=this;this.children(':gt(0)').hide();setInterval(function(){$elem.children().eq(0).fadeOut().next().fadeIn().end().appendTo($elem);},timeOut||3000);};$(function(){$('.fadein').slideShow(3000);});
/*
 * Modernizr v1.6
 * http://www.modernizr.com
 *
 * Developed by: 
 * - Faruk Ates  http://farukat.es/
 * - Paul Irish  http://paulirish.com/
 *
 * Copyright (c) 2009-2010
 * Dual-licensed under the BSD or MIT licenses.
 * http://www.modernizr.com/license/
 */
window.Modernizr=function(i,e,u){function s(a,b){return(""+a).indexOf(b)!==-1}function D(a,b){for(var c in a)if(j[a[c]]!==u&&(!b||b(a[c],E)))return true}function n(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1);c=(a+" "+F.join(c+" ")+c).split(" ");return!!D(c,b)}function S(){f.input=function(a){for(var b=0,c=a.length;b<c;b++)L[a[b]]=!!(a[b]in h);return L}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));f.inputtypes=function(a){for(var b=0,c,k=a.length;b<
k;b++){h.setAttribute("type",a[b]);if(c=h.type!=="text"){h.value=M;if(/^range$/.test(h.type)&&h.style.WebkitAppearance!==u){l.appendChild(h);c=e.defaultView;c=c.getComputedStyle&&c.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&h.offsetHeight!==0;l.removeChild(h)}else/^(search|tel)$/.test(h.type)||(c=/^(url|email)$/.test(h.type)?h.checkValidity&&h.checkValidity()===false:h.value!=M)}N[a[b]]=!!c}return N}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
var f={},l=e.documentElement,E=e.createElement("modernizr"),j=E.style,h=e.createElement("input"),M=":)",O=Object.prototype.toString,q=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),F="Webkit Moz O ms Khtml".split(" "),v={svg:"http://www.w3.org/2000/svg"},d={},N={},L={},P=[],w,Q=function(a){var b=document.createElement("style"),c=e.createElement("div");b.textContent=a+"{#modernizr{height:3px}}";(e.head||e.getElementsByTagName("head")[0]).appendChild(b);c.id="modernizr";l.appendChild(c);a=c.offsetHeight===
3;b.parentNode.removeChild(b);c.parentNode.removeChild(c);return!!a},o=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(b,c){c=c||document.createElement(a[b]||"div");b="on"+b;var k=b in c;if(!k){c.setAttribute||(c=document.createElement("div"));if(c.setAttribute&&c.removeAttribute){c.setAttribute(b,"");k=typeof c[b]=="function";if(typeof c[b]!="undefined")c[b]=u;c.removeAttribute(b)}}return k}}(),G={}.hasOwnProperty,R;R=
typeof G!=="undefined"&&typeof G.call!=="undefined"?function(a,b){return G.call(a,b)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};d.flexbox=function(){var a=e.createElement("div"),b=e.createElement("div");(function(k,g,r,x){g+=":";k.style.cssText=(g+q.join(r+";"+g)).slice(0,-g.length)+(x||"")})(a,"display","box","width:42px;padding:0;");b.style.cssText=q.join("box-flex:1;")+"width:10px;";a.appendChild(b);l.appendChild(a);var c=b.offsetWidth===42;a.removeChild(b);
l.removeChild(a);return c};d.canvas=function(){var a=e.createElement("canvas");return!!(a.getContext&&a.getContext("2d"))};d.canvastext=function(){return!!(f.canvas&&typeof e.createElement("canvas").getContext("2d").fillText=="function")};d.webgl=function(){var a=e.createElement("canvas");try{if(a.getContext("webgl"))return true}catch(b){}try{if(a.getContext("experimental-webgl"))return true}catch(c){}return false};d.touch=function(){return"ontouchstart"in i||Q("@media ("+q.join("touch-enabled),(")+
"modernizr)")};d.geolocation=function(){return!!navigator.geolocation};d.postmessage=function(){return!!i.postMessage};d.websqldatabase=function(){return!!i.openDatabase};d.indexedDB=function(){for(var a=-1,b=F.length;++a<b;){var c=F[a].toLowerCase();if(i[c+"_indexedDB"]||i[c+"IndexedDB"])return true}return false};d.hashchange=function(){return o("hashchange",i)&&(document.documentMode===u||document.documentMode>7)};d.history=function(){return!!(i.history&&history.pushState)};d.draganddrop=function(){return o("drag")&&
o("dragstart")&&o("dragenter")&&o("dragover")&&o("dragleave")&&o("dragend")&&o("drop")};d.websockets=function(){return"WebSocket"in i};d.rgba=function(){j.cssText="background-color:rgba(150,255,150,.5)";return s(j.backgroundColor,"rgba")};d.hsla=function(){j.cssText="background-color:hsla(120,40%,100%,.5)";return s(j.backgroundColor,"rgba")||s(j.backgroundColor,"hsla")};d.multiplebgs=function(){j.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(j.background)};d.backgroundsize=
function(){return n("backgroundSize")};d.borderimage=function(){return n("borderImage")};d.borderradius=function(){return n("borderRadius","",function(a){return s(a,"orderRadius")})};d.boxshadow=function(){return n("boxShadow")};d.textshadow=function(){return e.createElement("div").style.textShadow===""};d.opacity=function(){var a=q.join("opacity:.5;")+"";j.cssText=a;return s(j.opacity,"0.5")};d.cssanimations=function(){return n("animationName")};d.csscolumns=function(){return n("columnCount")};d.cssgradients=
function(){var a=("background-image:"+q.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+q.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);j.cssText=a;return s(j.backgroundImage,"gradient")};d.cssreflections=function(){return n("boxReflect")};d.csstransforms=function(){return!!D(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};d.csstransforms3d=function(){var a=!!D(["perspectiveProperty","WebkitPerspective",
"MozPerspective","OPerspective","msPerspective"]);if(a)a=Q("@media ("+q.join("transform-3d),(")+"modernizr)");return a};d.csstransitions=function(){return n("transitionProperty")};d.fontface=function(){var a,b=e.head||e.getElementsByTagName("head")[0]||l,c=e.createElement("style"),k=e.implementation||{hasFeature:function(){return false}};c.type="text/css";b.insertBefore(c,b.firstChild);a=c.sheet||c.styleSheet;b=k.hasFeature("CSS2","")?function(g){if(!(a&&g))return false;var r=false;try{a.insertRule(g,
0);r=!/unknown/i.test(a.cssRules[0].cssText);a.deleteRule(a.cssRules.length-1)}catch(x){}return r}:function(g){if(!(a&&g))return false;a.cssText=g;return a.cssText.length!==0&&!/unknown/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(g.split(" ")[0])===0};f._fontfaceready=function(g){g(f.fontface)};return b('@font-face { font-family: "font"; src: "font.ttf"; }')};d.video=function(){var a=e.createElement("video"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('video/ogg; codecs="theora"');
b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"')||a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return b};d.audio=function(){var a=e.createElement("audio"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"');b.mp3=a.canPlayType("audio/mpeg;");b.wav=a.canPlayType('audio/wav; codecs="1"');b.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}return b};d.localstorage=function(){try{return"localStorage"in
i&&i.localStorage!==null}catch(a){return false}};d.sessionstorage=function(){try{return"sessionStorage"in i&&i.sessionStorage!==null}catch(a){return false}};d.webWorkers=function(){return!!i.Worker};d.applicationcache=function(){return!!i.applicationCache};d.svg=function(){return!!e.createElementNS&&!!e.createElementNS(v.svg,"svg").createSVGRect};d.inlinesvg=function(){var a=document.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==v.svg};d.smil=function(){return!!e.createElementNS&&
/SVG/.test(O.call(e.createElementNS(v.svg,"animate")))};d.svgclippaths=function(){return!!e.createElementNS&&/SVG/.test(O.call(e.createElementNS(v.svg,"clipPath")))};for(var H in d)if(R(d,H)){w=H.toLowerCase();f[w]=d[H]();P.push((f[w]?"":"no-")+w)}f.input||S();f.crosswindowmessaging=f.postmessage;f.historymanagement=f.history;f.addTest=function(a,b){a=a.toLowerCase();if(!f[a]){b=!!b();l.className+=" "+(b?"":"no-")+a;f[a]=b;return f}};j.cssText="";E=h=null;i.attachEvent&&function(){var a=e.createElement("div");
a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function c(p){for(var m=-1;++m<r;)p.createElement(g[m])}function k(p,m){for(var I=p.length,t=-1,y,J=[];++t<I;){y=p[t];m=y.media||m;J.push(k(y.imports,m));J.push(y.cssText)}return J.join("")}var g="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),r=g.length,x=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)",
"gi"),T=RegExp("\\b(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)\\b(?!.*[;}])","gi"),z=b.createDocumentFragment(),A=b.documentElement,K=A.firstChild,B=b.createElement("style"),C=b.createElement("body");B.media="all";c(b);c(z);a.attachEvent("onbeforeprint",function(){for(var p=-1;++p<r;)for(var m=b.getElementsByTagName(g[p]),I=m.length,t=-1;++t<I;)if(m[t].className.indexOf("iepp_")<0)m[t].className+=" iepp_"+
g[p];K.insertBefore(B,K.firstChild);B.styleSheet.cssText=k(b.styleSheets,"all").replace(T,".iepp_$1");z.appendChild(b.body);A.appendChild(C);C.innerHTML=z.firstChild.innerHTML.replace(x,"<$1bdo")});a.attachEvent("onafterprint",function(){C.innerHTML="";A.removeChild(C);K.removeChild(B);A.appendChild(z.firstChild)})}(this,document);f._enableHTML5=true;f._version="1.6";l.className=l.className.replace(/\bno-js\b/,"")+" js";l.className+=" "+P.join(" ");return f}(this,this.document);

