if( typeof at == "undefined" ) at = {};
if( typeof at.treemotion == "undefined" ) at.treemotion = {};

at.treemotion.lookforit = function(){
	new Ajax.Updater('treffer', '../modules/Schulfuehrer/get.php', {
	  	parameters: $('suche').serialize(true),
	  	onSuccess: function(transport){}
	  });

	  return false;
}

at.treemotion.loadDetails = function(sid){
	$('sfsuche').hide();
	$('details').show();
	new Ajax.Updater('details', '../modules/Schulfuehrer/detail.php?sid=' + sid, {
	  	onSuccess: function(transport){}
	  });

	  return false;
}

at.treemotion.backToSF = function(sid){
	$('sfsuche').show();
	$('details').hide();
}
