

function ShowClass1 () {
	var ss = document.formcname1.selectyc;
	var index = ss.selectedIndex;
	var yc = ss.options[index].value;
	if ( yc != '#' ) {
		var url = "http://gc.sfc.keio.ac.jp/view_class_intro2.cgi?" + yc;
		document.class_intro.location.href = url;
	}
}
function ShowClass2 () {
	var ss = document.formcname2.selectyc;
	var index = ss.selectedIndex;
	var yc = ss.options[index].value;
	if ( yc != '#' ) {
		var url = "http://gc.sfc.keio.ac.jp/view_class_intro2.cgi?" + yc;
		document.class_intro.location.href = url;
	}
}
function ShowClass3 () {
	var ss = document.formcname3.selectyc;
	var index = ss.selectedIndex;
	var yc = ss.options[index].value;
	if ( yc != '#' ) {
		var url = "http://gc.sfc.keio.ac.jp/view_class_intro2.cgi?" + yc;
		document.class_intro.location.href = url;
	}
}


    /* ブラウザ判別 */
    var ie=document.all ? 1 : 0;
    var ns6=document.getElementById&&!document.all ? 1 : 0;
    var opera=window.opera ? 1 : 0;

    /* 子メニューの表示・非表示切替 */
    function openchild(childObj, parentObj) {
        var parent="";
        var child="";
        var sw="/img/js/arrowinbox_on.gif"; /* 子メニューが開いてる時のアイコン */
        var hd="/img/js/arrowinbox.gif"; /* 子メニューが閉じている時のアイコン */
        if (ie || ns6 || opera) {
            child=ns6 ? document.getElementById(childObj).style : document.all(childObj).style;
            parent=ns6 ? document.getElementById(parentObj).style : document.all(parentObj).style;
            if (child.display=="none") {
                child.display="block";
                child.backgroundColor="white";
                parent.backgroundColor="#001764";
                parent.color="white";
            } else {
                child.display="none";
                parent.backgroundColor="#eeeeee";
                parent.color="black";
            }
        }
    }

