function OpenSheet(sheet_name){
	if (!document.getElementById("sheetlabel")){return;}
    slen = sheetlabel.length;
    if (slen>=1){
        for(i=0;i<slen;i++){
            if (sheetlabel[i].sheetcat_sqno==sheet_name){
                sheethead_left[i].src="/web/images/st_bg_l1_ov.gif";
                sheethead[i].background="/web/images/st_bg_u_ov.gif";
                sheethead_right[i].src="/web/images/st_bg_r1_ov.gif";
                sheetlabel_left[i].background="/web/images/st_bg_l2_ov.gif";
                sheetlabel[i].style.background="#E2E2E2";
                sheetlabel_right[i].background="/web/images/st_bg_r2_ov.gif";
                sheetfoot_left[i].background="/web/images/st_bg_l2_ov.gif";
                sheetfoot[i].style.background="#E2E2E2";
                sheetfoot_right[i].background="/web/images/st_bg_r2_ov.gif";
            }else{
                sheethead_left[i].src="/web/images/st_bg_l1.gif";
                sheethead[i].background="/web/images/st_bg_u.gif";
                sheethead_right[i].src="/web/images/st_bg_r1.gif";
                sheetlabel_left[i].background="/web/images/st_bg_l2.gif";
                sheetlabel[i].style.background="#FFFFFF";
                sheetlabel_right[i].background="/web/images/st_bg_r2.gif";
                //sheetfoot_left[i].background="/web/images/st_bg_l2.gif";
                sheetfoot_left[i].style.background="#CECECE";
                sheetfoot[i].style.background="#CECECE";
                //sheetfoot_right[i].background="/web/images/st_bg_r2.gif";
                sheetfoot_right[i].style.background="#CECECE";
            }
        }
    }else{
        if (sheetlabel.sheetcat_sqno==sheet_name){
            sheethead_left.src="/web/images/st_bg_l1_ov.gif";
            sheethead.background="/web/images/st_bg_u_ov.gif";
            sheethead_right.src="/web/images/st_bg_r1_ov.gif";
            sheetlabel_left.background="/web/images/st_bg_l2_ov.gif";
            sheetlabel.style.background="#E2E2E2";
            sheetlabel_right.background="/web/images/st_bg_r2_ov.gif";
            sheetfoot_left.background="/web/images/st_bg_l2_ov.gif";
            sheetfoot.style.background="#E2E2E2";
            sheetfoot_right.background="/web/images/st_bg_r2_ov.gif";
        }else{
            sheethead_left.src="/web/images/st_bg_l1.gif";
            sheethead.background="/web/images/st_bg_u.gif";
            sheethead_right.src="/web/images/st_bg_r1.gif";
            sheetlabel_left.background="/web/images/st_bg_l2.gif";
            sheetlabel.style.background="#FFFFFF";
            sheetlabel_right.background="/web/images/st_bg_r2.gif";
            //sheetfoot_left.background="/web/images/st_bg_l2.gif";
            sheetfoot_left.style.background="#CECECE";
            sheetfoot.style.background="#CECECE";
            //sheetfoot_right.background="/web/images/st_bg_r2.gif";
            sheetfoot_right.style.background="#CECECE";
        }
    }
    slen = sheetmain.length;
    for (i=0;i<slen;i++){
        sheetmain[i].style.display = "none";
    }
    for (i=0;i<slen;i++){
        if (sheetmain[i].sheet_name==sheet_name){
            sheetmain[i].style.display = "block";
        }
    }
}

