// places to ignore
var whereWeAre = document.URL.replace(location.hostname, '').replace(location.protocol,'');
var showLink =1;
//alert(whereWeAre);
// yes you do need the ///at the start
if (whereWeAre == "///cgi-bin/icc.cgi"){showLink-- }
if (whereWeAre == "///cgi-bin/icc.cgi?"){showLink--}

if (showLink == 1){
var eUrl = escape(document.URL).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27');
var eTitle = escape(document.title).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27');
if (eTitle == ""){eTitle =eUrl};
var url ='/cgi-bin/emailafriend.cgi?referer=html&id=1&isstatic=Y&url=' + eUrl + '&title='+ eTitle;
document.write('<a href='+ url +' title="Email this page"><img src="/images/icon-email.gif" alt="Email this page icon" /></a><a href='+ url +'></a>');
}
