$(document).ready(function(){
	//Code for showing hidden forms 
	$("a.showMe").click(function(){ 
		//$(this).slideUp('slow');
		$(this).parent().slideUp('slow');
		$(this).parent().next().slideDown('slow');
	}); 
	$("a.hideMe").click(function(){ 
		$(this).parent().slideUp('slow');
		$(this).parent().prev().slideDown('slow');
	}); 
	$("a.link-show").click(function(){ 
		$(".hideme:hidden").slideDown("slow");
	});
	
	var readmoretext = false;	
	$("a.displayToggle").click(function() {
		$("div.short",$(this).parent()).slideToggle("slow");
		$("div.long",$(this).parent()).slideToggle("slow");
		if($(this).text() != 'close'){
			readmoretext = $(this).text();
			$(this).text('close');
		} else {
			$(this).text(readmoretext);
		}	
	});	
	
	//Code for table sorter
	//$.tablesorter.defaults.widgets = ['zebra'];
	//$("#contentlisttable").tablesorter(  { headers: { 4: { sorter: false}, 5: { sorter: false} }}  ); 	
	
	// Hide Ordering Columns
	 //$('#r3c2 tr > td:nth-child(4), tr.orderonline-cart, .orderaccount-accountnumber').hide('fast',function(){$('#orderonline-products').show();});
});

