var bnidGlobalMenuHtml = (function () {/*
*/}).toString().replace(/(\n)/g, '').split('*')[1];
var bnidGlobalFooterMenuHtml = (function () {/*
株式会社バンダイナムコエンターテインメント (C)Bandai Namco Entertainment Inc.
*/}).toString().replace(/(\n)/g, '').split('*')[1];
$(function(){
if ($('#bnidGlobalMenu').length > 0) {
$('#bnidGlobalMenu').html(bnidGlobalMenuHtml);
}
if ($('#bnidGlobalFooterMenu').length > 0) {
$('#bnidGlobalFooterMenu').html(bnidGlobalFooterMenuHtml);
}
$('.bnid-hover').hover(
function () {
$(this).attr('src', $(this).attr('src').replace('_off','_on'));
},
function () {
$(this).attr('src', $(this).attr('src').replace('_on','_off'));
}
);
$('.bnid-hover-coin').hover(
function () {
$(this).attr('src', $(this).attr('src').replace('_off','_on'));
},
function () {}
);
$('.bnid-h-coin').hover(
function () {
$('.bnid-h-coin-menu').show();
},
function () {
$('.bnid-h-coin-menu').stop().hide();
/*$('.bnid-hover-coin').attr('src', $('.bnid-hover-coin').attr('src').replace('_on','_off'));*/
}
);
$('.bnid-hover-other').hover(
function () {
$(this).attr('src', $(this).attr('src').replace('_off','_on'));
},
function () {}
);
$('.bnid-h-other').hover(
function () {
$('.bnid-h-other-menu').show();
},
function () {
$('.bnid-h-other-menu').stop().hide();
$('.bnid-hover-other').attr('src', $('.bnid-hover-other').attr('src').replace('_on','_off'));
}
);
$('.bnid-h-coin,.bnid-h-coin-menu,.bnid-h-card,.bnid-h-service,.bnid-h-other,.bnid-h-other-menu').hover(function(){
if ($(this).attr('class') == 'bnid-h-coin' || $(this).attr('class') == 'bnid-h-coin-menu') $('.bnid-h-rollover').css('left','184px').show();
if ($(this).attr('class') == 'bnid-h-card') $('.bnid-h-rollover').css('left','258px').show();
if ($(this).attr('class') == 'bnid-h-service') $('.bnid-h-rollover').css('left','332px').show();
if ($(this).attr('class') == 'bnid-h-other' || $(this).attr('class') == 'bnid-h-other-menu') $('.bnid-h-rollover').css('left','406px').show();
},function(){
$('.bnid-h-rollover').css('left','0').hide();
});
$('.bnid-l-coin').hover(function(){
$('.bnid-l-coin-menu').show();
},function(){
$('.bnid-l-coin-menu').stop().hide();
});
$('.bnid-l-extra').hover(function(){
$('.bnid-l-extra-menu').show();
},function(){
$('.bnid-l-extra-menu').stop().hide();
});
});