	function preFetch ( imageSrc ) {
		images = new Array ( );
		for ( i = 0; i < imageSrc . length; i ++ ) {
			images [ i ] = new Image ( );
			images [ i ] . src = imageSrc [ i ];
		}
	}
	function rollOver ( img ) {
		a = /^(.*?)(_?)(\.[^.]+)$/ . exec ( img . src );
		img . src = a [ 1 ] + ( a [ 2 ] ? '' : '_' ) + a [ 3 ];
	}
	function popUp ( url, name, width, height, scroll_resize ) {
		x = ( screen . width - width ) / 2;
		y = ( screen . height - height ) / 2;
		features = 'width=' + width + ',height=' + height + ',left=' + x + ',top=' + y;
		if ( scroll_resize ) {
			features += ',scrollbars,resizable,status=0';
		} else {
			features += ',status=0';
		}
		if ( w = window . open ( url, name, features )) {
			w . focus ( );
			return ( false );
		}
	}
	function search ( form, search_prompt ) {
		if ( form . q . value . length == 0
			|| form . q . value == search_prompt ) {
			alert ( 'Please enter a search' );
			return ( false );
		} else if ( form . q . value . length < 3 ) {
			alert ( 'Please enter a search greater than 2 characters in length' );
			return ( false );
		} else {
			if ( document . all ) {
				popUp ( '/swirl.php', 'swirl', 125, 125 );
			} else {
				document . getElementById ( 'swirl' ) . style . visibility = 'visible';
			}
		}
	}
