function AdSenseCustom(page){

	var s = '';
	var i;

	/*
	* Controleer of er daadwerkelijk advertenties beschikbaar zijn voor weergave.
	*/
	if (google_ads.length == 0) {
		return;
	}

	if (google_ads[0].type == "flash") {


	} else if (google_ads[0].type == "image") {



	} else if (google_ads[0].type == "html") {

		//s += google_ads[0].snippet;

	} else {

		if (google_ads.length == 1) {


		} else if (google_ads.length > 1) {
			if(page == 'index') {
				s += '<table cellpadding="15" cellspacing="15" border="4" class="googleAdsTableLocationTop" style="background-image: url(/images/newstyle/content_bg.gif); background-repeat: repeat-x;width: 341px; padding-top: 5px;">';
				for(i = 0; i < 3; ++i) {
					
						s += '<tr>';


					if(i == 1){
						s += '<td class="oneven">';
					} else {
						s += '<td>';
					}

					s += '<h2 style="text-decoration: none; color: #0000FF;"><a style="text-decoration: none; color: #0000FF;" href="';
					s += google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'ga naar ';
					s += google_ads[i].visible_url + '\';return true" target="_blank"> <span style="text-decoration:none"> <b>';
					s += google_ads[i].line1 + '</b><br/></span></a></h2> <span style="color:#000000; font-size: 12px;">';
					s += google_ads[i].line2 + '<br/>';
					s += google_ads[i].line3 + '</span><br /><p style="margin-top: 5px; font-weight: normal;"><a style="color:#6babc6; text-decoration: none; font-weight: normal; font-size: 12px;" href="';
					s += google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'ga naar ';
					s += google_ads[i].visible_url + '\';return true" target="_blank"><img style="vertical-align: middle; margin-right: 7px;" src="/images/arrow.gif" border="0" />';
					s += google_ads[i].visible_url + '</p></a>';
					s += '</td>';

					
						s += '</tr>';
					
				}
				s += '</table>';
                                
			}

		}
	}

	return s;
}

