function emailprotector (user)
{


	  user = "bob";
	  site = "dibscan.com";
	  name = "Contact a representative";
	  subj = "?subject=I'm interested in an speaking to you about document scanners.";
	  status = 'Email your scanner representative';

	var email = '<a href=\"mailto:' + user + '@' + site + subj +'\">';
	var usr = name +'</a>';
	return email+usr;
}

function tellAFriend(name)
{	
	var good;	
	if ((name=="Enter Friend's name Here")||(name=="")||(name==null))
		{
			alert("Please enter a FIRST Name");
			window.document.eMailer.name.focus();
			window.document.eMailer.name.select();
			good = false;
		} else {
			
			good = true;
		}

	var initialsubj="Document Image Brokers Site is GREAT!!!... Check it out!";
	var initialmsg="Hi "+ name + " you may want to check out their site: http://www.dibscan.com\n"
				+	"They&rsquo;ve got some great information on new, used, discountinued and reconditioned\n"
				+ 	"scanners and other imaging equipment.";

	//alert(name);
	mailThisUrl();
	<!-- Begin

	function checkEmailAddress(field) 
	{
	
		var goodEmail = field.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
		if (goodEmail) 
		{
			good = true;
		}
		else {
			alert('Please enter a valid address.');

			window.document.eMailer.email.focus();
			window.document.eMailer.email.select();
			good = false;
		   }
	}

	//  End -->	
}