// JavaScript Document
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function zentrieren(){
var width = window.innerWidth || (document.documentElement.clientWidth || document.body.clientWidth);
var height = window.innerHeight || (document.documentElement.clientHeight || document.body.clientHeight);
	if (width > 808){
    document.getElementById('block').style.left = Math.round((width - 876)/2) + "px";
    }
    else {
    document.getElementById('block').style.left = 0;
    }
    if (height > 600){
    document.getElementById('block').style.top = Math.round((height - 600)/3) + "px";
    }
    else {
    document.getElementById('block').style.top = 0;
    }
}
function naviSet(value){
var value = value;
var navi= new Array('konzept', 'musen', 'garantie', 'referenzen', 'impressum');
for (var i = 0; i < navi.length; i++){
document.getElementById(navi[i]).className = "";
}
document.getElementById(value).className = "select";
}
ImagesObserver = Class.create({
  initialize: function(el, options) {
    this.options = {
      onImagesLoaded: Prototype.emptyFunction
    };
    Object.extend(this.options, options || { });
    
    this.el = $(document.body);
    if (typeof el != 'undefined') this.el = $(el);
      
    this.pe = new PeriodicalExecuter(this._checkImagesState.bind(this), (1/10));
  },
  _checkImagesState: function() {
    if (this._areImagesLoaded(this.el)) {
      this.pe.stop();
      
      if (this.options.onImagesLoaded != Prototype.emptyFunction)
        this.options.onImagesLoaded(this.el);
      else
        document.fire('images:loaded', { el: this.el });
    }    
  }, 
  _areImagesLoaded: function(el) {
    return el.select('img').all(function(img) {
      return (img.complete );
    });
  }  
});
/* unFocus.History, version2.0 (beta 4) (2009/07/09)
Copyright: 2005-2009, Kevin Newman (http://www.unfocus.com/)
License: MIT - license.txt */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4(!H.l)6 l={};l.x=2(){9.h={};t(6 i=0;i<I.m;i++){9.h[I[i]]=[]}};l.x.J={K:2(a,b){t(6 i=0;i<9.h[a].m;i++)4(9.h[a][i]==b)7;9.h[a].18(b)},19:2(a,b){t(6 i=0;i<9.h[a].m;i++){4(9.h[a][i]==b){9.h.1a(i,1);7}}},p:2(a,b){t(6 i=0;i<9.h[a].m;i++)9.h[a][i](b)}};l.L=(2(){2 y(){6 c=9,z=1b,u,3;6 d=2(){7 M.N.1c(1)};3=d();6 e=2(a){H.M.N=a};2 O(){6 a=d();4(3!=a){3=a;c.p("n",a)}}4(A)u=A(O,z);c.1d=2(){7 3};c.k=2 k(a){4(3!=a){3=a;e(a);c.p("n",a)}7 r};4(s.P)s.P=\'1e\';4(/Q\\/\\d+/.1f(B.R)&&B.R.S(/Q\\/(\\d+)/)[1]<1g){6 f=s.m,v={},o,w=T;2 U(){o=j.V("1h");o.W="1i";o.1j="1k";j.q.X(o,j.q.Y)}e=2(a){v[f]=a;o.1l="#"+d();o.1m()};d=2(){7 v[f]};v[f]=3;2 Z(a){4(3!=a){3=a;f=s.m+1;w=r;e(a);c.p("n",a);w=T}7 r}c.k=2(a){U();c.k=Z;7 c.k(a)};2 10(){4(!w){6 a=s.m;4(a!=f){f=a;6 b=d();4(3!=b){3=b;c.p("n",b)}}}};1n(u);u=A(10,z)}1o 4(/*@1p!@*/0&&B.1q.S(/1r (\\d+\\.\\d+)/)[1]>=5.5){4(j.11&&j.11>=8)7;6 g,C;2 12(){6 a="1s";g=j.V("1t");g.D("1u",a);g.D("W",a);g.D("1v",\'1w:;\');g.13.1x="1y";g.13.1z="-1A";j.q.X(g,j.q.Y);C=1B[a];E(3,r)}2 E(a){1C(C.j){1D("1E/F");1F("<F><14></14><q 1G",\'1H="1I.l.L.G(\\\'\'+a+\'\\\');">\',a+"</q></F>");1J()}}2 15(a){3=a;c.p("n",a)}c.G=2(){c.G=15};2 16(a){4(3!=a){3=a;E(a)}7 r};c.k=2(a){12();c.k=16;7 c.k(a)};c.K("n",2(a){e(a)})}}y.J=17 l.x("n");7 17 y()})();',62,108,'||function|_currentHash|if||var|return||this||||||||_listeners||document|addHistory|unFocus|length|historyChange|_form|notifyListeners|body|true|history|for|_intervalID|_historyStates|_recentlyAdded|EventManager|Keeper|_pollInterval|setInterval|navigator|_historyFrameRef|setAttribute|_createHistoryHTML|html|_updateFromHistory|window|arguments|prototype|addEventListener|History|location|hash|_watchHash|navigationMode|WebKit|appVersion|match|false|_createSafariSetHashForm|createElement|id|insertBefore|firstChild|addHistorySafari|_watchHistoryLength|documentMode|_createHistoryFrame|style|head|updateFromHistory|addHistoryIE|new|push|removeEventListener|splice|200|substring|getCurrent|compatible|test|420|form|unFocusHistoryForm|method|get|action|submit|clearInterval|else|cc_on|userAgent|MSIE|unFocusHistoryFrame|iframe|name|src|javascript|position|absolute|top|900px|frames|with|open|text|write|onl|oad|parent|close'.split('|'),0,{}))