function MenuLaden(id) {
    new Ajax.Updater('aktuelles',
        siteWebroot + 'Aktuelles/anzeigen/' + id + '/',
            {
                asynchronous:true,
                evalScripts:true,
                requestHeaders:['X-Update', 'aktuelles'],
                onComplete: function(request, json)
                    { 
                        Effect.Appear('aktuelles', { duration: 0.4 });
                  /*      setTimeout(
                            function() {
                  //              $('layerzh1').innerHTML = 'E-Mail Benachrichtigung';
                  //              Effect.Appear('layerzh1', { duration: 0.3 });
                  //              Effect.Appear('layerzmessage', { duration: 0.3 });
                            },400
                        ) */
                    }
                //onSuccess: function() 
                //    {
                //        new Effect.SlideDown('nachricht', {queue:'end'});
                //    }
            }
        );
}

function NachrichtZeigen(id) {
    new Ajax.Updater('nachricht',
        siteWebroot + 'Aktuelles/nachricht/' + id + '/',
            {
                asynchronous:true,
                evalScripts:true,
                requestHeaders:['X-Update', 'nachricht'],
                onComplete: function(request, json)
                    { 
                        Effect.Appear('nachricht', { duration: 0.4 });
                  /*      setTimeout(
                            function() {
                  //              $('layerzh1').innerHTML = 'E-Mail Benachrichtigung';
                  //              Effect.Appear('layerzh1', { duration: 0.3 });
                  //              Effect.Appear('layerzmessage', { duration: 0.3 });
                            },400
                        ) */
                    }
                //onSuccess: function() 
                //    {
                //        new Effect.SlideDown('nachricht', {queue:'end'});
                //    }
            }
        );
}

function AddNews() {
    new Ajax.Updater('nachricht',
        siteWebroot + 'Aktuelles/add/',
            {
                asynchronous:true,
                evalScripts:true,
                requestHeaders:['X-Update', 'nachricht'],
                onComplete: function(request, json)
                    { 
                        Effect.Appear('nachricht', { duration: 0.4 });
                  /*      setTimeout(
                            function() {
                  //              $('layerzh1').innerHTML = 'E-Mail Benachrichtigung';
                  //              Effect.Appear('layerzh1', { duration: 0.3 });
                  //              Effect.Appear('layerzmessage', { duration: 0.3 });
                            },400
                        ) */
                    }
                //onSuccess: function() 
                //    {
                //        new Effect.SlideDown('nachricht', {queue:'end'});
                //    }
            }
        );
}

function AddPics() {
    new Ajax.Updater('nachricht',
        siteWebroot + 'Fotos/add/',
            {
                asynchronous:true,
                evalScripts:true,
                requestHeaders:['X-Update', 'nachricht'],
                onComplete: function(request, json)
                    { 
                        Effect.Appear('nachricht', { duration: 0.4 });
                  /*      setTimeout(
                            function() {
                  //              $('layerzh1').innerHTML = 'E-Mail Benachrichtigung';
                  //              Effect.Appear('layerzh1', { duration: 0.3 });
                  //              Effect.Appear('layerzmessage', { duration: 0.3 });
                            },400
                        ) */
                    }
                //onSuccess: function() 
                //    {
                //        new Effect.SlideDown('nachricht', {queue:'end'});
                //    }
            }
        );
}

function FotoAnzeigen(id, aktuelle_id) {
    new Ajax.Updater('fotos',
        siteWebroot + 'Fotos/anzeigen/' + id + '/' + aktuelle_id,
            {
                asynchronous:true,
                evalScripts:true,
                requestHeaders:['X-Update', 'fotos'],
                onComplete: function(request, json)
                    { 
                        Effect.Appear('fotos', { duration: 0.4 });
                  /*      setTimeout(
                            function() {
                  //              $('layerzh1').innerHTML = 'E-Mail Benachrichtigung';
                  //              Effect.Appear('layerzh1', { duration: 0.3 });
                  //              Effect.Appear('layerzmessage', { duration: 0.3 });
                            },400
                        ) */
                    }
                //onSuccess: function() 
                //    {
                //        new Effect.SlideDown('nachricht', {queue:'end'});
                //    }
            }
        );
}
