var bSpace,bUpper;function initBoxes(){var A=Array("box1","box2","box3");for(var B=A.length-1;B>=0;--B){var E=document.getElementById(A[B]);E.onclick=function(){this.focus();this.select()}}var D=document.getElementById("sName");var C="Enter your name in here";D.onclick=function(){if(D.value==C){D.value=""}};D.onblur=function(){if(D.value==""){D.value=C}}}function updateBoxes(){var A=document.getElementById("sName").value;bSpace=document.getElementById("chkSpace").checked;bUpper=document.getElementById("chkUpper").checked;if(bUpper){A=A.toUpperCase()}if(A.length<1){return }document.getElementById("box1").value=box1(A);document.getElementById("box2").value=box2(A);document.getElementById("box3").value=box3(A)}function box1(C){var B,D,A="";for(B=0;B<C.length;B++){D=C.charAt(B);if(D==" "&&!bSpace){A+=" ";continue}A+="|\u0305\u0332"+D+"\u0305\u0332|"}return A}function box2(C){var B,D,A="|\u0305\u0332";for(B=0;B<C.length;B++){D=C.charAt(B);A+="\u0305\u0332"+D+"\u0305\u0332"}A=A+"\u0305\u0332|";return A}function box3(C){var B,D,A=" \u0332";for(B=0;B<C.length;B++){D=C.charAt(B);A+=""+D+"\u0332"}return A};