// ezt má szereti mind
function scrollozo_div_ie()
{
	
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ){
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	  }
	  
	var pading_left=0; //px
	var pading_bottom=0; //px
        /*
	if(pos=='right')
		{
			
		}

	if(pos=='left')
		{
			var div='scroll_div_left';
		}
                */
        var div='crawl_container';
	var div_dimansions=$(div).getDimensions(); // a div kiterjedse div_w['height']
	var window_actual_pos=$H(document.viewport.getScrollOffsets()).get('top'); // hol tart épp az ablak

	
	//var div_width=myWidth/5;
	//if(div_width>250) div_width=250;
	//if(div_width<150) div_width=150;

	var div_pozicioja=window_actual_pos+myHeight-div_dimansions['height']-pading_bottom;
        $(div).setStyle({ top: div_pozicioja+'px','z-index': 1000 });
        //$(div).setStyle({ top: div_pozicioja+'px' , right: pading_left+'px', width:div_width+'px','z-index': 1001 });
	/*if(pos=='right')
		{
			$(div).setStyle({ top: div_pozicioja+'px' , right: pading_left+'px', width:div_width+'px','z-index': 1001 });
		}

	if(pos=='left')
		{
			$(div).setStyle({ top: div_pozicioja+'px' , left: pading_left+'px', width:div_width+'px','z-index': 1001 });
		}*/
	//$(div).setStyle({ top: div_pozicioja+'px' , right: pading_left+'px', width:div_width+'px','z-index': 1001 });
	setTimeout("scrollozo_div_ie();", 100);
}

