$(document).ready(function() {
    $('#photo-area').cycle();
	$(".flickr-pic a").fancybox({'titleShow' : false});
	
	/*$("#logo-left a").click(function() {
		if (currentLogoPos == 1) {} else {
			currentLogoPos -= 1;
			$("#logo-right a").removeClass("no-more");
			$("div#logo-holder").scrollTo( '-=876', 1000 );
			if (currentLogoPos == 1) {$(this).addClass("no-more");}
		}
		return false;
	});
	$("#logo-right a").click(function() {
		if (currentLogoPos == numOfLogoPages) {} else {
			currentLogoPos += 1;
			$("#logo-left a").removeClass("no-more");
			$("div#logo-holder").scrollTo( '+=876', 1000 );
			if (currentLogoPos == numOfLogoPages) {$(this).addClass("no-more");}
		}
		return false;
	});*/
		
	$("#search-input").focus(function(){if ($(this).val() == "Search") {$(this).val("");}});
	$("#search-input").blur(function(){if ($(this).val() == "") {$(this).val("Search");	}});
});

/*numOfLogoPages = 1;
currentLogoPos = 1;

$(window).load(function(){  
	newWidth = 0;
	$("div#logos img").each(function() {
		newWidth += ($(this).width() + 21);
	});
	$("div#logos").width(newWidth);
	numOfLogoPages = Math.ceil(newWidth/876);
}); */
