function bar(jaki)
{
myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    myHeight = window.innerHeight;
  } else if( document.documentElement && document.documentElement.clientHeight ) {
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && document.body.clientHeight  ) {
    myHeight = document.body.clientHeight;
  }

divHeight = document.getElementById(jaki).clientHeight;

xxx = 426+divHeight;

if(myHeight > xxx)
{
	 document.getElementById('footer').className ='footer';
}
}
