I'm attempting to put some logic into a dynamically generated page with links. For example, if a link contains 'pubtext' in the url, I want the link to open in another window (target=_blank"). All other links to open in the same window (target="_self"). I"m just not sure how to accomplish this. Any ideas would be much appreciated.