var myFilterFunc = function(dataSet, row, rowNumber)
{
	if (row["subject"]!=null)
		return row; // Return the row to keep it in the data set.
	return null; // Return null to remove the row from the data set.
};
function ffBus(ds, row, index){
	if (row["subject"].match('bus'))
		return row;
	return null;
};
function ffCom(ds, row, index){
	if (row["subject"].match('com'))
		return row;
	return null;
};
function ffEco(ds, row, index){
	if (row["subject"].match('eco'))
		return row;
	return null;
};
function ffEdu(ds, row, index){
	if (row["subject"].match('edu'))
		return row;
	return null;
};
function ffEth(ds, row, index){
	if (row["subject"].match('eth'))
		return row;
	return null;
};
function ffFin(ds, row, index){
	if (row["subject"].match('fine'))
		return row;
	return null;
};
function ffFinance(ds, row, index){
	if (row["subject"].match("finance"))
		return row;
	return null;
};
function ffFor(ds, row, index){
	if (row["subject"].match('for'))
		return row;
	return null;
};
function ffGene(ds, row, index){
	if (row["subject"].match('geneology'))
		return row;
	return null;
};
function ffGen(ds, row, index){
	if (row["subject"].match('general'))
		return row;
	return null;
};
function ffGov(ds, row, index){
	if (row["subject"].match('gov'))
		return row;
	return null;
};
function ffHis(ds, row, index){
	if (row["subject"].match('his'))
		return row;
	return null;
};
function ffHea(ds, row, index){
	if (row["subject"].match('hea'))
		return row;
	return null;
};
function ffHum(ds, row, index){
	if (row["subject"].match('hum'))
		return row;
	return null;
};
function ffInd(ds, row, index){
	if (row["subject"].match('ind'))
		return row;
	return null;
};
function ffInt(ds, row, index){
	if (row["subject"].match('int'))
		return row;
	return null;
};
function ffLaw(ds, row, index){
	if (row["subject"].match('law'))
		return row;
	return null;
};
function ffLit(ds, row, index){
	if (row["subject"].match('lit'))
		return row;
	return null;
};
function ffMed(ds, row, index){
	if (row["subject"].match('med'))
		return row;
	return null;
};
function ffNew(ds, row, index){
	if (row["subject"].match('new'))
		return row;
	return null;
};
function ffPhi(ds, row, index){
	if (row["subject"].match('phi'))
		return row;
	return null;
};
function ffPol(ds, row, index){
	if (row["subject"].match('pol'))
		return row;
	return null;
};
function ffRel(ds, row, index){
	if (row["subject"].match('rel'))
		return row;
	return null;
};
function ffTec(ds, row, index){
	if (row["subject"].match('tec'))
		return row;
	return null;
};
function ffSoc(ds, row, index){
	if (row["subject"].match('soc'))
		return row;
	return null;
};
function ffWom(ds, row, index){
	if (row["subject"].match('wom'))
		return row;
	return null;
};

function MM_effectSlide(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}