//252c11fe15cc0c367cc46c4ee083a475
// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
  {
  thumbnailId: null,
  overlayId: 'controlbar',
  position: 'top right',
  hideOnMouseOut: true
  }
);

hs.graphicsDir														= JS_rb+'global/js/highslide/';
hs.outlineType														= 'rounded-white';
hs.captionEval														= 'this.thumb.title';
hs.showCredits														= false;


// galerie
i_nb																= 0;
function nb(nr)
  {
  if(i_nb+nr < arr_galerie_bilder.length && i_nb+nr >= 0)
    {
	document.getElementById('galerie_'+i_nb).style.display			= 'none';
	document.getElementById('galerie_'+(i_nb+nr)).style.display		= 'block';
	
	if(document.images['galerie_'+(i_nb+nr)+'_img'].src.indexOf('trans.gif') > 0)
	  {
	  document.images['galerie_'+(i_nb+nr)+'_img'].src				= arr_galerie_bilder[(i_nb+nr)];
	  }
	i_nb															+= nr;
	}
  }

var gl_browser_height												= 0;
var gl_browser_width												= 0;

//------------------------------------------------------------------
// breite und hoehe des browserfensters bestimmen
//------------------------------------------------------------------
function init_browser_height_width()
  {
  if(ie && navigator.appVersion.indexOf("Linux") < 0)
    {
    gl_browser_width												= document.documentElement.clientWidth;
    gl_browser_height												= document.documentElement.clientHeight;
	//gl_browser_width												= document.body.clientWidth;
    //gl_browser_height												= document.body.clientHeight;
	}
  else
    {
	gl_browser_width												= innerWidth;
    gl_browser_height												= innerHeight;
    }
  
  //fuer linux
  if(navigator.appVersion.indexOf("Linux") >= 0)
    {
    gl_browser_height												= gl_browser_height-8;
    }
  }


function repos_footer()
  {
  init_browser_height_width();
  hoehe_content														= parseInt(document.getElementById('wrap').offsetHeight);
  
  if(gl_browser_height-hoehe_content > 0)
    {
	//document.getElementById('content').style.height					= (gl_browser_height-hoehe_content)+'px';
	//document.getElementById('content').style.height					= (gl_browser_height-hoehe_content+170)+'px';
	//document.getElementById('footer').style.marginTop					= (gl_browser_height-hoehe_content-30)+'px';
	document.getElementById('content').style.height					= parseInt(document.getElementById('content').offsetHeight)+(gl_browser_height-hoehe_content-20)+'px';
	}
  }

window.onload=repos_footer;
//window.onresize=repos_footer;


function set_aktiv(obj)
  {
  if(ie)
    {
	obj.className													= 'aktiv';
	}
  }
function set_inaktiv(obj)
  {
  if(ie)
    {
	obj.className													= '';
	}
  }