// JavaScript Document

if (document.images) {

//footer_info and qrcode

var infoon = new Image()
infoon.src = "images/footer/info_on.gif"
var infooff = new Image() 
infooff.src = "images/footer/info_off.gif"

var qrcodeon = new Image()
qrcodeon.src = "images/footer/qr_code_on.gif"
var qrcodeoff = new Image()
qrcodeoff.src = "images/footer/qr_code_off.gif"

var privacyon = new Image()
privacyon.src = "images/footer/privacy_btn_o.gif"
var privacyoff = new Image()
privacyoff.src = "images/footer/privacy_btn.gif"

var gaiyoon = new Image()
gaiyoon.src = "images/footer/cominfo_btn_o.gif"
var gaiyooff = new Image()
gaiyooff.src = "images/footer/cominfo_btn.gif"

var recruitingon = new Image()
recruitingon.src = "images/footer/reqinfo_btn_o.gif"
var recruitingoff = new Image()
recruitingoff.src = "images/footer/reqinfo_btn.gif"

var mailon = new Image()
mailon.src = "images/footer/mail_btn_o.gif"
var mailoff = new Image()
mailoff.src = "images/footer/mail_btn.gif"

var presson = new Image()
presson.src = "images/footer/press_btn_o.gif"
var pressoff = new Image()
pressoff.src = "images/footer/press_btn.gif"

} 


function inact(imgName) {

if (document.images)
 document[imgName].src = eval(imgName + 'off.src');

}


function act(imgName) {
if (document.images)
 document[imgName].src = eval(imgName + 'on.src');

}



//new window

var newWindow
function pop(theURL,this_window,this_width,this_height) {
    if (!newWindow || newWindow.closed) {
        features = "scrollbars=no,menubar=no,toolbar=no,statusbar=yes,resizable=no,width="+ this_width + ",height=" + this_height;
        newWindow = window.open(theURL,this_window,features);
    } else {
alert ("a");
        newWindow.focus()
        newWindow.location = theURL
    }
}

//new window  0910会員登録キャンペーン
function campaign(my_url){
window.open(my_url,"","width=525,height=510,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

