var message= new Array() message[0]="|Imagination is more important than knowledge - Albert Einstein|" message[1]="|The day people stop bringing you their problems, is the day you have stopped leading them. - Colin Powell|" message[2]="|Never ask the barber if you need a haircut - Warren Buffet|" message[3]="|A man may die, nations may rise and fall, but an idea lives on - John F. Kennedy|" message[4]="|The only man who makes no mistakes is the man who never does anything - Eleanor Roosevelt|" message[5]="|We are always ready to live, but never living - Ralph Waldo Emerson|" message[6]="|A life is never important except for the impact it has on other lives - Jackie Robinson |" message[7]="|There is nothing more tragic than to find an individual bogged down in the length of life, devoid of breadth. - Martin Luther King Jr.|" message[8]="|Don’t ask what the world needs. Ask what makes you come alive, and go do it. Because what the world needs is people who have come alive. - Howard Thurman|" // height of the scrollerbox (pixels) var scrollerheight=10 // width of the titlezone (pixels) var titlezonewidth=0 // width of the copyzone (pixels) var copyzonewidth=350 // horizonal position: distance to the top border of the window (pixels) var scrollertop=0 // vertical position: distance to the left border of the window (pixels) var scrollerleft=0 // borderwidth of the scroller var scrollerborder=0 // backgroundcolor for the titlezone var titlezonebg="2b2b2b" // backgroundcolor for the copyzone var copyzonebg="2b2b2b" // backgroundcolor for the scroller var scrollbg="2b2b2b" // The target of your links // possible values are '_blank', '_self', '_top', '_parent' or the name of // the target window for instance 'main' var targetlink="_blank" // font attributes of the title var font_titleface="Verdana" var font_titlecolor="878787" var font_titlesize=1 // font attributes of the copytext var font_copyface="Verdana" var font_copycolor="878787" var font_copysize=1 // set 1 for bold title, set 0 for normal title var titlebold=0 // set 1 for bold copy, set 0 for normal copy var copybold=0 // set 'right', 'left' or 'center' to align the title var titlealign="center" // set 'right', 'left' or 'center' to align the copy var copyalign="center" // standstill between the messages (milliseconds) var standstill=6000 // Do not edit below this line var pre_titlebold var after_titlebold var pre_copybold var after_copybold var cliptop=0 var clipbottom=0 var clipleft=0 var clipright=titlezonewidth+copyzonewidth var i_message=0 var mes_joined var mes_split var contenttext var contentbg="" var step=1 var pause=20 if (titlebold==1) { pre_titlebold="" after_titlebold="" } else if (titlebold==0) { pre_titlebold="" after_titlebold="" } if (copybold==1) { pre_copybold="" after_copybold="" } else if (copybold==0) { pre_copybold="" after_copybold="" } function initiate() { mes_joined=message[i_message] mes_split=mes_joined.split("|") contenttext="" contenttext+="" contenttext+="" contenttext+="" contenttext+="
" contenttext+="" contenttext+="" contenttext+=pre_titlebold contenttext+=mes_split[0] contenttext+=after_titlebold contenttext+="" contenttext+="" contenttext+=pre_copybold contenttext+=mes_split[1] contenttext+=after_copybold contenttext+="
" var bg_width=titlezonewidth+copyzonewidth+2*scrollerborder var bg_height=scrollerheight+2*scrollerborder contentbg="
 
" if (document.all) { scrollertext.innerHTML=contenttext scrollerbg.innerHTML=contentbg document.all.scrollertext.style.posTop=scrollertop+scrollerheight document.all.scrollertext.style.posLeft=scrollerleft document.all.scrollerbg.style.posTop=scrollertop-scrollerborder document.all.scrollerbg.style.posLeft=scrollerleft-scrollerborder document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" scrollin() } if (document.layers) { document.scrollertext.document.write(contenttext) document.scrollertext.document.close() document.scrollerbg.document.write(contentbg) document.scrollerbg.document.close() document.scrollertext.top=scrollertop+scrollerheight document.scrollertext.left=scrollerleft document.scrollerbg.top=scrollertop-scrollerborder document.scrollerbg.left=scrollerleft-scrollerborder document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom scrollin() } } function scrollin(){ if (document.all){ if (document.all.scrollertext.style.posTop>scrollertop) { clipbottom+=step document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" document.all.scrollertext.style.posTop-=step var timer=setTimeout("scrollin()",pause) } else { clearTimeout(timer) var timer=setTimeout("scrollout()",standstill) } } if (document.layers){ if (document.scrollertext.top>scrollertop) { clipbottom+=step document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom document.scrollertext.top-=step var timer=setTimeout("scrollin()",pause) } else { clearTimeout(timer) var timer=setTimeout("scrollout()",standstill) } } } function scrollout(){ if (document.all){ if (document.all.scrollertext.style.posTop>(scrollertop-scrollerheight)) { cliptop+=step document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" document.all.scrollertext.style.posTop-=step var timer=setTimeout("scrollout()",pause) } else { clearTimeout(timer) changemessage() } } if (document.layers){ if (document.scrollertext.top>(scrollertop-scrollerheight)) { cliptop+=step document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom document.scrollertext.top-=step var timer=setTimeout("scrollout()",pause) } else { clearTimeout(timer) changemessage() } } } function changemessage(){ i_message++ if (i_message>message.length-1) {i_message=0} mes_joined=message[i_message] mes_split=mes_joined.split("|") cliptop=0 clipbottom=0 contenttext="" contenttext+="" contenttext+="" contenttext+="" contenttext+="
" contenttext+="" contenttext+="" contenttext+=pre_titlebold contenttext+=mes_split[0] contenttext+=after_titlebold contenttext+="" contenttext+="" contenttext+=pre_copybold contenttext+=mes_split[1] contenttext+=after_copybold contenttext+="
" if (document.all) { scrollertext.innerHTML=contenttext document.all.scrollertext.style.posTop=scrollertop+scrollerheight document.all.scrollertext.style.posLeft=scrollerleft document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" scrollin() } if (document.layers) { document.scrollertext.document.write(contenttext) document.scrollertext.document.close() document.scrollertext.top=scrollertop+scrollerheight document.scrollertext.left=scrollerleft document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom scrollin() } }