home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 September
/
Chip_2001-09_cd1.bin
/
tema
/
drlang
/
js.js
< prev
next >
Wrap
Text File
|
2001-08-02
|
2KB
|
78 lines
<!--
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
// if cookie exists
if (offset != -1) {
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function check(){
openones = ""
if (m2_1.style.display != "none") openones = openones + "m2 "
if (m3_1.style.display != "none") openones = openones + "m3 "
if (m4_1.style.display != "none") openones = openones + "m4 "
document.cookie = "edurommenupath=" + openones
}
function m1(){
}
function m2(){
if (m2_1.style.display == "none") {
m2_1.style.display = ""
m2_2.style.display = ""
m2_2_1.style.display = ""
m2_2_2.style.display = ""
m2_2_3.style.display = ""
m2_2_4.style.display = ""
} else {
m2_1.style.display = "none"
m2_2.style.display = "none"
m2_2_1.style.display = "none"
m2_2_2.style.display = "none"
m2_2_3.style.display = "none"
m2_2_4.style.display = "none"
}
}
function m3(){
if (m3_1.style.display == "none") {
m3_1.style.display = ""
m3_2.style.display = ""
m3_3.style.display = ""
m3_4.style.display = ""
} else {
m3_1.style.display = "none"
m3_2.style.display = "none"
m3_3.style.display = "none"
m3_4.style.display = "none"
}
}
function m4(){
if (m4_1.style.display == "none") {
m4_1.style.display = ""
m4_2.style.display = ""
m4_3.style.display = ""
m4_4.style.display = ""
m4_5.style.display = ""
m4_6.style.display = ""
m4_7.style.display = ""
} else {
m4_1.style.display = "none"
m4_2.style.display = "none"
m4_3.style.display = "none"
m4_4.style.display = "none"
m4_5.style.display = "none"
m4_6.style.display = "none"
m4_7.style.display = "none"
}
}
//-->