// JavaScript Document
//new rollover funtion! 
			function rollOverSwap (img){
				var string = $(img).attr('src');
				var regEx = /f1/;
				var newString = string.replace(regEx,"f2");
				$(img).attr('src',newString);
			}
			function rollOverBack (img){
				var string = $(img).attr('src');
				var regEx = /f2/;
				var newString = string.replace(regEx,"f1");
				$(img).attr('src',newString);
			}
			var cache = [];
		  // Arguments are image paths relative to the current page.
		  	//auto pulls images
			function pullRollovers() {
				var imgArray = [];
				$('a > img').each(function(){
					var string = $(this).attr('src');
					var regEx = /f1/;
					var newString = string.replace(regEx,"f2");
					imgArray.push(newString);
				});
				var args_len = imgArray.length;
				for (var i = args_len; i--;) {
			 		 var cacheImage = document.createElement('img');
			 		 cacheImage.src = imgArray[i];
			 		 cache.push(cacheImage);
				}
		  	}
			function arrowMover(div1,div2,top){
				$(div1).find('a').mouseenter(function (e) {
  					var position = $(this).position();
					  e.stopPropagation();
					  $(div2).stop().animate({"top":position.top+5},300,"easeInOutBack");
					});
				$(div1).mouseleave(function(){
					$(div2).stop().animate({'top':top},300,"easeInOutBack");
				});
			};

