/* 
   many thanks to the folks at http://www.codingforums.com/
   for fixing this script so that it works properly 
*/

function openLink(objLink) { // to do with onclick
var w=window.open(objLink, 'popup', 'scrollbars=1,resizable=1,width=680,height=565,left=20,top=20'); // make each link open in same window
w.focus(); // make popped window open on top of other windows
return false;
}

/* add extra phrase to title in mouseover message */
function opensetAttribute(objLink){ // to do with mouseover
var addStr = " \(opens in new window\)"; // remember to add leading space
if (objLink.title.indexOf(addStr)==-1) { 
objLink.title = objLink.title + addStr; // add extra phrase 
('target','_blank'); // open in new window
 }
}


/* HTML coding for links

<a href="url" title="description" onclick="return openLink(this.href);"
onmouseover="return opensetAttribute(this)" onmouseout="">link name</a>

*/
