// 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 ='http://www.daffern.co.uk/cgi-bin/emailafriend17e2.html?referer=html&amp;id=1&amp;isstatic=Y&amp;url=' + eUrl + '&title='+ eTitle;
document.write('<a href='+ url +'><img src="/images/mail.gif" id="iconMailaFriend" alt="Mail this page to a friend" border="0" name="iconMailaFriend" ></a><a href='+ url +'>Mail this page to a friend</a>');
}
