//******** WinとMacでfont指定のcssを振り分ける ****


//　西暦を２ケタで表示するため

dateObj = new Date();
todayYear = dateObj.getFullYear();
YY = todayYear.toString().substr(2, 2);
/* htmlに以下のように記述する
<script type="text/javascript">
<!--
document.write(YY);
// -->
</script>
*/



function soundWin(openMe) {
	pop=window.open(openMe,"soundbWin","width=468,height=180,left=20,top=20,menubar=0,location=0,resizable=0,scrollbars=0,status=0,directories=0"); 
}











//********　プルダウン --------

//******** サブメニュー非対応環境かどうかを判断する。********
function ifSupported() {
	if (window.opera && (!document.all)) {
		return(0);
	}
	if (document.all || document.getElementById) { return(1) }
	return(0);
	}
//******** 対応環境ではサブメニューを予め非表示にする。********
if (ifSupported()) {
	document.write(
		'<style type="text/css">'+
		'.subMenu {'+
		'	display: none;'+
		'	}'+
		'</style>'
		);
	}
//******** サブメニューの表示/非表示を切替える。********
function subMenu(id) {
	if (ifSupported()==0) { return; }

	if (document.all) {
		if (document.all[id].style.display!='block') {
			document.all[id].style.display='block';
			}
		else {
			document.all[id].style.display='none';
			}
		return;
		}

	if (document.getElementById(id).style.display!='block') {
		document.getElementById(id).style.display='block';
		}
	else {
		document.getElementById(id).style.display='none';
		}
	return;
	}





//********subWin ********

function subWin(openMe) {
    pop=window.open(openMe,"subWin","width=600,height=600,left=0,top=0,menubar=0,toolbar=0,location=0,resizable=1,scrollbars=1,status=0,directories=0");
	}



