/* Plugin Name: Open in New Window Plugin Plugin URI: http://www.BlogsEye.com/ Description: Opens external links in a new window, keeping your blog page in the browser so you don't lose surfers to another site. Version: 2.3 Author: Keith P. Graham Author URI: http://www.BlogsEye.com/ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ function kpg_oinw_action(event) { try { var b=document.getElementsByTagName("a"); var ksrv=window.location.hostname; ksrv=ksrv.toLowerCase(); for (var i = 0; i < b.length; i++) { // IE 6 bug - the anchor might not be a link and might not support hostname if (b[i] && b[i].href) { if (!(b[i].title)) { var ih=b[i].innerHTML; if (ih.indexOf('"; }); return ihtml.replace(/<\/?[^>]+(>|$)/g, ""); } catch (eee) { return ''; } }