/*
   Author: Daniel Bloecher
   Date  : 12/11/06
   
   Filename: menus.js

   Function List:
   rollOverText(obj)
      Changes text to desired look when funtion is called. (On Mouseover)
	  
   rollOutText(obj)
      Changes text to desired look when funtion is called. (On Mouseout)
   
   RollOver(i)
      Changes image *_over.jpg when funtion is called. (On Mouseover)
   
   RollOut(i)
      Changes image *_out.jpg when funtion is called. (On Mouseout)

*/

/****************************************************
The following two functions where taken from 
http://www.edparrish.com/cis132/06f/examples/textrollovers.html
and modified for this assignment.  I tried the functions in 
the book (JVS 227) and the browser gave errors.
*****************************************************/
function rollOverText(obj) {
    if (obj.style) {
        obj.style.color = "#6699FF";
        obj.style.fontWeight = "bold";
    }
}

function rollOutText(obj) {
    if (obj.style) {
        obj.style.color = "black";
        obj.style.fontWeight = "normal";
    }
}
/****************************************************/

function RollOver(i){
	if (document.images) document.images[i].src = ImgOver[i].src;
}
function RollOut(i){
	if (document.images) document.images[i].src = ImgOut[i].src;
}
