<script> var infoTitle = '<ww:property value="infoTitle"/>'; if(infoTitle.length<19) document.write(infoTitle); else document.write(infoTitle.substring(0,17)+"..."); </script>