function la_mail(linktext)

{

var rhs = "arnett.ca";
var lhs = "larry";

document.write("<a class='main' href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}

function la_fmail(linktext)

{

var rhs = "arnett.ca";
var lhs = "larry";

document.write("<a class='foot' class='footer' href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}

function lac_mail(linktext)

{

var rhs = "arnett.ca";
var lhs = "laconsulting";

document.write("<a href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}


function law_mail(linktext)

{

var rhs = "arnett.ca";
var lhs = "lawebsites";

document.write("<a href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}

function law_fmail(linktext)

{

var rhs = "arnett.ca";
var lhs = "lawebsites";

document.write("<a class='footer' href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}

function ged_mail(linktext)

{

var rhs = "arnett.ca";
var lhs = "geddirect";

document.write("<a href=" + "mail" + "to:" + lhs + "@" + rhs + ">" + linktext + "</a>")

}

// ==========================================================
// Hide mail address from spiders
// ==========================================================
function mail(name,rhs,text,classname,subject)

{

var add = name + "@" + rhs;
var classtag = "";

// Set optional parameters to blank if they are not passed
if (text==null) {
	text = "";
}

if (classname==null) {
	classname = "";
}

if (subject==null) {
	subject = "";
}

// If the text field is not specified use the basic address
if (text=="") {
	text = add;
}

// Build the subject code if required
if (subject!="") {
	add = add + "?subject=" + subject;
}

// Build the class code if required
if (classname!="") {
	classtag = "class='" + classname + "'";
}

// Write out the completed mail to reference
document.write("<a " + classtag + " href='" + "mail" + "to:" + add + "'>" + text + "</a>");

}
