var portfolio = new Array();
var currentMovie = -1;
portfolio = ["facet","igwt","macelaws","junkanoo","delancyhill","robertdubwise","honeymoonsoon","miss_fl_caribbean","gerardgibbs","bay_ayiti","redrat"]
theURL = ["face-t.com","igwtconstruction.com","macelaws.com","junkanoo.com","delancyhill.com","robertdubwise.com","honeymoonsoon.com","missfloridacaribbean.com","gerardgibbs.com","bayayitiyonchans.com","redrat.com"]
totalMovies = (portfolio.length) - 1;
function movePortfolio(theDirection){
	currentMovie = currentMovie + theDirection;
	if(currentMovie<=0){currentMovie = totalMovies};
	if(currentMovie > totalMovies){currentMovie = 0};
	portfolioPic.src = "/images/clients/"+portfolio[currentMovie]+".jpg";
	TDIMAGE("/images/clients/"+portfolio[currentMovie]+"_tile.jpg");
	portfolioStatus.innerHTML = ".: WHAT'S NEW "+(currentMovie + 1)+" OF "+portfolio.length
}
function launchSite(){
	window.open("http://"+theURL[currentMovie])	
}
function randomSite(){
	currentMovie = (Math.round((totalMovies-0) * Math.random() + 0));
	portfolioPic.src = "/images/clients/"+portfolio[currentMovie]+".jpg";
	TDIMAGE("/images/clients/"+portfolio[currentMovie]+"_tile.jpg");
	portfolioStatus.innerHTML = ".: WHAT'S NEW "+(currentMovie + 1)+" OF "+portfolio.length
}
