//リンクの実行---------------------------------------
function hrefWin(htFile){
    location.href =htFile;
}
//リンクの実行---------------------------------------
function OpenWin(htFile,htPos){
    win=window.open(htFile,htPos);
}
//レイヤーの背景色変更------------------------------------------------
function ChgBg(layerName,colorName){
    if (document.layers) document[layerName].bgColor = colorName;
    if (document.all) window[layerName].style.backgroundColor = colorName;
}
//レイヤーを表示------------------------------------------------
function showLAYER(layName){
    if(document.layers)document.layers[layName].visibility='show'
    if(document.all)document.all(layName).style.visibility='visible'
}
//レイヤーを非表示-----------------------------------------------
function hideLAYER(layName){
    if(document.layers)document.layers[layName].visibility='hide'
    if(document.all)document.all(layName).style.visibility='hidden'
}
// レイヤーを移動-----------------------------------------------
function moveLAYER(layName,x,y){
    if(document.layers)document.layers[layName].moveTo(x,y)
    if(document.all)document.all(layName).style.posLeft=x
    if(document.all)document.all(layName).style.posTop=y
}

