$(document).ready(function() {
		
		// Home item heading arrow rollover
		$(".homeItem h2 a.headLink").mouseover(function(){
			imgsrc = $(this).children("img.linkArrow").attr("src");
			matches = imgsrc.match(/_on/);
			
			// don't do the rollover if state is already ON
			if (!matches) {
			imgsrcON = imgsrc.replace(/.gif$/ig,"_on.gif"); // strip off extension
			$(this).children("img.linkArrow").attr("src", imgsrcON);
			}
			
		});
		$(".homeItem h2 a.headLink").mouseout(function(){
			$(this).children("img.linkArrow").attr("src", imgsrc);
		});
		
		// Home products heading arrow rollover
		$(".homeProducts h2 a.headLink").mouseover(function(){
			imgsrc = $(this).children("img.linkArrow").attr("src");
			matches = imgsrc.match(/_on/);
			
			// don't do the rollover if state is already ON
			if (!matches) {
			imgsrcON = imgsrc.replace(/.gif$/ig,"_on.gif"); // strip off extension
			$(this).children("img.linkArrow").attr("src", imgsrcON);
			}
			
		});
		$(".homeProducts h2 a.headLink").mouseout(function(){
			$(this).children("img.linkArrow").attr("src", imgsrc);
		});
		
	});
