/* <========================================================================> */
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;
}
