/*********************************************** * Memory Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var memorywidth="525px" //scroller width var memoryheight="22px" //scroller height var memorybgcolor="transparent" //scroller background var memorypadding="2px" //padding applied to the scroller. 0 for non. var borderCSS="border: 0px solid white;" //Border CSS, applied to scroller to give border. var memoryspeed=2 //Scroller speed (larger is faster 1-10) var pauseit=1 //Pause scroller onMousever (0=no. 1=yes)? var persistlastviewedmsg=0 //should scroller's position persist after users navigate away (1=yes, 0=no)? var persistmsgbehavior="onload" //set to "onload" or "onclick". //Specify the scroller's content (don't delete tag) //Keep all content on ONE line, and backslash any single quotations (ie: that\'s great): var memorycontent='Quality is remembered long after the price is forgotton - Gucci Family     ||     Everything comes to him who hustles while he waits - Thomas Edison     ||     Your legacy should be that you made it better than it was when you got it - Lee Iacocca     ||     Making money doesn\'t oblige people to forfeit their honour or their conscience - Baron Guy de Rothschild     ||     If you see a bandwagon it is too late - Sir James Goldsmith     ||     You may be disappointed if you fail but you are doomed if you don\'t try - Beverly Sills     ||     One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man - Elbert Hubbard     ||     If there\'s a way to do it better find it - Thomas Edison     ||     Procrastination is opportunity\'s natural assassin - Victor Kiam     ||     If you do anything just for the money you don\'t succeed - Barry Hearn     ||     Being good is good business - Anita Roddick     ||     Always do your best. What you plant now, you will harvest later - O.G. Mandino     ||     Recruit accurately Retain agressively Reward achievement - Mike Matthews & Hamish McDonald     ||     My formula for success is to be found in three words work work work - Silvio Berlusconi     ||     Well we can\'t stand here doin nothing, people will think we are workmen - Spike Milligan     ||     Contrary to the cliche genuinely nice guys most often finish first or very near it - Malcolm Forbes     ||     Always bear in mind that your own resolution to succeed is more important than any other one thing - Abraham Lincoln     ||     Work expands so as to fill the time available for its completion - Professor C. Northcote Parkinson     ||     Have regard for your name since it will remain for you longer than a great store of gold - The Apocrypha' ////NO NEED TO EDIT BELOW THIS LINE//////////// var combinedcssTable="width:"+(parseInt(memorywidth)+6)+"px;background-color:"+memorybgcolor+";padding:"+memorypadding+";"+borderCSS+";" var combinedcss="width:"+memorywidth+";height:"+memoryheight+";" var divonclick=(persistlastviewedmsg && persistmsgbehavior=="onclick")? 'onClick="savelastmsg()" ' : '' memoryspeed=(document.all)? memoryspeed : Math.max(1, memoryspeed-1) //slow speed down by 1 for NS var copyspeed=memoryspeed var pausespeed=(pauseit==0)? copyspeed: 0 var iedom=document.all||document.getElementById if (iedom) document.write('') var actualwidth='' var memoryscroller if (window.addEventListener) window.addEventListener("load", populatescroller, false) else if (window.attachEvent) window.attachEvent("onload", populatescroller) else if (document.all || document.getElementById) window.onload=populatescroller function populatescroller(){ memoryscroller=document.getElementById? document.getElementById("memoryscroller") : document.all.memoryscroller memoryscroller.style.left=parseInt(memorywidth)+8+"px" if (persistlastviewedmsg && get_cookie("lastscrollerpos")!="") revivelastmsg() memoryscroller.innerHTML=memorycontent actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth lefttime=setInterval("scrollmarquee()",20) } function get_cookie(Name) { var search = Name + "=" var returnvalue = "" if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset) if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function savelastmsg(){ document.cookie="lastscrollerpos="+memoryscroller.style.left } function revivelastmsg(){ lastscrollerpos=parseInt(get_cookie("lastscrollerpos")) memoryscroller.style.left=parseInt(lastscrollerpos)+"px" } if (persistlastviewedmsg && persistmsgbehavior=="onload") window.onunload=savelastmsg function scrollmarquee(){ if (parseInt(memoryscroller.style.left)>(actualwidth*(-1)+8)) memoryscroller.style.left=parseInt(memoryscroller.style.left)-copyspeed+"px" else memoryscroller.style.left=parseInt(memorywidth)+8+"px" } if (iedom){ with (document){ document.write('
') write('
') write('
') write('
') document.write('
') } }