/* メニュー */
function mainmenu(){
$(" #globalNavi ul ").css({display: "none"}); // Opera Fix
$(" #globalNavi li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(400);
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}
 
$(document).ready(function(){			
	mainmenu();
});










/* POP UP */
function openPop(theURL) { //v2.0
	w = 800;h = 600;
	userwidth = screen.availWidth;
	userheight = screen.availHeight;
	p_width = (userwidth-w)/2;
	p_height = (userheight-h)/2;
	features = 'scrollbars=yes,width=' + w + ',height=' + h + ',left=' + p_width + ',top=' + p_height;
	newPop = window.open(theURL,'newPop',features);
	newPop.focus();
}

/* --- Up-to-date for theaters --- */

function upDate(){
	lastupdate = new Date(document.lastModified);
	year=lastupdate.getFullYear();
	month=lastupdate.getMonth()+1;
	date=lastupdate.getDate();
	document.write(year+"年"+month+"月"+date+"日現在");
}
