
function newLink()
 {
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    // bind form using ajaxForm 
    $('#newLinkForm').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#meldungNewL', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            $('#meldungNewL').fadeIn('slow'); 
        } 
    }); 
});
}

function editWerbung()
 {
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    // bind form using ajaxForm 
    $('#formWerbung').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#meldungWe', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            $('#meldungWe').fadeIn('slow'); 
        } 
    }); 
});
}

function editEin()
 {
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    // bind form using ajaxForm 
    $('#formEinAd').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#formEinAd', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            $('#formEinAd').fadeIn('slow'); 
        } 
    }); 
});
}


function editProfil()
 {
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    // bind form using ajaxForm 
    $('#formEditP').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#meldungEditP', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            $('#meldungEditP').fadeIn('slow'); 
        } 
    }); 
});
}

function scroll_f(was, wo, seite)
 {

  $.get("index.php", { datei: wo, request: "datei", seite: seite, vari:"1" }, function(data){
 
$("#heyho").html(data);


});
 }

function delete_link(id, seite)
 {

  $.get("index.php", { datei: "acp/linksueber", request: "datei", seite: seite, vari:"6", lid: id }, function(data){
 
$("#heyho").html(data);


});
 }
 
function edAkGe(wer, was, sc)
 {
  $.get("index.php", { datei: "acp/userueber", request: "datei", vari: "3", was: "aktiv", editF: was, wer:wer }, function(data){
  
});

scroll_f('', 'acp/userueber', sc);
 }

 function edLiAl(wer, was, sc, was2)
 {
  $.get("index.php", { datei: "acp/linksueber", request: "datei", vari: "3", was: was2, editF: was, wer:wer }, function(data){
  
});

scroll_f('', 'acp/linksueber', sc);
 }
 
  function edLiUs(wer, was, was2)
 {
  $.get("index.php", { datei: "game_in/m_links", request: "datei", vari: "2", was: was2, editF: was, wer:wer }, function(data){
  
});

navil('', 'game_in/meine_links');
 }
 


function editACP(was, wer, wo, sc)
 {
 $.get("index.php", { datei: "acp/userueber", request: "datei", vari: wo, was: was, wer: wer, sc:sc }, function(data){
 
   $('#dasisteindivxD').dialog('option', 'title', 'User Bearbeiten');
$("#dasisteindivxD").html(data);
$('#dasisteindivxD').dialog('open');

 

});

}

function editACP2(was, wer, wo, sc)
 {
 $.get("index.php", { datei: "acp/linksueber", request: "datei", vari: wo, was: was, wer: wer, sc:sc }, function(data){
 
   $('#dasisteindivxD').dialog('option', 'title', 'Links Bearbeiten');
$("#dasisteindivxD").html(data);
$('#dasisteindivxD').dialog('open');

 

});

}
function editUsLi(was, wer)
 {
 $.get("index.php", { datei: "game_in/m_links", request: "datei", vari: "1", was: was, wer: wer }, function(data){
 
   $('#dasisteindivxD').dialog('option', 'title', 'Link Bearbeiten');
$("#dasisteindivxD").html(data);
$('#dasisteindivxD').dialog('open');

 

});

}



 function ediAS()
 {
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    // bind form using ajaxForm 
    $('#usEd').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#melED', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            $('#melED').fadeIn('slow'); 
        } 
    }); 
});
}


function meLiSeV()
 {
  $.get("index.php", { datei: "game_in/m_links", request: "datei", vari: "5" }, function(data){
 
navil('', 'game_in/meine_links');

});
 }
 
 function meLiSeB()
 {
  $.get("index.php", { datei: "game_in/m_links", request: "datei", vari: "6" }, function(data){
 
navil('', 'game_in/meine_links');

});
 }

