new Image().src = "common/gmenu01.gif";
new Image().src = "common/gmenu01_ov.gif";

new Image().src = "common/gmenu02.gif";
new Image().src = "common/gmenu02_ov.gif";

new Image().src = "common/gmenu03.gif";
new Image().src = "common/gmenu03_ov.gif";

new Image().src = "common/gmenu04.gif";
new Image().src = "common/gmenu04_ov.gif";

function copyRight(){
	cName =" BRAIN FORCE CO.,LTD. ";
	myDate = new Date();
	thisYear = myDate.getUTCFullYear();
	document.write("COPYRIGHT(C) " + thisYear + cName + "ALL RIGHTS RESERVED");
}

function rOver(obj,val) { 
	obj.src = val;
}

//O[oj[p
function gMenu(obj,val) {
	obj.src = "./common/gmenu" + val + ".gif";
}

//topp
function gMenuT(obj,val) {
	obj.src = "common/gmenu/" + val + ".gif";
}


function go_withdraw(){
	if(confirm("本当に退会してよろしいですか？")){
		location.href='../action/mypage_withdraw.php';
	}
}

function ckDate(datestr) { 
    // 正規表現による書式チェック 
    if(!datestr.match(/^\d{4}\/\d{2}\/\d{2}$/)){ 
        return false; 
    } 
    var vYear = datestr.substr(0, 4) - 0; 
    var vMonth = datestr.substr(5, 2) - 1; // Javascriptは、0-11で表現 
    var vDay = datestr.substr(8, 2) - 0; 
    // 月,日の妥当性チェック 
    if(vMonth >= 0 && vMonth <= 11 && vDay >= 1 && vDay <= 31){ 
        var vDt = new Date(vYear, vMonth, vDay); 
        if(isNaN(vDt)){ 
            return false; 
        }else if(vDt.getFullYear() == vYear && vDt.getMonth() == vMonth && vDt.getDate() == vDay){ 
            return true; 
        }else{ 
            return false; 
        } 
    }else{ 
        return false; 
    } 
} 

