/* scroll *//*		  dynapi.library.setPath('./js/');		  dynapi.library.include('dynapi.api');		  dynapi.library.include('ScrollBar');		  dynapi.library.include('ButtonFlatStyle'); // (optional)		  dynapi.library.include('ButtonImageStyle'); // (optional)		  //Styles.addStyle('ScrollBarButton',ButtonFlatStyle);		  vbar=new ScrollBar('vert',100,100,200,0,50)		  vbar.setSmallChange(1);		  vbar.setLargeChange(10);		  vbar.onscroll=function(e){		    status=vbar.getValue()		  }		  hbar=new ScrollBar('horz',150,100,100,1,50)		  hbar.setSmallChange(1);		  hbar.setLargeChange(5);		  //hbar.setLocalStyleAttribute('backColor','#C0C0C0');		  //hbar.btnUp.setStyle('ButtonFlat');		  hbar.onscroll=function(e){		    status=hbar.getValue();		  }		  dynapi.document.addChild(hbar)		  dynapi.document.addChild(vbar)		  var s = ButtonImageStyle();		  s.setStyleAttribute('imageOff',dynapi.functions.getImage('./dynapiexamples/images/btn_sbar_off.gif',16,16));		  s.setStyleAttribute('imageOn',dynapi.functions.getImage('./dynapiexamples/images/btn_sbar_on.gif',16,16));		  Styles.addStyle('GreenButton',s);		  var xbar = new ScrollBar('vert',120,100,200,0,150)		  xbar.setLocalStyleAttribute('imageTrack',dynapi.functions.getImage('./dynapiexamples/images/sbarbg.gif',16,16));		  xbar.btnUp.setStyle('GreenButton');		  xbar.btnDown.setStyle('GreenButton');		  xbar.knob.setLocalStyleAttribute('backColor','#269A01');		  xbar.knob.setLocalStyleAttribute('borderColor','green');		  xbar.knob.setLocalStyleAttribute('lightColor','#53CE0F');		  xbar.setSmallChange(1);		  xbar.setLargeChange(10);		  xbar.onscroll=function(e){		    status=xbar.getValue()		  }		  dynapi.document.addChild(xbar) *//* end scroll *//* aktualis	 */var akt=1;function swapAkt(id){	if(max>1)	{		new Effect.Fade(document.getElementById('aktualis'+akt),{duration:1});		document.getElementById('aktlapozo'+akt).className='';		setTimeout('showSel('+id+')',1000)	}}function showSel(id){	new Effect.Appear(document.getElementById('aktualis'+id),{duration:1});	document.getElementById('aktlapozo'+id).className='aktiv';	akt=id;	if(id<max) setTimeout('swapAkt('+(id+1)+')',5000)	else if (max>1) setTimeout('swapAkt(1)',5000)}/*window.onload=function(){ swapAkt(1)};*/var jelakt=1;var jelmax=1;var jestop;function swapJel(id){	if(jelmax>1)	{		new Effect.Fade(document.getElementById('jelentkez'+jelakt),{duration:1});		document.getElementById('jellapozo'+(jelakt>4?4:jelakt)).className='';		jelstop = setTimeout('showJel('+id+')',1000)    }}function showJel(id){	new Effect.Appear(document.getElementById('jelentkez'+id),{duration:1});	if(jelmax>4) {		var poz = (id>4 ? id : 4);			for( var i=1;i<5;i++)			document.getElementById('jellapozo'+i).innerHTML=poz+i-4;	}		document.getElementById('jellapozo'+(id>4?4:id)).className='aktiv';	jelakt=id;	if(id<jelmax) jelstop = setTimeout('swapJel('+(id+1)+')',5000)	else if (jelmax>1) jelstop = setTimeout('swapJel(1)',5000)}function setJel(id) {	clearTimeout(jelstop);	if(id=='e') {		id = jelakt;		id++;		if(id>jelmax) id = jelmax;			} else if (id=='v') {		id = jelakt;		id--;		if(id<1) id = 1;	} else		id = parseInt(document.getElementById('jellapozo'+id).text)		swapJel(id);}var hirakt=1;var hirmax=1;var hirstop;function swapHir(id){	if(hirmax>1)	{		new Effect.Fade(document.getElementById('hirek'+hirakt),{duration:1});		document.getElementById('hirlapozo'+(hirakt>4?4:hirakt)).className='';		hirstop = setTimeout('showHir('+id+')',1000)    }}function showHir(id){	new Effect.Appear(document.getElementById('hirek'+id),{duration:1});	if(hirmax>4) {		var poz = (id>4 ? id : 4);			for( var i=1;i<5;i++)			document.getElementById('hirlapozo'+i).innerHTML=poz+i-4;	}		document.getElementById('hirlapozo'+(id>4?4:id)).className='aktiv';	hirakt=id;	if(id<hirmax) hirstop = setTimeout('swapHir('+(id+1)+')',5000)	else if (hirmax>1) hirstop = setTimeout('swapHir(1)',5000)}function setHir(id) {	clearTimeout(hirstop);	if(id=='e') {		id = hirakt;		id++;		if(id>hirmax) id = hirmax;			} else if (id=='v') {		id = hirakt;		id--;		if(id<1) id = 1;	} else		id = parseInt(document.getElementById('hirlapozo'+id).text)		swapHir(id);}window.onload=function(){		if(jelakt<jelmax) jelstop = setTimeout('swapJel('+(jelakt+1)+')',5000);	if(hirakt<hirmax) hirstop = setTimeout('swapHir('+(hirakt+1)+')',5000);	if(typeof max!=="undefined")	{		if(akt<max) setTimeout('swapAkt('+(akt+1)+')',5000);	}	if(typeof(elemDelay) != "undefined") elemTimer=setTimeout('kovElem()',elemDelay);};
