function replace(expression, find, replacement) {
/********************************************************************************

	function:	funcLibReplace(expression, find, replacement)
	
	Purpose:	Replace the occurance of a substring within a string with
				something else.
	
	Indata:		Expression to check, data to look for, data to replace found data
				with.
	
	Returns:	New string with provided data replaced.
				
********************************************************************************/
  if ((find == replacement) || (parseInt(replacement.indexOf(find)) > -1)) {
	alert ('Error!');
    return false;
  }
    
  while (expression.indexOf(find) != -1) {
    var leading = expression.substring(0, expression.indexOf(find));
    var trailing = expression.substring(expression.indexOf(find) + find.length, expression.length);
    expression = leading + replacement + trailing;
  }
  return expression;
}

var at = '@';

function SendMejl(){
	var addr = arguments[0] + at + arguments[1];
	location.href = 'mail' + 't' + 'o:' + addr;
}

function FlodMejl(){
	SendMejl(arguments[0], 'brfmadamflod' + '.se');
}

function M_ler(){
	window.open('mler.php?addr=' + arguments[0], '_blank', 'location=0,toolbar=0,status=0,resizable=yes,width=300,height=300');
}
