
/**
 * 
 * @param {Object} objHeight
 */

//	ポップアップウィンドウを開く
//
function ow(url, winName, winWidth, winHeight){
	
	var myWin = window.open(
					url,
					winName,
					'width=' + winWidth + ',height=' + winHeight + ',alwaysRaised=yes,dependent=yes,resizable=yes,scrollbars=yes,toolbar=0,directoried=0');
	myWin.focus();
}

// Newマーク
function newMark(y,m,d)
{
	oldDay = new Date(y+"/"+m+"/"+d);
	newDay = new Date();
	n = (newDay - oldDay)/(1000*60*60*24);
	if (n <= 7) document.write("<font style=''color:red;font-weight:normal''><b>New</b></font>");
}


$(document).ready(function() {
	

	// メニュー折りたたみ
	$("span.sitemenu").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default");
		});
		
	$("ul.opensitemenu").css({"display" : "none"});
	$("span.sitemenu").click(function(){
		$(this).next().toggle("fast");
		$(this).next().css("display","block");
	});
    
});
