function getNewHTTPObject(){    
	var xmlhttp;    
 
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined'){        

		try{            
			xmlhttp = new XMLHttpRequest();        
		}        
		
		catch (e){            
			xmlhttp = false;        
		}    
	}    
	return xmlhttp;
}


var hent_indhold;
var th_id;
	function fetch_content(p_id){ 
		th_id = p_id;
		hent_indhold = getNewHTTPObject();    

		var url="front_sys/show_content.php"
			url=url+"?p_id="+p_id;
  
		hent_indhold.open('GET', url, true);    
    
		hent_indhold.onreadystatechange = vis_indhold;

		hent_indhold.send('');
	}

	function vis_indhold(){
        	  
		if (hent_indhold.readyState == 4){
			document.getElementById('content_t').innerHTML = hent_indhold.responseText;   
		}
	}