// JavaScript Document

function disclaimEmail(trgt,to) {
	var message = "You must read and agree to this notice before sending an email message to the Environmental Law Group.\n\n";
	message += "You should not send any privileged or confidential information to any member of the Environmental Law Group via email through this website.  Sending any member of the Environmental Law Group an email will not make you a client of the Environmental Law Group or any of its individual members.  The Environmental Law Group does not agree to represent potential clients until one or more of its members have had the opportunity to discuss the pending matter with the potential client and have had the opportunity to evaluate whether there are any conflicts that would prevent the Environmental Law Group from representing the potential client on the matter in question.\n\n";
	message += "Individuals or entities who are interested in having the Environmental Law Group represent them should call us at the phone numbers included in this website, so that we can discuss and evaluate potential representation of you by the Environmental Law Group.  The Environmental Law Group will determine potential conflicts at its sole discretion.  We reserve the right to decline representation of a potential client for any reason.  Further, we may be required to decline to represent a potential client if such representation would create conflicts with our other clients.\n\n";
	message += "You must indicate below that you have read and agree to this notice before you will be allowed to proceed with an email to the Environmental Law Group.";

	var response = confirm(message);
	if (response) {
		trgt.href="mailto:" + to + "@envirolawgroup.com";
	} else {
		trgt.href = "#";
		return false;
	}
}
