function google_afs_request_done(google_ads) {

/*
* This function is required and is used to display
* the ads that are returned from the JavaScript
* request. You should modify the document.write
* commands so that the HTML they write out fits
* with your desired ad layout.
*/
var s = '';
var i;

var limit = 5;


/*
* Verify that there are actually ads to display.
*/
if (google_ads.length == 0) {
return;
}


		  /*
		  * For text ads, append each ad to the string.
		  */
		for(i = 0; i < google_ads.length; ++i) {
			
			if(i < limit){
				
			var myClass = '';
			
			if( i % 2 == 0 ){
				myClass = 'alt'; // odd
			}
			
			if(i == 0 ){
				var PUTTBORDER = ' border-top:4px solid #D1E6F1;';
			} else {
				var PUTTBORDER = ' ';
			}
			
			if(i == 0){
				s += '<tr class=""><td colspan="4" style="padding:4px 80px;"><a style="padding:0 0 0 8px; margin:0 4px 0 0; text-decoration:none; font-weight:normal; font-size:11px; color:#093E62;" href="http://services.google.com/feedback/online_hws_feedback">Ads van Google</a><br /></td></tr>';
			}
			
			if(i == 0){
			s += '<tr class="'+myClass+'" onmouseover="this.style.background=\'#D1E6F1\'" onmouseout="if(this.className == \'alt\'){ this.style.background=\'#E8F3F8 \'; } else { this.style.background=\'#FFFFFF\';}"><td class="pic" style="'+PUTTBORDER+'  border-top:0;"></td><td colspan="1" class="content" style="'+PUTTBORDER+'  border-top:0;">';
			}else {
			s += '<tr class="'+myClass+'" onmouseover="this.style.background=\'#D1E6F1\'" onmouseout="if(this.className == \'alt\'){ this.style.background=\'#E8F3F8 \'; } else { this.style.background=\'#FFFFFF\';}"><td class="pic" style="'+PUTTBORDER+'"></td><td colspan="1" class="content" style="'+PUTTBORDER+'">';
			}
			
			/*s += '<tr class="'+myClass+'" onmouseover="this.style.background=\'#BFDBEB\'" onmouseout="if(this.className == \'alt\'){ this.style.background=\'#F0F7FB \'; } else { this.style.background=\'#FFFFFF\';}"><td class="pic" style="'+PUTTBORDER+'"><a href="http://services.google.com/feedback/online_hws_feedback"><img src="/design/images/layout/ads_door_google.png" /></a></td><td colspan="3" class="content" style="'+PUTTBORDER+'"><a  style="font-weight:bold; font-size:15px;" href="' + */
			s += '<a  style="font-size:15px;" href="' +
			google_ads[i].url + '" class="title" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true" target=\'_blank\'> ' + 
			google_ads[i].line1 + '</a><br /> <span style="color: #363636; font-size:11px;">' +
			google_ads[i].line2 + ' <a style="font-weight:normal; text-decoration:none; color:#777888; font-size:9px;" href="' + 
			google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true">' + 
			google_ads[i].visible_url + '</span></a></td><td></td><td>&nbsp;</td></tr>';
			}
}


	document.write(s);
	return;
  }


google_skip = '5';
google_afs_ad = 'w5'; // specify the number of ads you are requesting
google_afs_client = 'pub-9862944976810454'; // substitute your client ID
google_afs_channel = '9792837181'; // enter your custom channel ID
google_afs_hl = 'nl'; // enter your interface language if not English
// google_afs_ie = 'utf8'; // select input encoding scheme
// google_afs_oe = 'utf8'; // select output encoding scheme