// JavaScript Document
/* 
------------------------------------------------------------------
Title:			contact.js
Date:			11/19/08
Version:		1.01
Copyright:		Copyright (c) 2008
Author:			Phil Puleo
Company:		Arizona State University
Description: 	Handles validation for the contact page.
Dependencies:	jquery 1.2.6
------------------------------------------------------------------
*/

$(document).ready(function() {
  $("#contactform").RSV({
	errorFieldClass: "errorField",
	displayType: "display-html",
	errorTextIntro: "",
    rules: [
      "required,comment_field,Did you forget to type a comment?",
      "valid_email,email,Please enter a valid email address or leave the field blank."
    ]
  });
});