/* function rollover with jQuery
--------------------------------------------------------------- */
function initRollOverImages() {
	var image_cache = new Object();
		$("a.rollover img, input.rollover").each(function(i) {
		var imgsrc = this.src;
		var dot = this.src.lastIndexOf('.');
		var imgsrc_on = this.src.substr(0, dot) + '_on' + this.src.substr(dot, 4);
		image_cache[this.src] = new Image();
		image_cache[this.src].src = imgsrc_on;
		$(this).hover(
		function() { this.src = imgsrc_on; },	// on mouseover
		function() { this.src = imgsrc; });		// on mouseout
	});
}
$(document).ready(initRollOverImages);


/* function rollover-fade with jQuery
--------------------------------------------------------------- */
/*
$(function() {
	$(".brightover").fadeTo(1,1.0)
	.hover( 
		function(){// onmouseover
			$(this).fadeTo(200, 0.65); //0.6
		},
		function(){// onmouseout
			$(this).fadeTo(500, 1.0);
		}
	);
});
*/

