oldHomePortImg=0;
function portfolioArrowMover(newY, newImg, thumbVal){
	clearTimeout(largeTimeOut);
	$(".portfolioArrow").animate({"top": (newY+"px")}, "slow");	
	$(("#lgImg"+oldHomePortImg)).animate({opacity: "0"}, 500);
	$(("#lgImg"+newImg)).animate({opacity: "1"}, 500);
	$(("#thumbnails img")).css("opacity","0.6");
	$(("#smImg"+newImg)).animate({opacity: "1"}, 500);
	oldHomePortImg = newImg;
	visibleImgCounter = newImg+1;
	if(visibleImgCounter > 3){
		visibleImgCounter = 0;	
	}
	var leftContent = "<span>Client: </span>"+xmlDoc.getElementsByTagName("image")[randomThumbs[newImg]].getElementsByTagName("clientName")[0].childNodes[0].nodeValue+"<br/><span>Media: </span>"+xmlDoc.getElementsByTagName("image")[randomThumbs[newImg]].getElementsByTagName("media")[0].childNodes[0].nodeValue;
	var rightContent = xmlDoc.getElementsByTagName("image")[randomThumbs[newImg]].getElementsByTagName("description")[0].childNodes[0].nodeValue;
	$("p.portfolioContentLeft").html(leftContent);
	$("p.portfolioContentRight").html(rightContent);
	largeTimeOut = setTimeout("timedCount()",8000);
}