$(document).ready(function() {
	var site = 1;
	var maxsite = 5;
	function showSite(input) {
		$("#curr").html("");
		$("#curr").hide();
		if(input == 1) 
			$("#curr").html($("#psutc").html());
		if(input == 2) 
			$("#curr").html($("#os").html());
		if(input == 3) 
			$("#curr").html($("#osm").html());
		if(input == 4) 
			$("#curr").html($("#hw").html());
		if(input == 5) 
			$("#curr").html($("#blog").html());
		$("#curr").fadeIn("fast");
	}
	$("#arrow-left").click(function() {
		if(site == 1) { site = maxsite; } else { site--; }
		showSite(site);
	});
	$("#arrow-right").click(function() {
		if(site == maxsite) { site = 1; } else { site++; }
		showSite(site);
	});
});
