jQuery.noConflict();


 
function textCounter(field,cntfield,maxlimit) {
	if (field.value.length > maxlimit) // if too long...trim it!
	field.value = field.value.substring(0, maxlimit);
	// otherwise, update 'characters left' counter
	else
	cntfield.value = maxlimit - field.value.length;
}
jQuery(function() {		
	jQuery("#tablesorter").tablesorter({ 
	sortList:[[1,0]],
	  headers: {5: {sorter: false}}
	}); 
});	

var addthis_config = {
    ui_click: true /* normally would disable mouseover behavior */
}


// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
jQuery(document).ready(function() {
 if (jQuery("#ajanlatkeres_modal").get(0) != undefined) {
  var triggers = jQuery("a.modalbox").overlay({
  	top: 20,
  	fixed: false,
	// some mask tweaks suitable for modal dialogs
	mask: {
		color: '#ebecff',
		loadSpeed: 200,
		opacity: 0.9
	},
	closeOnClick: false,
	onBeforeLoad: function(event, tabIndex) {
		document.location.href='#start';
	}
  });
 }
});


