$(function(){
	
	$("#email_submit").click(function() {
		if ($("#visitor_email").val() == "") {
			alert ("Please enter your email address so we can contact you.");
			return false;
		}
	});
	
  
    /*
  var addLinks = function() {
    $(".external").click(function() {
      if(!$.browser.msie) {
        window.open(this.href);
      } else {
        window.open($(this).attr("href"));
      }
      return false;
    });
    $(".internal").click(function() {
      the_href = $(this).attr("href");
      alert(this.href);
      $("#content").load('includes/' + the_href + '.php', addLinks);
      $("a.selected").removeClass("selected");
      loc = "#" + the_href + ' a';
      $(loc).addClass("selected").blur();
      return false;
    });
  }
  
  $("#menu a").click(function(){
    $("#content").load('includes/' + $(this).parent().attr("id") + '.php', addLinks);
    $("a.selected").removeClass("selected");
    $(this).addClass("selected");
    $(this).blur();
    return false;
  });
  
  addLinks();

*/

});
