/***
Use this file to enter and maintain common JavaScript functions
and subroutines to be used throughout the SADDLEBACK web
site.

All functions and subroutines should be commented with the
author, date, time, function input and output parameters
***/	



/***
function: changeImage
lblField - Label "name" of the field to swap pictures
txtImageURL - string value of the image location to place at lblField
***/ 
function changeImage( lblField, txtImageURL) {

	document.images[lblField].src=txtImageURL;

}






function scroller( vheight, vwidth, scrollText ) {
	document.write('<marquee id="iescroller" direction="up" width="' + vwidth + '" height="' + vheight + '" scrollamount="2" scrolldelay="150" style="border:1 solid navy;background-color:white">');
	iescroller.onmouseover=new Function("iescroller.scrollAmount=0");
	iescroller.onmouseout=new Function("iescroller.scrollAmount=2");

	document.write('<font size="2" face="Ariel" color="black">')
	document.write('<Div align="center">');
	document.write(scrollText);
	document.write('</div><br><br>');
	document.write('</font>');
	document.write('</marquee>');
}
