	var cityTourOpen = true;
jQuery(document).ready(function() {
	$(".polaroids img").each(function() {
		var $$ = $(this);
		var src = $$.attr("src").replace(/02\-11\//g, "02-11/purepolaroids/");
		$$.attr("src", src);
	});
	
	$(".polaroids .s66p").click(function() {
		$(this).toggleClass("hover"); 
	});
	
	$("nav a.opener").mouseenter(function() {
		if(cityTourOpen == false) {
			$(this).next("#citytour").slideDown(1200);
			cityTourOpen = true;
			$(this).prev(".closer").show();
		}
	}).click(function() {
		if(cityTourOpen == true)
			$(this).next("#citytour").slideToggle(700);
		$(this).prev(".closer").toggle();
	});
	$("nav .closer").click(function() {
		$(this).toggle().parent().find("#citytour").slideToggle(700);
	});






	//$(".hideMe").attr("src", "/imgs/leer.gif");
	
// 	$("nav").hover(function() {
// 		var $this = $(this);		
// 		if($("#citytour:hidden").length > 0)
// 			$this.find("h3 img#citytourimg").attr("src","/imgs/logo/burnt35.png");
// 	}, function() {
// 		var $this = $(this);		
// 		if($("#citytour:hidden").length > 0)
// 			$this.find("h3 img#citytourimg").attr("src","/imgs/logo/eowlogo35.png");
// 	})
});
