function details(tab){

    if(document.getElementById("state" + tab).value == "open"){
        Effect.BlindDown("block" + tab, { duration: 1 });
        document.getElementById("state" + tab).value = "close";
    }else if(document.getElementById("state" + tab).value == "close"){
        Effect.BlindUp("block" + tab, { duration: 1 });
        document.getElementById("state" + tab).value = "open";
    }
    
}
