//	noConflict
var $j = jQuery.noConflict();
	
//	nth
$j(function() {
	//$j('#global_nav ul li:first-child').addClass('first-child');
	$j('.topic_path ol li:first-child').addClass('first-child');
	$j('#photo_gallery ul li:first-child').addClass('first-child');
	$j('#photo_gallery ul li:nth-child(6n)').addClass('break');
	$j('.about .section:last-child').addClass('last-child');
	

//	link border
	$j('a').bind("focus",function(){
	if(this.blur)this.blur();
	});
	
//	toggleval
	$j('#mail_magazine input').toggleVal();

//	scroll_up
	$j('p.scroll_up a').click(function(){
		$j(this).blur();
		$j('html,body').animate({ scrollTop: 0 }, 'slow');
		return false;
	});
	
//
//$j('#party_flyer p.flyer').show('slow');
$j('#party_flyer p.zoom').hover(function(){
		$j('#party_flyer p.flyer').fadeTo(400,0.3);
	}
	,function(){
		$j('#party_flyer p.flyer').fadeTo(400,1);
});

$j('#photo_gallery ul li img').hover(function(){
		$j(this).fadeTo(200,0.3);
	}
	,function(){
		$j(this).fadeTo(200,1);
});

$j('.zoom').click(function(){
		$j('.pickup_mix').hide(1);
});

//$j('#photo_gallery li a').click(function(){
//		$j('.mix').hide(1);
//});

$j('#cboxClose').click(function(){
		$j('.pickup_mix').show(1);
});

//#cboxClose

//Google Map
	window.onliad = initialize();
	
	function initialize() {
	var myLatlng = new google.maps.LatLng(35.6599967, 139.6959347);
	var myOptions = {
		zoom: 16,
		center: myLatlng,
		mapTypeId: google.maps.MapTypeId.ROADMAP,
		navigationControl: true,
		streetViewControl:false,
		mapTypeControl:false
	}
	var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
	
	var marker = new google.maps.Marker({
			position: myLatlng,
			map: map
	});   
}

	
	
	
	
	
		
});
//	EOF
