var RULES = {
			'#ECCS01ObsahStranky' : function(element){
				if (element.getAttribute('fixed') != 'yes') {
					h1 = $('ECCS01HorniListaOuterBox');
					h2 = $('ECCS01HorniMenuOuterBox');
					h3 = $('ECCS01DolniListaOuterBox');
					h4 = $('ECCS01PatickaOuterBox');
					el = $('ECCS01ObsahStranky');
					ell = $('ECCS01ObsahStrankyLeft');
					elo = $('ECCS01ObsahStrankyOuterBox');
					ello = $('ECCS01ObsahStrankyLeftOuterBox');
					_h = API.page.y2 - h1.offsetHeight - h2.offsetHeight - h3.offsetHeight - h4.offsetHeight - 62;
//					alert(_h);
					el.style.height = _h + 'px';
					ell.style.height = _h + 'px';
					el.style.overflow = 'auto';
					ell.style.overflow = 'auto';
/*					el.style.overflow = 'hidden';*/
/*					if (!API.browser.ie6) {
						el.style.width = (elo.offsetWidth + 15) + 'px'; 
						ell.style.width = (ello.offsetWidth + 0) + 'px';
					} */
/*					el = $('ECCS01ObsahStrankyLeft');
					if (element.offsetHeight > el.offsetHeight) {
						_h = element.offsetHeight;
					} else { //if (element.offsetHeight < el.offsetHeight)
						_h = el.offsetHeight;
					}
					el.style.height = _h + 'px';
					element.style.height = _h + 'px';
					element.setAttribute('fixed', 'yes');*/
				}
			}
};

