$j=jQuery.noConflict();
$j(document).ready(function() {

	var pwd = $j('input[name="pwd"]');
	var pwd_clear = $j('input[name="pwd-clear"]');
	pwd.hide();
	pwd_clear.show();

	$j('#header input').focus(function (e) {
		if ( $j(this).val() == $j(this).attr('alt')) {
			$j(this).val('');
		}
		if ($j(this).attr('name') == 'pwd-clear') {
			pwd_clear.hide();
			pwd.show();
			pwd.focus();
		}
	});
	$j('#header input').blur(function (e) {
		if ( $j(this).val() == '') {
			$j(this).val($j(this).attr('alt'));
		}
	});
	
	$j('#cb-clubderbesten').click(function (e) {
	
		if ($j(this).attr('checked') == 1) {
		
			$j('#div-clubderbesten').slideDown('slow');
		
		} else {
		
			$j('#div-clubderbesten').slideUp('slow');
		
		}
	
	});
	
	
	
	
	
	$j('a[href$=.pdf]').addClass('is-download').addClass('pdf');
	$j('a[href$=.zip]').addClass('is-download').addClass('zip');
	
	$j('table').attr('cellspacing', 0);
	if ($j.tablesorter != null) {
   	$j.tablesorter.defaults.widgets = ['zebra'];
   	$j('table.tablesorter').tablesorter({
   		sortList: [[0, 0]]
   	});
   }	 

});