var $j = jQuery.noConflict();  
var errormessage = 'U dient eerst een onderwerp uit een van de rubrieken te kiezen.';
$j(document).ready(function(){
	$j('#Ga1').click( function () { 
		var x=$j('#demografie option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga1 :onclick').attr('disabled', true);

		}
		else {
			window.location=document.zoekform.demografie.options[document.zoekform.demografie.selectedIndex].value;

		}
	});

	$j('#Ga2').click( function () { 
		var x=$j('#jeugd option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga2 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.jeugd.options[document.zoekform.jeugd.selectedIndex].value;
		}
	});

	$j('#Ga3').click( function () { 
		var x=$j('#participatie option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga3 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.participatie.options[document.zoekform.participatie.selectedIndex].value;
		}
	});

	$j('#Ga4').click( function () { 
		var x=$j('#buurtgegevens option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga4 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.buurtgegevens.options[document.zoekform.buurtgegevens.selectedIndex].value;
		}
	});

	$j('#Ga5').click( function () { 
		var x=$j('#kinderen option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga5 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.kinderen.options[document.zoekform.kinderen.selectedIndex].value;
		}
	});

	$j('#Ga6').click( function () { 
		var x=$j('#jeugd option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga6 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.jeugd.options[document.zoekform.jeugd.selectedIndex].value;
		}
	});

	$j('#Ga7').click( function () { 
		var x=$j('#ouders option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga7 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.ouders.options[document.zoekform.ouders.selectedIndex].value;
		}
	});

	$j('#Ga8').click( function () { 
		var x=$j('#volwassenen option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga8 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.volwassenen.options[document.zoekform.volwassenen.selectedIndex].value;
		}
	});

	$j('#Ga9').click( function () { 
		var x=$j('#organisatieontwikkeling option:selected').val();
		if (x==''){
			alert(errormessage);
			$j('#Ga9 :onclick').attr('disabled', true); }
		else {
			window.location=document.zoekform.organisatieontwikkeling.options[document.zoekform.organisatieontwikkeling.selectedIndex].value;
		}
	});



});