function fnGetSelected( oTableLocal )
{
	var aReturn = new Array();
	var aTrs = oTableLocal.fnGetNodes();
	
	for ( var i=0 ; i<aTrs.length ; i++ )
	{
		if ( $(aTrs[i]).hasClass('row_selected') )
		{
			aReturn.push( aTrs[i] );
		}
	}
	return aReturn;
}


function fnSelectAll( tableId )
{
	$(tableId + " tr").each(function () {
		if ( !$(this).hasClass('row_selected') )
		{
			$(this).addClass('row_selected');
		}
	});
}


function fnSelectNone( tableId )
{
	$(tableId + " tr").each(function () {
		if ( $(this).hasClass('row_selected') )
		{
			$(this).removeClass('row_selected');
		}
	});
}


function fnSelectInverse( tableId )
{
	$(tableId + " tr").each(function () {
		if ( $(this).hasClass('row_selected') )
		{
			$(this).removeClass('row_selected');
		}
		else
		{
			$(this).addClass('row_selected');
		}
	});
}
