home *** CD-ROM | disk | FTP | other *** search
- <PUBLIC:ATTACH EVENT="onmouseover" HANDLER="Hilite" />
- <PUBLIC:ATTACH EVENT="onmouseout" HANDLER="Restore" />
- <PUBLIC:ATTACH EVENT="onclick" HANDLER="Choose" />
-
- <script language="JavaScript">
- function Hilite() {
- S = element.src;
- element.src = S.slice(0,S.length-5) + '1' + S.slice(S.length-4);
- }
-
- function Restore() {
- S = element.src;
- element.src = S.slice(0,S.length-5) + '0' + S.slice(S.length-4);
- }
-
- function Choose() {
- if (parent.soundSettings == 2) parent.snd.src="sounds/audio2.wav";
- switch (element.type) {
- case 'profiel':
- parent.AppPage.location.href = 'profiel.html';
- break;
- case 'menu':
- parent.AppPage.location.href = 'menu.html';
- break;
- case 'terug':
- parent.AppPage.location.href = element.url;
- break;
- case 'help':
- HelpArea.style.visibility = 'visible';
- NavBtn[0].style.visibility = 'inherit';
- NavBtn[1].style.visibility = 'hidden';
- NavBtn[2].style.visibility = 'inherit';
- break;
- case 'nohelp':
- HelpArea.style.visibility = 'hidden';
- NavBtn[0].style.visibility = 'hidden';
- NavBtn[1].style.visibility = 'inherit';
- NavBtn[2].style.visibility = 'hidden';
- break;
- case 'beweegplanner':
- parent.AppPage.location.href = 'beweegplan.html';
- break;
- case 'beweegmeter':
- parent.AppPage.location.href = 'beweegtugenoeg.html';
- break;
- case 'print':
- parent.AppPage.print();
- break;
- }
- }
- </script>
-