/* template.js */

function showData4(ids){
    if(document.getElementById){
        if(document.getElementById(ids).style.display == "none"){
        }else{
            document.getElementById(ids).style.display = "block";
        }
    }
}

function showData(ids){
    Element.show(ids);
}

function showData2(ids,x,y){
    Element.show(ids);
    if(document.getElementById){
        document.getElementById(ids).style.top = y + "px";
        document.getElementById(ids).style.left = x + "px";
    }
}

function Change(f,id){
    if(document.getElementById){
        if(f==1){
            document.getElementById(id).style.color = "red";
            document.getElementById(id).style.textDecoration = "underline";
        }else if(f==0){
            document.getElementById(id).style.color = "";
            document.getElementById(id).style.textDecoration = "";
        }
    }
}

