var DefaultDomain = "wilsonlawfirm.com"

function cloakemail(user,domain,DisplayText){

    var asciiMAILTO = "&#109;&#97;&#105;&#108;&#116;&#111;&#58;" 
    if (domain == null || domain== "" ){ domain = DefaultDomain}
    if (DisplayText == null || DisplayText== "" ){ DisplayText = user +'&#64;' + domain;}
	document.write('<a href="' + asciiMAILTO + user + '&#64;' + domain + '">' + DisplayText + '</a>');
}

function cloakemail_img(user,domain){


    var asciiMAILTO = "&#109;&#97;&#105;&#108;&#116;&#111;&#58;" 
    if (domain == null || domain== "" ){ domain = DefaultDomain}
    document.write('<a href="' + asciiMAILTO + user + '&#64;' + domain + '">');

}

function cloakemail_img2(user,domain,imgPath,imgWidth,imgHeight){

 

    var asciiMAILTO = "&#109;&#97;&#105;&#108;&#116;&#111;&#58;" 
    if (domain == null || domain== "" ){ domain = DefaultDomain}
    document.write('<a href="' + asciiMAILTO + user + '&#64;' + domain + '"><img border="0" src="'+imgPath+'" width="'+imgWidth+'" height="'+imgHeight+'"></a>');

}