2 function showcontent(id) {
3 var fr_node_hide = 'fr_node_' + hide;
4 var fr_node_id = 'fr_node_' + id;
5 var fr_nodecn_hide = 'fr_nodecn_' + hide;
6 var fr_nodecn_id = 'fr_nodecn_' + id;
7 var fr_title_hide = 'fr_title_' + hide;
8 var fr_title_id = 'fr_title_' + id;
9 var fr_cn_hide = 'fr_cn_' + hide;
10 var fr_cn_id = 'fr_cn_' + id;
11 document.getElementById(fr_node_hide).className = "fr_node_off";
12 document.getElementById(fr_node_id).className = "fr_node_on";
13 document.getElementById(fr_nodecn_hide).className = "fr_nodecn_off";
14 document.getElementById(fr_nodecn_id).className = "fr_nodecn_on";
15 document.getElementById(fr_title_hide).className = "fr_title_off";
16 document.getElementById(fr_title_id).className = "fr_title_on";
17 document.getElementById(fr_cn_hide).className = "fr_cn_off";
18 document.getElementById(fr_cn_id).className = "fr_cn_on";