<!--/*** Konfiguration ***/var numScrollPages = 1         //Setzen der Layeranzahl zum Tauschen des Inhalts. Die Layer muessen auch im Body ausgetauscht werden. Namen der Layer sind  dynPage0 fuer den 1.Layer, dynPage1 fuer den 2.Layer und so fort.var transitionOut = 0;         //Transition 'out' ... 0= ausgeschaltet, 1= fadevar transitionIn = 0;          //Transition  'in' ... 0= ausgeschaltet, 1= fade, 2= slide// Die Effekte funktionieren NICHT NS4 and IE4 oder IE auf Mac!var slideAcceleration = 0;   //Fuer die Slide Animation zwischen 0 und 1 setzen.var transitionOnload = 0;       //Transition  'in' beim Laden der Seite = 1 sonst 0.var bw;var px;function init() {	if (parent.frames[0]) { bw=new parent.lib_bwcheck() }	else {			bw=new lib_bwcheck();		}	px = bw.ns4||window.opera?"":"px";		if(bw.ns4){ 		scrX= innerWidth; scrY= innerHeight;		onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }	}}	function scrollerobj(obj,nest){	nest = (!nest)?"":'document.'+nest+'.'	this.elm = bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):document.getElementById(obj)	this.css = bw.ns4?this.elm:this.elm.style	this.doc = bw.ns4?this.elm.document:document	this.obj = obj+'scrollerobj'; eval(this.obj+'=this')	this.x = (bw.ns4||bw.opera5)?this.css.left:this.elm.offsetLeft	this.y = (bw.ns4||bw.opera5)?this.css.top:this.elm.offsetTop	this.w = (bw.ie4||bw.ie5||bw.ie6||bw.ns6)?this.elm.offsetWidth:bw.ns4?this.elm.clip.width:bw.opera5?this.css.pixelWidth:0	this.h = (bw.ie4||bw.ie5||bw.ie6||bw.ns6)?this.elm.offsetHeight:bw.ns4?this.elm.clip.height:bw.opera5?this.css.pixelHeight:0}scrollerobj.prototype.moveTo = function(x,y){	if(x!=null){this.x=x; this.css.left=x+px}	if(y!=null){this.y=y; this.css.top=y+px}}scrollerobj.prototype.moveBy = function(x,y){this.moveTo(this.x+x,this.y+y)}scrollerobj.prototype.hideIt = function(){this.css.visibility='hidden'}scrollerobj.prototype.showIt = function(){this.css.visibility='visible'}var scrollTimer = null;function scroll(step){	clearTimeout(scrollTimer);	if ( !busy && (step<0&&activePage.y+activePage.h>scroller1.h || step>0&&activePage.y<0) ){		activePage.moveBy(0,step);		scrollTimer = setTimeout('scroll('+step+')',40);	}}function stopScroll(){	clearTimeout(scrollTimer);}var activePage = null;var busy = 0;function activate(num){	if (activePage!=pages[num] && !busy){		busy = 1;		if (transitionOut==0 || !bw.opacity){ activePage.hideIt(); activateContinue(num); }		else if (transitionOut==1) activePage.blend('hidden', 'activateContinue('+num+')');	}}function activateContinue(num){	busy = 1;	activePage = pages[num];	activePage.moveTo(0,0);	if (transitionIn==0 || !bw.opacity){ activePage.showIt(); busy=0; }	else if (transitionIn==1) activePage.blend('visible', 'busy=0');	else if (transitionIn==2) activePage.slide(0, slideAcceleration, 40, 'busy=0');}scrollerobj.prototype.slide = function(target, acceleration, time, fn){	this.slideFn= fn?fn:null;	this.moveTo(0,scroller1.h);	if (bw.ie4&&!bw.mac) this.css.filter = 'alpha(opacity=100)';	if (bw.ns6) this.css.MozOpacity = 1;	this.showIt();	this.doSlide(target, acceleration, time);}scrollerobj.prototype.doSlide = function(target, acceleration, time){	this.step = Math.round(this.y*acceleration);	if (this.step<1) this.step = 1;	if (this.step>this.y) this.step = this.y;	this.moveBy(0, -this.step);	if (this.y>0) this.slideTim = setTimeout(this.obj+'.doSlide('+target+','+acceleration+','+time+')', time);	else {			eval(this.slideFn);		this.slideFn = null;	}}scrollerobj.prototype.blend= function(vis, fn){	if (bw.ie5||bw.ie6 && !bw.mac) {		if (vis=='visible') this.css.filter= 'blendTrans(duration=0.9)';		else this.css.filter= 'blendTrans(duration=0.6)';		this.elm.onfilterchange = function(){ eval(fn); };		this.elm.filters.blendTrans.apply();		this.css.visibility= vis;		this.elm.filters.blendTrans.play();	}	else if (bw.ns6 || bw.ie&&!bw.mac){		this.css.visibility= 'visible';		vis=='visible' ? this.fadeTo(100, 7, 40, fn) : this.fadeTo(0, 9, 40, fn);	}	else {		this.css.visibility= vis;		eval(fn);	}};scrollerobj.prototype.op= 100;scrollerobj.prototype.opacityTim= null;scrollerobj.prototype.setOpacity= function(num){	this.css.filter= 'alpha(opacity='+num+')';	this.css.MozOpacity= num/100;	this.op= num;}scrollerobj.prototype.fadeTo= function(target, step, time, fn){	clearTimeout(this.opacityTim);	this.opacityFn= fn?fn:null;	this.op = target==100 ? 0 : 100;	this.fade(target, step, time);}scrollerobj.prototype.fade= function(target, step, time){	if (Math.abs(target-this.op)>step){		target>this.op? this.setOpacity(this.op+step):this.setOpacity(this.op-step);		this.opacityTim= setTimeout(this.obj+'.fade('+target+','+step+','+time+')', time);	}	else {		this.setOpacity(target);		eval(this.opacityFn);		this.opacityFn= null;	}}var pageslidefadeLoaded = 0;function initPageSlideFade(){	scroller1 = new scrollerobj('divScroller1');		pages = new Array();	for (var i=0; i<numScrollPages; i++){		pages[i] = new scrollerobj('dynPage'+i, 'divScroller1');		pages[i].moveTo(0,0);	}	bw.opacity = ( bw.ie && !bw.ie4 && navigator.userAgent.indexOf('Windows')>-1 ) || bw.ns6	if (bw.ie5||bw.ie6 && !bw.mac) pages[0].css.filter= 'blendTrans(duration=0.6)'; 		if (transitionOnload) activateContinue(0);	else{		activePage = pages[0];		activePage.showIt();	}	if (bw.ie) for(var i=0;i<document.links.length;i++) document.links[i].onfocus=document.links[i].blur;	pageslidefadeLoaded = 1;}//-->