/*********************************************** * Pausing updown message scroller- © 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 ***********************************************/ //configure the below five variables to change the style of the scroller var scrollerdelay='3000'; //delay between msg scrolls. 3000=3 seconds. var scrollerwidth='150px'; var scrollerheight='78px'; var scrollerbgcolor=''; //set below to '' if you don't wish to use a background image var scrollerbackground=''; //configure the below variable to change the contents of the scroller var messagesxxx=new Array(); messagesxxx[0]='
Subscribe to the CCG RSS feeds to get Classic Cars delivered directly to your desktop!
'; messagesxxx[1]='
BLOGGING - We post Classic, Exotic and Muscle Cars that YOU would like to own!
'; messagesxxx[2]='
TWITTER - follow us and receive instant updates!
'; messagesxxx[3]='
We want to make YOU money - sign up to our Affiliate Program and earn 50% commission on sales!
'; messagesxxx[4]='
35 Languages Translated 33 Currencies Converted Visitors from over 170 different countries!!
'; messagesxxx[5]='
30,000 NEW Classic and Collector Car enthusiasts discover the CCG website EVERY month!!
'; messagesxxx[6]='
Hello and welcome to ClassicCarsGlobal.com - The only truly GLOBAL Classic Car site on the Internet!
'; ///////Do not edit pass this line/////////////////////// var ie=document.all; var dom=document.getElementById; if (messagesxxx.length>2) iii=2; else iii=0; function move(whichdiv){ tdiv=eval(whichdiv); if (parseInt(tdiv.style.top)>0 && parseInt(tdiv.style.top)<=5){ tdiv.style.top=0+"px"; setTimeout("move(tdiv)",scrollerdelay); setTimeout("move2(second2xxx_obj)",scrollerdelay); return; } if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){ tdiv.style.top=parseInt(tdiv.style.top)-5+"px"; setTimeout("move(tdiv)",50); } else{ tdiv.style.top=parseInt(scrollerheight)+"px"; tdiv.innerHTML=messagesxxx[iii]; if (iii==messagesxxx.length-1) iii=0; else iii++; }; } function move2(whichdiv){ tdiv2=eval(whichdiv); if (parseInt(tdiv2.style.top)>0 && parseInt(tdiv2.style.top)<=5){ tdiv2.style.top=0+"px"; setTimeout("move2(tdiv2)",scrollerdelay); setTimeout("move(first2xxx_obj)",scrollerdelay); return; } if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){ tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"; setTimeout("move2(second2xxx_obj)",50); } else{ tdiv2.style.top=parseInt(scrollerheight)+"px"; tdiv2.innerHTML=messagesxxx[iii]; if (iii==messagesxxx.length-1) iii=0; else iii++; }; } function startscrollxxx(){ first2xxx_obj=ie? first2xxx : document.getElementById("first2xxx"); second2xxx_obj=ie? second2xxx : document.getElementById("second2xxx"); move(first2xxx_obj); second2xxx_obj.style.top=scrollerheight; second2xxx_obj.style.visibility='visible'; } if (ie||dom){ document.writeln("
"); document.writeln("
"); document.writeln("
"); document.write(messagesxxx[0]); document.writeln("
"); document.writeln(""); document.writeln("
"); document.writeln("
"); } if (window.addEventListener) window.addEventListener("load", startscrollxxx, false); else if (window.attachEvent) window.attachEvent("onload", startscrollxxx); else if (ie||dom) window.onload=startscrollxxx;