/**
 * additional functions which active in non - insite editing only
 * see kfw_functions.js
 */
$(function() {
	/*moves a t*/
	function moveTeaser(teaserId, teaserAnchor) {
		$('#'+teaserId).insertAfter($('#'+teaserAnchor));
		$('#'+teaserAnchor).remove();
		$('#'+teaserId).addClass("teaser-right-out");
	}
	function moveMemoTeaser() {
		$('div.teaser-interest').insertBefore('#content > p:eq(0)');
		
	}
	moveTeaser("glossaryTeaser", "AnkerGlossar");
	moveTeaser("infoboxTeaser", "AnkerInfobox");

	//moveMemoTeaser();

	//defined in graphs.js, included by Basis.jsp
	graphs_init();
});

