function toggle_specs(id) 
	{
		for (i=1; i<7; i++)
		{ 
			document.getElementById('LI_'+i).className = "";
			document.getElementById('AH_'+i).className = "";
			document.getElementById('DI_'+i).style.display = 'none';
			
		}
		document.getElementById('LI_'+id).className = "active";
		document.getElementById('AH_'+id).className = "active";
		document.getElementById('DI_'+id).style.display = 'block';
	}
	
	function toggle_reviewDetail(id) 
	{
		document.getElementById(id).style.display = 'block';
	}
	function hide_reviewDetail(id) 
	{
		document.getElementById(id).style.display = 'none';
	}
	
		function activeRecomtab(id){ //functie voor setten van actieve providertabs bij de gsm+abo-lijst
		for (i=1; i<7; i++)
			{ 
				if(id==i){
					document.getElementById('RT_'+i).className = "active";
				}else{
					document.getElementById('RT_'+i).className = "";
				}
			}
		}
	
	
		// TEMP Ajax ding voor laden van tabel met abo's voor onder Recom's... kon zo snel geen geschikte algemene functie/methode vinden.
	var ajaxdestination="";

	function getdata(what,where) { // what = de php file, where= id van het te vullen element 
	 try {
	   xmlhttp = window.XMLHttpRequest?new XMLHttpRequest():
			new ActiveXObject("Microsoft.XMLHTTP");
	 }
	 catch (e) { /* do nothing */ }

	 document.getElementById(where).innerHTML ="<center><img src='images/loading.gif'></center>";//laadbalkje voor de gebruiker
	// we are defining the destination DIV id, must be stored in global variable (ajaxdestination)
	 ajaxdestination=where;
	 xmlhttp.onreadystatechange = triggered; // when request finished, call the function to put result to destination DIV
	 xmlhttp.open("GET", what);
	 xmlhttp.send(null);
	  return false;
	}

	function triggered() { // put data returned by requested URL to selected DIV
	  if (xmlhttp.readyState == 4) if (xmlhttp.status == 200) 
		document.getElementById(ajaxdestination).innerHTML =xmlhttp.responseText;
	}	
	
	/*Provider tabs voor icm abonnement tabel*/
	// javascript for provider tab selection:
		function providerselect(source, providername){
			$('#abotables a').removeClass("active");
			$('#abotables a#provselect_'+providername).addClass("active");
			$('#abotables div.aboholder_providercontainer').hide();		// hide all providers
			$('#abotables #abotables_provider_'+providername).show();	// show one provider
		}

		function showverlengingen(n){
		//	window.location = window.location.protocol + '//' + window.location.host + zakelijkurl + '/verlenging_gsm/';
			if(n){
				$('#abotables table.ppt tr.abonormaal').hide();
				$('#abotables table.ppt tr.aboverlenging').show();
				$('#abotables small.klikvoorverlenging').hide();
				$('#abotables small.klikvoornieuw').show();
				$('#shownieuw').hide();
				$('#showverleng').show();
			}else{
				$('#abotables table.ppt tr.aboverlenging').hide();
				$('#abotables table.ppt tr.abonormaal').show();
				$('#abotables small.klikvoornieuw').hide();
				$('#abotables small.klikvoorverlenging').show();
				$('#showverleng').hide();
				$('#shownieuw').show();
			}
		}
		
	/*Toggle uitgebreide beschrijving*/
	function toggleMoredescription(){
		$('div.description').toggle();
		$('div.moredescription').slideToggle();
		$('span#leesverder').toggle();
		$('span#inklappen').toggle();
	}
	

