// Create an email link
function sgSafeSend(a,d,e,t) {
	var f = a + '@' + d + '.' + e;
	
	if (typeof(t) != 'string')
		t = f;
	
	var s = '<a href="mailto:' + f + '">' + t + '</a>';
	
	document.write(s);
	return;
}

function jsiAccentLinks() {
	var ua = navigator.userAgent;
	var isIE = (ua.indexOf("MSIE") == -1) ? false : true;
	
	if (!isIE) return;
	
	var a = document.getElementsByTagName('a')
	for (var i=0; i<a.length;i++) {
		if (a[i].className.indexOf('accent') != -1) {
			var ico = document.createElement('img');
			ico.src = 'images/link_accent.gif';
			ico.style.marginLeft = '8px';
			ico.setAttribute('border','0');
			ico.setAttribute('align', 'absmiddle');
			a[i].appendChild(ico);
			
			a[i].style.background = 'none';
		}
	}
}

window.onload = function() { jsiAccentLinks(); }