
	function copyComment(wie,wat){
	
		
	
		var quote = '[quote]<strong>'+wie+' schreef:</strong>[br]' + document.getElementById(wat).value + '[br][/quote]';
	
		document.commentForm.comment.value = quote;
	}
	
	function putEmoticon(emoticon){
		document.commentForm.comment.value = document.commentForm.comment.value + ' ' + emoticon + ' '; 
	}	
	
	// JavaScript Document
	function GetXmlHttpObject(handler) 
	{ 
	   var objXMLHttp=null
	   if (window.XMLHttpRequest)
	   {
		   objXMLHttp=new XMLHttpRequest()
	   }
	   else if (window.ActiveXObject)
	   {
		  objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
	   }
	   return objXMLHttp
	}
	
	
	function stateChanged() 
	{ 
	   if (xmlHttp.readyState==4)
	   {
		  if(xmlHttp.status == 200)
		  { 
			 document.getElementById("ajaxContent").innerHTML=xmlHttp.responseText 
		  } 
		  else
		  {
			document.getElementById("ajaxContent").innerHTML="Er is een probleem opgetreden.";
		  }
	   }
		
		if (xmlHttp.readyState==1 || xmlHttp.readyState==2)  
		{
			 document.getElementById("ajaxContent").innerHTML="<ul><li>een moment geduld.</li></ul>";
		}
		
	} 
	
	
	function toonDetails(navLink)
	{
	   xmlHttp=GetXmlHttpObject()
	   if (xmlHttp==null)
	   {
		  alert ("Browser does not support HTTP Request")
		  return
		} 
		var url=navLink;
		url=url+"&sid="+Math.random()
	
	
		xmlHttp.onreadystatechange=stateChanged 
		xmlHttp.open("GET",url,true)
		xmlHttp.send(null)
	}	
	

