<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Meta name = "generator" content = "Microsoft FrontPage 4.0">
<Meta name = "progid" content = "FrontPage. Editor. Document">
<Title> main-51windows.net </title>
</Head>
<Body>
<Script language = "JavaScript">
<! --
Function shtop (){
If (parent. Full. Rows. indexof ("0 ,*,")! =-1 ){
Parent. Full. rows = "64, *," + parent. Full. Rows. Split (",") [2]
Document. getelementbyid ("shtop"). value = "Hide upper part ";
}
Else {
Parent. Full. rows = "0, *," + parent. Full. Rows. Split (",") [2]
Document. getelementbyid ("shtop"). value = "show upper part ";
}
}
Function shleft (){
If (parent. Cen. Cols = "0 ,*"){
Parent. Cen. Cols = "25% ,*,"
Document. getelementbyid ("shleft"). value = "hide left ";
}
Else {
Parent. Cen. Cols = "0 ,*"
Document. getelementbyid ("shleft"). value = "show left ";
}
}
Function shbottom (){
If (parent. Full. Rows. indexof (", *, 0 ")! =-1 ){
Parent. Full. rows = parent. Full. Rows. Split (",") [0] + ", *, 64"
Document. getelementbyid ("shbottom"). value = "Hide lower part ";
}
Else {
Parent. Full. rows = parent. Full. Rows. Split (",") [0] + ", *, 0"
Document. getelementbyid ("shbottom"). value = "show lower part ";
}
}
Function maxmain (){
If (parent. Full. rows = "0, *, 0 "){
Parent. Full. rows = "64, *, 64"
Parent. Cen. Cols = "25% ,*"
Document. getelementbyid ("maxmain"). value = "hide left upper and lower ";
Document. getelementbyid ("shtop"). value = "Hide upper part ";
Document. getelementbyid ("shleft"). value = "hide left ";
Document. getelementbyid ("shbottom"). value = "Hide lower part ";
}
Else {
Parent. Full. rows = "0, *, 0 ";
Parent. Cen. Cols = "0 ,*";
Document. getelementbyid ("maxmain"). value = "show upper and lower left ";
Document. getelementbyid ("shtop"). value = "show upper part ";
Document. getelementbyid ("shleft"). value = "show left ";
Document. getelementbyid ("shbottom"). value = "show lower part ";
}
}
// -->
</SCRIPT>
<Input type = "button" name = "maxmain" id = "maxmain" onclick = "maxmain ();" value = "hide left up/down">
<Input type = "button" name = "shtop" id = "shtop" onclick = "shtop ();" value = "Hide upper part">
<Input type = "button" name = "shleft" id = "shleft" onclick = "shleft ();" value = "hide left">
<Input type = "button" name = "shbottom" id = "shbottom" onclick = "shbottom ();" value = "Hide lower part">
</Body>
</Html>