// JavaScript Document

/* File name: forms.js					*/
/* Author: Erick Zelaya						*/
/* Maintained by: eezelaya@csupomona.edu	*/
/* Last modified: 2006-09-13				*/
/* Purpose: I&IT Learning Site Javascript for Forms	*/
/* General rollovers for form buttons   */

// these colors should match with the ones in learning.css:button
function hover(b, over) {
	if (over) {
		b.style.borderColor = "#aedf9a #94da78 #6ab94b #94da78";
		b.style.backgroundColor = "#bfefab";
	} else {
	   b.style.borderColor = "#c4cccc #acb5b5 #6f7777 #acb5b5";
		b.style.backgroundColor = "#cccccc";
	}
}
  