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 > 0) parent.snd.src="sounds/audio1.wav";
- switch (element.type) {
- case 'x':
- eraseCurrentUser();
- self.location.href = "profiel.html";
- break;
- case 'qi':
- storeData();
- buildQi();
- qiMode = true;
- break;
- case 'ok':
- storeData();
- if ((qiMode == false) && (profielType == 0)) {
- buildQi();
- qiMode = true;
- }
- else if ((qiMode == true) && (profielType == 1)) {
- QiArea.style.visibility = 'hidden';
- qiMode = false;
- }
- else if (((qiMode == true) && (profielType == 0)) || ((qiMode == false) && (profielType == 1))) parent.quitProfiel();
- break;
- }
- }
- </script>
-