// Original script distributed by http://www.hypergurl.com // Modified and merged with ph by aaron mello 9-2008 //Mike the next few lines let you change the look of your scroll box // Set the width of the scroll box on the line below (in pixels) var scrollerwidth="600px" // Set the height of the scroll box on the line below (in pixels) var scrollerheight="100px" // Set the border style width and color of the scroll box on the line below (eg solid 1px #000000) var brdstyle='solid 3px #0000FF' // Set the background color of the scroll box on the line below (use hex color codes proceeded by the # sign) var bgclr='blue' // Set the text color of the links on the line below (use hex color codes proceeded by the # sign) var txtclr='white' // Set scroll box speed on the line below (larger is faster 1-10) var scrollerspeed=1 // DO NOT Change anything below this line! // // Scrollers content goes here! Keep all of the message on the same line! var scrollercontent='' +'Click Here For Consumer Protection News From Around The World

' +'

' +'"Competition Is The Highest Form Of Consumer Protection"

' +'This site updated daily - check here for the latest consumer news from around the world!

' +'--- CLICK HERE FOR CONSUMER ALERTS ----

' +'Click Here For Lobbying Info, News & Tips

' var pauseit=1 scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS var copyspeed=scrollerspeed var iedom=document.all||document.getElementById var actualheight='' var cross_scroller, ns_scroller var pausespeed=(pauseit==0)? copyspeed: 0 function populate(){ if (iedom){ cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller cross_scroller.style.top=parseInt(scrollerheight)+8+"px" cross_scroller.innerHTML=scrollercontent actualheight=cross_scroller.offsetHeight } else if (document.layers){ ns_scroller=document.ns_scroller.document.ns_scroller2 ns_scroller.top=parseInt(scrollerheight)+8 ns_scroller.document.write(scrollercontent) ns_scroller.document.close() actualheight=ns_scroller.document.height } lefttime=setInterval("scrollscroller()",20) } window.onload=populate function scrollscroller(){ if (iedom){ if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8)) { cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px" } else cross_scroller.style.top=parseInt(scrollerheight)+8+"px" } else if (document.layers){ if (ns_scroller.top>(actualheight*(-1)+8)) ns_scroller.top-=copyspeed else ns_scroller.top=parseInt(scrollerheight)+8 } } if (iedom||document.layers){ with (document){ if (iedom){ write('
') write('
') write('
') } else if (document.layers){ write('') write('') write('') } } }