MJL.event.add(window, "load", function(event) {
    // MJL に関係するコードはこの中に記述
    MJL.enable.flash("flash");
    // MJL.enable.window("window",{ name: "popup" , width : 200 , height : 300 });
    MJL.enable.window("window",{ width:760 , height:500 });
    MJL.enable.window("windowWide",{ width:1000 , height:700 });
	MJL.enable.tab("tabs");
    MJL.enable.styleSwitcher("styleSwitcher");
    MJL.enable.heightEqualizer("equalize");
    MJL.enable.rollover("roll", { disable : "unroll" });
    // MJL.enable.rollover("roll");
	// readme.txtに従い、追加(2010.3.5)
    MJL.enable.rollover("roll", { active : "active" });

}, false);

// MJL と無関係なコードはこの先に記述

// form

function sFocus(obj){
	if(obj.value == obj.defaultValue){
		obj.value = "";
		obj.style.color='#404040';
	}
}
function sBlur(obj){
	if(obj.value == ""){
		obj.value = obj.defaultValue;
		obj.style.color='#999999';
	}
}

function pageJump(obj){
	var word = obj.options[obj.selectedIndex].value;
	if (word!="") { window.location.href = "/word/"+word; }
}

