/* JS file generated by Alphabix */
function AB_switchstyle(s){
 if(!document.styleSheets) return;
 for(var i=1; i<document.styleSheets.length; i++){
  if(i==s)
   document.styleSheets[i].disabled=false;
  else
   document.styleSheets[i].disabled=true;
 }
}


window.onload = function(){
AB_doit();
}

function AB_doit(){
var e = document.getElementById('BF');
if(!e) return;

var f = document.getElementById('TA');
if(!f) return;

var t = f.value;
t=t.toUpperCase();

s="";
for(i=0; i<t.length; i++){
if(t.charCodeAt(i)==10){
s+="<br clear='all'/>"
}
else{
s+="<div class=\"C";
s+=t.charCodeAt(i);
s+="\"></div>";
}
}

e.innerHTML=s;
}

function AB_SetColour(c){
 document.body.style.backgroundColor=c;
}
