--- title: private.js created: 2008-01-11 12:55 updated: 2008-01-11 12:55 revision: 4 author: Auriea --- [[Reference]] function translate() { thisText = document.forms[0].input.value.toLowerCase(); thisAlphabet = document.forms[0].alphabet.value; theseLetters = new Array(); for ( i = 0 ; i < 26 ; i++ ) { theseLetters[i] = thisAlphabet.substring(i,i+1); }; theLetters = new Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); for ( i = 0 ; i < 26 ; i++ ) { while ( thisText.indexOf(theLetters[i]) != -1 ) { thisText = thisText.substring(0,thisText.indexOf(theLetters[i])) + theseLetters[i] + thisText.substring(thisText.indexOf(theLetters[i])+1,thisText.length); }; }; document.forms[0].output.value = thisText; }; function clearText(thefield){ if (thefield.defaultValue==thefield.value) thefield.value = "" }; function ananatomy(){ anaWin = window.open(\'http://ananatomy.walkerart.org/external.html\',\'anaWin\',\'left=0,top=0,width=450,height=450,TOOLBAR=no,LOCATION=yes,DIRECTORIES=no,STATUS=yes,MENUBAR=no,SCROLLBARS=no,RESIZABLE=no\') }; function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } }; function changeImages() { if (document.images) { for (var i=0; i