/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
var branche = false;
var typee = false;

function filterAanbod(type, value){
	$('.transactielogo').hide();
	if(type == 'branche'){
		if(value == 'alles'){
			branche = false;
		} else {
			branche = value;
		}
	}

	if(type == 'type'){
		if(value == 'alles'){
			typee = false;
		} else {
			typee = value;
		}
	}

	if(typee && branche){
		$('.' + typee + '_' + branche).show();
	} else if (typee && !branche){
		$('.'+typee).show();
	} else if (branche && !typee){
		$('.branche_'+branche).show();
	} else if (!branche && !typee) {
		$('.transactielogo').show();
	}




}