var current = 0;
	$(document).ready(function(){
		var howmany = $(".portfolioSite").size();
		$("#current").text(current+1+"/"+howmany);
		$("a#nextSite").click(function(){ //next
			current = current + 1;
			if(current != howmany){
			    $("#portfolioSites").animate({
			        marginTop: "-=700px"
			    }, 500);
			} else {
				current = current - 1;
			}
		});
		$("a#prevSite").click(function(){
			current = current - 1;
			if(current > -1){
			    $("#portfolioSites").animate({
			        marginTop: "+=700px"
			    }, 500);
			} else {
				current = current + 1;
			}
		});
		$("a").click(function(){
			$("#current").text(current+1+"/"+howmany);
		});
});