if (document.layers) { 
document.captureEvents(Event.CLICK);
} 
document.onclick = function (evt) { 
var target = document.all ? event.srcElement : evt.target;
if (target.href) {
if ((target.href.indexOf('http://www.wesmarkfunds.com') != -1) || (target.href.indexOf('http://wesmarkfunds.com') != -1) || (target.href.indexOf('http://marketing.alpsinc.com') != -1)){
return true;
} else {
return confirm ('You are now leaving www.wesmarkfunds.com  The Wesmark Funds are not responsible for the content set forth on external websites. No judgment or warranty is made with respect to the accuracy, timeliness, or suitability of the content of information on the site regarding the Wesmark Funds, and Wesmark Funds takes no responsibility thereof.  To return to Wesmark Funds, simply close the second browser window.  Thank you.  Click "OK" to continue.');
}
} 
} 
