- nv.setAttribute('href', '#');
- nv.setAttribute('term', value);
- nv.setAttribute('searchfield', hyl);
- nv.onclick = function() { hyperlink_search(this); return false; };
+ if (hyl == 'URL')
+ {
+ nv.setAttribute('href', value);
+ nv.setAttribute('target', '_blank');
+ }
+ else
+ {
+ nv.setAttribute('href', '#');
+ nv.setAttribute('term', value);
+ nv.setAttribute('searchfield', hyl);
+ nv.onclick = function() { hyperlink_search(this); return false; };
+ }