function initGlideLayers() {
  var i, el;
  var glideLyrs = new Array();
  // Set up your layers here
  // arguments: id, amount to be visible (left), top, width, height
  // duration of glide onscroll, accel (-1 to 1, -1 decelerates)
  glideLyrs[ 0 ] = new Glider( 'klapperRechts', 0, 24, 236, 181, 100, 0 );
  glideLyrs[ 1 ] = new Glider( 'klapperLinks', 400, 24, 200, 196, 100, 0 );
  for ( i = 0; glideLyrs[ i ]; i++ )
  {
		// hold amount to be left visible
		glideLyrs[ i ].xOff = glideLyrs[ i ].x;
		if ( !glideLyrs[ i ].y ) // position based on previous glideLyrs height and position
			if ( glideLyrs[ i - 1 ] ) glideLyrs[ i ].y = glideLyrs[ i - 1 ].y + glideLyrs[ i - 1 ].h + 2;

		glideLyrs[ i ].shiftTo( -( glideLyrs[ i ].w - glideLyrs[ i ].xOff), glideLyrs[ i ].y );
  }
	var l = window[ 'hiddenDivs' ].length;
	for( var x = 0; x < l; x++ )
	{
//		document.getElementById( window[ 'hiddenDivs' ][ x ] ).style.display = 'block';
		SetDisplay( window[ 'hiddenDivs' ][ x ] , 'block' );
	}

  var el = document.getElementById( 'klapperRechts' );
  slideIntoView( el.id );
  var el = document.getElementById( 'klapperLinks' );
  slideIntoView( el.id );
}

function slideIntoView( id ) {
  var glideLyr = dynObj.getInstance( id );
  glideLyr.slideTo( 2, null, 250, -.8 );
}
