
   /* nieuwsberichten */
   
   function getname(theLink){
      //alert('id: '+theLink.id+'');
     
      if(typeof(theLink.id)!="undefined"){ 
        linkje = theLink.id;
      }else{
        linkje = theLink; /* sessie keuze bezoeker */
      }
     
      jQuery(function($) { 
        $('#contentArea').show('fast',loadContent(linkje));
      });
   }

   function loadContent(id) {
      /*$('#contentArea').load("testje.html",showNewContent())*/
      /*$('#contentArea').load('https://vps721.2is.nl:8443/sitepreview/http/toxandria.com/nieuws'+id+'.html',showNewContent())*/
            
      $('#contentArea').hide('fast');
      $('#contentArea').load('http://www.toxandria.com/nieuwsfront.php?id='+id+'',showNewContent())

   }
   
   $().ajaxSend(function(r,s){   
      $("#contentLoading").show('fast');   
   });   
     
   $().ajaxStop(function(r,s){   
      $("#contentLoading").fadeOut("normal");   
   }); 
   
   function showNewContent() {
      $('#contentArea').show('fast');
   }


   /* wedstrijd verslagen */
   
   function getverslag(thezLink){
      //alert('id: '+thezLink.id+'');
     
      if(typeof(thezLink.id)!="undefined"){ 
        linkzje = thezLink.id;
      }else{
        linkzje = thezLink; /* sessie keuze bezoeker */
      }
     
      jQuery(function($) { 
        $('#verslagArea').show('fast',loadverslag(linkzje));
      });
   }

   function loadverslag(idz) {
            
      $('#verslagArea').hide('fast');
      $('#verslagArea').load('http://www.toxandria.com/wedstrijd_verslag.php?id='+idz+'',showNewverslag())

   }
   
   function showNewverslag() {
      $('#verslagArea').show('fast');
   }
