function check()
	{
		if(document.prop_box.soort1.checked == false && document.prop_box.soort2.checked == false && document.prop_box.soort3.checked == false)
		{
			alert('Er dient minimaal 1 soort aanbieder geselecteerd te worden');
			return false;
		}
		else if(document.prop_box.bellenvan1.checked == false && document.prop_box.bellenvan2.checked == false)
		{
			alert('Er dient minimaal 1 soort \'vanaf\' manier geselecteerd te worden.');
			return false;
		}
		else
		{
			document.prop_box.submit();
		}
	}
	$(function() {		
		$("#tablesorter-demo").tablesorter({ sortList: [[3,0]] ,widgets: ['zebra']});
		$(".soort_aanbieder").tooltip({
			track: true,
			delay: 0,
			showURL: false,
			fixPNG: true,
			extraClass: "pretty fancy",
			top: -15,
			left: 5
		});
	});	
	$(document).ready(function(){
	   $(".external_links, .external_signup").click(function(event){
		 $.ajax({
					method: "get",url: "/r.php",data: "page="+this.id+"&type="+this.className,
							success: function(html){ //so, if data is retrieved, store it in html
							$(".content").html(html); //show the html inside .content div
					 }
				 }); //close $.ajax(
	   });
		 
		 
	$("#prop-box li").hover(
				function(){ $("ul", this).fadeIn("fast"); }, 
				function() { } 
			);
	  	if (document.all) {
				$("#prop-box li").hoverClass ("sfHover");
			}
	  
	 });
	   
	  
		$.fn.hoverClass = function(c) {
			return this.each(function(){
				$(this).hover( 
					function() { $(this).addClass(c);  },
					function() { $(this).removeClass(c); }
				);
			});
		};
