$(function(){
		//whatNew—p
		$('dl#updateInfoList dd:nth-child(2)').css('background', 'none');
		$('dl#updateInfoList dd:nth-child(6)').css('background', 'none');
		$('dl#updateInfoList dt:nth-child(odd)').css('background', 'none');
		$('dl#updateInfoList dt:nth-child(odd)').css('background', 'none');
		
		//tab—p
		$('#tabs').tabs();
		
		// gnavi pulldown menu
		$('#gNavi a').each(function() {
			if($(this).next('ul').size()) {
				$(this).parent().children("a, ul").mouseover(function() {
						$(this).parent().css("overflow", "visible");
						if($(this).attr('href') && !$(this).parent('li').attr('id')) {
							$(this).next('ul').css({
												   'left' : $(this).width() + parseInt($(this).css('padding-left').replace('px', '')) + parseInt($(this).css('padding-right').replace('px', '')) + 1,
												   'top' : 0
												});
						}
					}).mouseout(function() {
						$(this).parent().css("overflow", "hidden");
				});
			}
		});
		// rollover
		$('.imgover').each(function(){
			this.osrc = $(this).attr('src');
			this.rollover = new Image();
			this.rollover.src = this.osrc.replace(/(\.gif|\.jpg|\.png)/, "_o$1");
		}).hover(function(){
			$(this).attr('src',this.rollover.src);
		},function(){
			$(this).attr('src',this.osrc);
		});
	
		$("#sidebar ul.child").each(function() {
			$(this).find("li:odd").addClass("odd");
		});
		// scroll
		$('a[href^=#layout]').click(function() {
			var $t = $(this.hash);
			if (this.hash.length > 1 && $t.size()) {
				$.scrollTo($t, 400);
				return false;
			}
		});
		$('body > img:first').hide();
	
		// balloon tip
			$("div#balloonTip").removeClass("hideBalloon");
			$("p#balloonClose a").click(function(){
			$("div#balloonTip").fadeOut("slow");
		});
});



function openwin(url){
		window.open(url,"_blank","width=681,height=500,toolbar=no,scrollbars=yes,resizable=yes,menubar=yes");
}

