home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Multimedia Spanish 3
/
ProOne-MultimediaSpanishIII-WinMac.bin
/
mac
/
span3web
/
lesson.js
< prev
next >
Wrap
Text File
|
1998-04-16
|
496b
|
24 lines
function DoModule( name )
{
var ref;
ref = name + "?prefs=" + ((document.prefs.sound.checked) ? "1" : "0") + "0";
// + ((document.prefs.saved.checked) ? "1" : "0");
top.location.href = ref;
}
function SetPrefs()
{
var prefs;
prefs = top.location.search;
if (prefs == "")
{
prefs = "=11";
}
prefs = prefs.substring(prefs.indexOf("=") + 1);
document.prefs.sound.checked = prefs.charAt(0) == "1";
// document.prefs.saved.checked = prefs.charAt(1) == "1";
}