function rap_fmtClassFld(s)
{
    var ar = s.split("; "); 
    var l=ar.length; if (l > 1) 
    {
    
        document.write("<a href='#' onclick='this.nextSibling.style.display=(this.nextSibling.style.display==\"block\") ? \"none\" : \"block\";'>");
        document.write((l/4) + " Term" + ((l>4)?"s":"") + "</a>");
        document.write("<div style='display:none'>"); 
        
        for (var c=0;c<l;c=c+4)
        {
            if ((c+1) < l) 
                document.write("<div style='white-space:nowrap'>" + ar[c+1] + "</div>");
        }
        
        document.write("</div>");
    }
}

//function rap_fmtClassFld(s)
//{
//    var ar = s.split("; ");
//    var sValues = '';
//    
//    for (var j=0;j<ar.length;j++)
//    {
//        if((j % 2)==1)
//            sValues += ((sValues!='')?';':'') + ((ar[j]!=null)?ar[j]:'');
//    }
//        
//    var aValues = sValues.split(";");
//    var l=aValues.length; 
//    if (l >= 1) 
//    {
//        document.write("<a href='#' onclick='this.nextSibling.style.display=(this.nextSibling.style.display==\"block\") ? \"none\" : \"block\";'>");
//        document.write(parseInt(l) + " Term" + ((l>1)?"s":"") + "</a>");
//        document.write("<div style='display:none'>"); 
//        
//        for (var c=0;c<l;c++)
//        {
//            document.write("<div style='white-space:nowrap'>" + aValues[c] + "</div>");
//        }
//        
//        document.write("</div>");
//    }
//}