function hide_em(e)	{
	YAHOO.util.Dom.setStyle('lev_soynut', 'display', 'none');	
}

function toggleDisplay(e) {
	el = 'lev_' + this.id;
	el1 = this.id;
	arrow = document.getElementById('arrow_' + this.id);	
	area = YAHOO.util.Dom.getStyle(el, 'display');
	
	if ( area == 'block' ) {
		YAHOO.util.Dom.setStyle(el, 'display', 'none');
		//arrow.innerHTML = '<img src="images/icons/folder.gif">';
		
	} else {
		YAHOO.util.Dom.setStyle(el, 'display', 'block');
		//arrow.innerHTML = '<img src="images/icons/folder_images.gif">';
	}

}


// add the listener - called in the onAvaible event
YAHOO.util.init = function() {   
	
	YAHOO.util.Event.onAvailable('lev_soynut', hide_em);
	temp1 = YAHOO.util.Dom.getElementsByClassName('toggleLink');
	YAHOO.util.Event.addListener(temp1, 'click', toggleDisplay);
	
};

//When the element becomes available, initialize the addListener
YAHOO.util.Event.onAvailable('lev_soynut', YAHOO.util.init);	