
/***********************************
*   http://news-ticker.vbarsan.com/
*   This notice may not be removed 
***********************************/

//Parameters:
//width of the TICKER in pixels: set to your own;
var dwidth=300; 
//height of the TICKER in pixels: set to your own; 
var dheight=300; 
//speed: the higher the slower - set your own!
var dspeed=100; //1s=1000; 
//1.Background color: could be like: "#ffff00" or "yellow";
//set it "" for no background color;
var dbcolor="";

//The STYLE for your message - not recommended to use both!; 
//when left aligned, ticker goes from left to right;
//when center aligned, ticker goes from center out;
var expclass='class=leftaln';

//Message:
//Inside any message you MUST use \' in lieu of ';
var mesaj='> imagine<br />what success feels like<br />...give your business wings';
//Algorithm:
var jj=-1;var kk=0;var wds=0;
function iens6exp(){jj++;
if(kk==0&&mesaj.charAt(jj)=="<"){kk=1;wds=0;}else if(kk==1&&mesaj.charAt(jj)==">"){kk=0;wds=0;}else if(kk==1)wds=0;
if(kk==0&&mesaj.charAt(jj)!=">"&&jj<=mesaj.length){wds=1;
iens6div.innerHTML=mesaj.substring(0,jj);}
if(wds>0&&jj<=mesaj.length)setTimeout("iens6exp()",dspeed);else if(jj<=mesaj.length)iens6exp();}
function ns4exp(){jj++;
if(kk==0&&mesaj.charAt(jj)=="<"){kk=1;wds=0;}else if(kk==1&&mesaj.charAt(jj)==">"){kk=0;wds=0;}else if(kk==1)wds=0;
if(kk==0&&mesaj.charAt(jj)!=">"&&jj<=mesaj.length){wds=1;
ns4div.document.write('<div '+expclass+'>'+mesaj.substring(0,jj)+'</div>');ns4div.document.close();}
if(wds>0&&jj<=mesaj.length)setTimeout("ns4exp()",dspeed);else if(jj<=mesaj.length)ns4exp();}
function startexp(){if(document.getElementById){alch=document.getElementById('chthis');iens6div=document.getElementById('expdiv');iens6div.innerHTML='';iens6exp();}else if(document.all){alch=chthis;iens6div=expdiv;iens6div.innerHTML='';iens6exp();}else if(document.layers){ns4div=document.ns4expb0.document.ns4expb1;ns4div.document.write('');ns4div.document.close();ns4exp();}}