// Written by 301 Design.

//
// This function uses the jquery library.
//

$(function() {
	

	// This function walks through image with rollover class and preloads them. 
	var imgArray = new Array();
	$("img.rollover").each(function(index) {
		imgArray[index] = new Image();
		imgArray[index].src = this.src.replace("_std.", "_over.");
	});
	

	// This function is performing a string replacement for the rollovers
	// e.g. onrollover fred_std.gif becomes fred_over.gif, on rolloverout names are reversed.
	$("img.rollover").hover(function() {
		this.src = this.src.replace("_std.", "_over.");
	}, function() {
		this.src = this.src.replace("_over.", "_std.");
	});


	// Remove the bottom border from the top level li tag when selected
	$("div#navcol li:first").css("border-top-style","none");




});






