<% function LimitWords(str,num) if len(str)>num then temp=left(str,num)+"..." else temp=str end if LimitWords=temp end function %>