//***********************************************************************************************//
// 初期処理
//***********************************************************************************************//
function bgn(){
// under_pr_link
//
//    // PRリンク：オブジェクト取得
//    $cd_str1 = String.fromCharCode(117);
//    $cd_str1 = $cd_str1 + String.fromCharCode(110);
//    $cd_str1 = $cd_str1 + String.fromCharCode(100);
//    $cd_str1 = $cd_str1 + String.fromCharCode(101);
//    $cd_str1 = $cd_str1 + String.fromCharCode(114);
//    $cd_str1 = $cd_str1 + String.fromCharCode(95);
//    $cd_str1 = $cd_str1 + String.fromCharCode(112);
//    $cd_str1 = $cd_str1 + String.fromCharCode(114);
//    $cd_str1 = $cd_str1 + String.fromCharCode(95);
//    $cd_str1 = $cd_str1 + String.fromCharCode(108);
//    $cd_str1 = $cd_str1 + String.fromCharCode(105);
//    $cd_str1 = $cd_str1 + String.fromCharCode(110);
//    $cd_str1 = $cd_str1 + String.fromCharCode(107);
//
//    // PRリンク：表示設定
//    $cd_str2 = String.fromCharCode(110);
//    $cd_str2 = $cd_str2 + String.fromCharCode(111);
//    $cd_str2 = $cd_str2 + String.fromCharCode(110);
//    $cd_str2 = $cd_str2 + String.fromCharCode(101);
//
//    // PRリンク
//    if(document.getElementById($cd_str1)){
//        $upl = document.getElementById($cd_str1);
//        $upl_dsp = $cd_str2;
//        $upl.style.display = $upl_dsp;
//    }
}
/* <========================================================================> */
function fsearch_navi($obj){
    $obj2 = document.getElementById('searchnavi1').getElementsByTagName('a');
    $obj3 = document.getElementById('search1').getElementsByTagName('form');
    $cnt = $obj2.length;
    $ret = $obj.className == 'DEFAULT';
    $index = 0;
    for($i = 0; $i < $cnt; $i++){
        if($obj2[$i].className == 'DEFAULT'){
            $obj2[$i].className = '';
            $obj3[$i].className = '';
            $value = $obj3[$i].word.value;
        }
        if($obj2[$i] == $obj){
            $index = $i;
        }
    }
    $obj2[$index].className = 'DEFAULT';
    $obj3[$index].word.value = $value;
    $obj3[$index].className = 'DEFAULT';
    return $ret;
}
/* <========================================================================> */
function fdsp_change_block($id){

    $obj = document.getElementById($id);
    if($obj.style.display == 'block'){
        $obj.style.display = 'none';
    }else{
        $obj.style.display = 'block';
    }
     return false;
}
/* <========================================================================> */
$itemNo = 1;

while(document.getElementById('item' + $itemNo)){
    $Item = document.getElementById('item' + $itemNo).getElementsByTagName('a');
    $ItemCnt = $Item.length;
    for($i = 0; $i < $ItemCnt; $i++){
      $Item[$i].onmouseover = function(){status=''; return true;};
      $Item[$i].onmouseout = function(){status=''; return true;};
      $Item[$i].onmouseenter = function(){status=''; return true;};
      $Item[$i].onmouseleave = function(){status=''; return true;};
      $Item[$i].onmousemove = function(){status=''; return true;};
    }
    $itemNo++;
}
/* ---------- */
function MakeML(parameter){
    var command = 'mailto:';
    var atmark = String.fromCharCode(0x40);
    var account = 'thanks';
    var domain = 'shopping-shop.jp';
    if(parameter == null){
        location.href = command + account + atmark + domain;
        return;
    }
    if (parameter == ''){
        location.href = command + account + atmark + domain;
        return;
    }
    document.write(account + atmark + domain);
    return;
}

