/*
This file and its contents are (c) Angus Turnbull, 2004-2005. All Rights Reserved.

Copying this entire file and using it on other websites is EXPRESSLY FORBIDDEN.
Instead, get a new copy of the "FreeStyle Menu" script from my site, which is what I use here,
and come up with an original design! The effects are either located in the "extras" file
shipped with the FreeStyle Menus, or at http://www.twinhelix.com/test/
*/

var h6Arr=[];function h6Setup(){h6Arr=document.getElementsByTagName('h6');for(var h=0;h<h6Arr.length;h++){var h6=h6Arr[h],text=h6.firstChild.nodeValue;h6.removeChild(h6.firstChild);h6.animNodes=[];for(var i=0;i<text.length;i++){var span=document.createElement('span');span.appendChild(document.createTextNode(text.substring(i,i+1)));h6.appendChild(span);h6.animNodes[h6.animNodes.length]=span}h6.animCount=0;h6.animTimer=setInterval('h6Anim('+h+')',50)}};function h6Anim(h){var h6=h6Arr[h],c=h6.animCount++,noAnim=1;for(var i=0;i<h6.animNodes.length;i++){var s=h6.animNodes[i];var frac=Math.max(0,Math.min(1,(c-i)/10));if(s.animDone)continue;noAnim=0;s.style.color='rgb('+parseInt(255-255*frac)+','+parseInt(255-255*frac)+','+parseInt(255-255*frac)+')';if(frac==1){s.style.marginLeft='auto';s.animDone=1}else if(frac>0)s.style.marginLeft=0.6*(1-frac)+'em'}if(noAnim)clearInterval(h6.animTimer);h6.style.visibility='visible'};var zoomVal=0;function zoom(val){if(!document.body||!document.body.style)return;zoomVal=(val?zoomVal+val:0);document.body.style.fontSize=(80+zoomVal*10)+'%'};{document.write('<style type="text/css">h6{visibility:hidden}</style>')}
