//tu jest skrypcik do podmiany gifow

Jak_on= new Image;
Jak_off= new Image;

Jak_on.src= "http://www.zdrowo.pl/t04_on.gif";
Jak_off.src= "http://www.zdrowo.pl/t04_off.gif";

Gdzie_on= new Image;
Gdzie_off= new Image;

Gdzie_on.src= "http://www.zdrowo.pl/t02.gif";
Gdzie_off.src= "http://www.zdrowo.pl/t02_off.gif";

//tu sie zaczyna skrypt do rozwijania listy

	function checkParent( src, tagName ) {
		while ( src != null ) {
			if (src.tagName == tagName) 
				return src;
			src = src.parentElement;
		}
		return null;
	}

	
	// Returns the first tag with tagName contained by
	// the src tag. If no such tag is found - null is returned.
	function checkContent( src, tagName ) {
		var pos = src.sourceIndex ;
		while ( src.contains( document.all[++pos] ) )
			if ( document.all[pos].tagName == tagName )
				return document.all[pos] ;
		return null ;
	}

      
	// Handle onClick event in the outline box
	function outlineAction() {     
		var src = event.srcElement ;
		var item = checkParent( src, "LI" ) ;

		if ( parent != null ) {
			var content = checkContent( item, "UL" ) ;

			if ( content != null )
				if ( content.style.display == "" )
					content.style.display = "block" ;
				else
					content.style.display = "" ;
		}
		event.cancelBubble = true;
	}