
/***********************************
*   http://javascripts.vbarsan.com/
*   This notice may not be removed 
***********************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=150;

//scroller's height
var sheight=160;

//scroller's speed 
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;

//scroller's background
sbcolor="#ffffff";

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array();
singletext[0]='<div align="center" class=tan>Joining Chicagofun.com was one of the best marketing decisions Creative Celebrations has made.  I am so glad JoAnne called me in the first place.  The referrals alone more than pay for the cost of membership (not to mention the events that are made available to members).  We could not be happier with our membership! </p><p align="center">Amy R.<br>Chicagofun.com Member<br>Since 2003<br><a href="/creativecelebrations">Creative Celebrations</a></p> </div>';
singletext[1]='<div align="center" class=tan>Since joining Chicagofun.com I have had to hire 2 more crews and buy 2 more roasters.  Thank you Chicagofun.com!<br><a class=tabb href="http://www.doubledspecialevents.com/">Double D Special Events<br></a></div>';
singletext[2]='<div align="center" class=tann>I get so much business now that I am on Chicagofun.com</div><div align="center" class=tan>My business would not be where it is today if it were not for chicagofun.com<br>You are great!<br> <b><u>THANK YOU!!!</u></b></div>';
singletext[3]='<div align="center"><a href="http://www.jdoqocy.com/click-1733979-10363687" target="_top"><img src="http://www.afcyhf.com/image-1733979-10363687" width="120" height="60" alt="Shop at the Discovery Channel Store. " border="0"></a></div>';
singletext[4]='<div align="center" class=tan><b>I love This Site!</b></div><div align="center" class=tan>Every party I throw,<br>I start with Chicagofun.com<br>Diane R. - Chicago</div>';
singletext[5]='<div align="center" class=tan><a href="http://chicagofun.com/phpadsnew/adclick.php?n=a9467393"><img border="0" src="http://chicagofun.com/mhc_150x200.gif" width="150" height="200"></a></div>';
singletext[6]='<div align="center" class=tan>I want to say I am getting many calls from folks that have seen info on your site.  I am very happy I joined up!<br>Sweet Patootie the Clown </div>';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
if (singletext.length>1)ii=1;else ii=0;
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function start(){if (document.all){iens6div.style.top=sheight;iens6div.innerHTML=singletext[0];iescroll(iens6div);}else if (document.layers){document.ns4div.document.ns4div1.top=sheight;document.ns4div.document.ns4div1.visibility='show';document.ns4div.document.ns4div1.document.write(singletext[0]);document.ns4div.document.ns4div1.document.close();ns4scroll(document.ns4div.document.ns4div1);}else if (document.getElementById){document.getElementById('iens6div').style.top=sheight;document.getElementById('iens6div').innerHTML=singletext[0];ns6scroll(document.getElementById('iens6div'));}}
function iescroll(whichdiv){iediv=eval(whichdiv);sizeup=iediv.offsetHeight;if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll(iediv)",100);}if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed;setTimeout("iescroll(iediv)",100);}else{iediv.style.pixelTop=sheight;iediv.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
function ns4scroll(whichlayer){ns4layer=eval(whichlayer);sizeup=ns4layer.document.height;if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll(ns4layer)",100);}if (ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll(ns4layer)",100);}else{ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();if(ii==singletext.length-1)ii=0;else ii++;}}
function ns6scroll(whichdiv){ns6div=eval(whichdiv);sizeup=ns6div.offsetHeight;if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll(ns6div)",100);}if (parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed;setTimeout("ns6scroll(ns6div)",100);}else{ns6div.style.top=sheight;ns6div.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
//-- end Algorithm -->

