function pokaz_img(warstwa, ile){


	for (var i = 1; i <= ile; i++)                                           
	{                                                                     
		if (document.getElementById){
			
			if(warstwa==i){
				document.getElementById('g'+i).style.display="block";
			}
			else{
				document.getElementById('g'+i).style.display="none";
			}
		}
		else if (document.all){
			
			if(warstwa==i){
				document.all['g'+i].style.display="block";
			}
			else{
				document.all['g'+i].style.display="none";
			}

		}                                         
	}
}

function zaladuj_FCK(pole)
{
	// Automatically calculates the editor base path based on the _samples directory.
	// This is usefull only for these samples. A real application should use something like this:
	// oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
	var sBasePath = 'fckeditor/' ;

	var oFCKeditor = new FCKeditor(pole) ;
	oFCKeditor.BasePath	= sBasePath ;
	oFCKeditor.Height=200;
	//oFCKeditor.Config['SkinPath'] = sBasePath + 'editor/skins/' + sSkin + '/' ;
	oFCKeditor.ReplaceTextarea() ;
}
