//************************** ロールオーバー ****************************//

img03 = new Image(); img03.src = "/jp/top/img/btn_join_on.gif";
img04 = new Image(); img04.src = "/jp/top/img/txt_01_on.gif";
img05 = new Image(); img05.src = "/jp/top/img/txt_02_on.gif";
img06 = new Image(); img06.src = "/jp/top/img/txt_03_on.gif";
img07 = new Image(); img07.src = "/jp/top/img/txt_04_on.gif";
img08 = new Image(); img08.src = "/jp/top/img/txt_05_on.gif";
img09 = new Image(); img09.src = "/jp/top/img/txt_06_on.gif";

function ChangeImg(imgname,file) {
document.images[imgname].src = file ;
}


//************************ ウィンドウオープン **************************//

function utti(){
var wo
wo=window.open("","mini","name=minix toolbar=No,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=320,height=250");
return wo;
}

function winOpen(theURI,winWidth,winHeight,winNAME,optionMenu,optionTool) {
subwin = window.open(theURI,winNAME,"directories=no,location=no,menubar="+optionMenu+"yes,toolbar="+optionTool+",status=no,scrollbars=yes,resizable=yes,left=0,top=0,width="+winWidth+",height="+winHeight+",left=0,top=0");
subwin.focus();
}

function winOpenC(theURI,winWidth,winHeight,winNAME,optionMenu,optionTool) {
x = (screen.width  - winWidth) / 2;
y = (screen.height - winHeight) / 2;
subwin = window.open(theURI,winNAME,"directories=no,location=no,menubar="+optionMenu+"yes,toolbar="+optionTool+",status=no,scrollbars=yes,resizable=yes,left="+x+",top="+y+",width="+winWidth+",height="+winHeight);
subwin.focus();
}


//************************* 禁止語句チェック ***************************//

function check(fld){ 
if (fld.value == "docomo"){
return "携帯のアドレスでは登録できません";
}else {
return "";
}
}


//********************** フォームの表示・非表示 ************************//
function optionView(condId,targetBlockId) {
document.getElementById(targetBlockId).style.display =
(document.getElementById(condId).checked)?'block':'none';
}
