var tickercontent=new Array()
tickercontent[0]='<b>"A TRUE business and marketing genius."</b> - <font size="1" weight="normal">Paul Schaller, President of ABC Financial Services</font>'
tickercontent[1]='<b>"Captain Marketing continues to be a valued part of our growth strategy."</b> - <font size="1" weight="normal">Howard L. Rappaport, President and CEO of Pacific Sports Health Management, Inc.</font>'
tickercontent[2]='<b>"Captain Marketing\'s services are the edge that I had been looking for over my competition."</b> - <font size="1" weight="normal">Chris, Owner of Duckies Chowder House</font>'
tickercontent[3]='<b>"I recommend Captain Marketing unreservedly to any business."</b> - <font size="1" weight="normal">Jay Ritt, Principal, Bensinger, Ritt, Tai & Thvedt</font>'
tickercontent[4]='<b>"I strongly recommend Captain Marketing to any local business."</b> - <font size="1" weight="normal">Jason DeVroom, Federal Express</font>'
tickercontent[5]='"<b>Captain Marketing DOUBLED our new member SALES within 90 days."</b> - <font size="1" weight="normal">Shawn Tamjidi, Owner of Powerhouse Gym</font>'
tickercontent[6]='<b>"There is only one company that I would trust with my marketing... Captain Marketing!"</b> - <font size="1" weight="normal">John Machtinger, Owner, Gun Law Press</font>'
tickercontent[7]='<b>"Within 60 days he DOUBLED our average store lead!!!"</b> - <font size="1" weight="normal">Todd Heckmann, Principal of LaserAway Tattoo and Hair Removal Centers</font>'
tickercontent[8]='<b>"There are so many internet marketing frauds out there.  Rest assured Captain Marketing is not one of them."</b> - <font size="1" weight="normal">Jason DeVroom, Federal Express</font>'
tickercontent[9]='<b>"I recommend Captain Marketing for any stage of market development."</b> - <font size="1" weight="normal">Howard L. Rappaport, President and CEO of Pacific Sports Health Management, Inc.</font>'
tickercontent[10]='<b>"I would recommend Captain Marketing as one of today\'s true marketing experts."</b> - <font size="1" weight="normal">Danny Errico, Founder and Former CEO of Equinox Fitness</font>'
tickercontent[11]='<b>"Hire Captain Marketing and customers shall come."</b> - <font size="1" weight="normal">Paul Schaller, President of ABC Financial Services</font>'
tickercontent[12]='<b>"Awesome results! Captain Marketing is the real deal."</b> - <font size="1" weight="normal">Larry Thrall, Owner of Pacific Caps</font>'
tickercontent[13]='<b>"Captain Marketing has helped my law business immensely."</b> - <font size="1" weight="normal">Jay Ritt, Principal, Bensinger, Ritt, Tai & Thvedt</font>'
tickercontent[14]='<b>"We continue to see month to month increase in our unique visitor traffic."</b> - <font size="1" weight="normal">Howard L. Rappaport, President and CEO of Pacific Sports Health Management, Inc.</font>'
tickercontent[15]='<b>"Captain Marketing DOUBLED our new member SALES within 90 days."</b> - <font size="1" weight="normal">Shawn Tamjidi, Owner of Powerhouse Gym</font>'


/***********************************************
* DHTML Ticker script- ? Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function domticker(content, divId, divClass, delay, fadeornot){
this.content=content
this.tickerid=divId //ID of master ticker div. Message is contained inside first child of ticker div
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over ticker (and pause it if it is)
this.pointer=1
this.opacitystring=(typeof fadeornot!="undefined")? "width: 100%; filter:progid:DXImageTransform.Microsoft.alpha(opacity=100); -moz-opacity: 1" : ""
if (this.opacitystring!="") this.delay+=500 //add 1/2 sec to account for fade effect, if enabled
this.opacitysetting=0.2 //Opacity value when reset. Internal use.
document.write('<div id="'+divId+'" class="'+divClass+'"><div style="'+this.opacitystring+'">'+content[0]+'</div></div>')
var instanceOfTicker=this
setTimeout(function(){instanceOfTicker.initialize()}, delay)
}

domticker.prototype.initialize=function(){
var instanceOfTicker=this
this.contentdiv=document.getElementById(this.tickerid).firstChild //div of inner content that holds the messages
document.getElementById(this.tickerid).onmouseover=function(){instanceOfTicker.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){instanceOfTicker.mouseoverBol=0}
this.rotatemsg()
}

domticker.prototype.rotatemsg=function(){
var instanceOfTicker=this
if (this.mouseoverBol==1) //if mouse is currently over ticker, do nothing (pause it)
setTimeout(function(){instanceOfTicker.rotatemsg()}, 100)
else{
this.fadetransition("reset") //FADE EFFECT- RESET OPACITY
this.contentdiv.innerHTML=this.content[this.pointer]
this.fadetimer1=setInterval(function(){instanceOfTicker.fadetransition('up', 'fadetimer1')}, 100) //FADE EFFECT- PLAY IT
this.pointer=(this.pointer<this.content.length-1)? this.pointer+1 : 0
//var randomnumber=Math.floor(Math.random()*51);
//this.pointer=randomnumber;
setTimeout(function(){instanceOfTicker.rotatemsg()}, this.delay) //update container
}
}

// -------------------------------------------------------------------
// fadetransition()- cross browser fade method for IE5.5+ and Mozilla/Firefox
// -------------------------------------------------------------------

domticker.prototype.fadetransition=function(fadetype, timerid){
var contentdiv=this.contentdiv
if (fadetype=="reset")
this.opacitysetting=0.2
if (contentdiv.filters && contentdiv.filters[0]){
if (typeof contentdiv.filters[0].opacity=="number") //IE6+
contentdiv.filters[0].opacity=this.opacitysetting*100
else //IE 5.5
contentdiv.style.filter="alpha(opacity="+this.opacitysetting*100+")"
}
else if (typeof contentdiv.style.MozOpacity!="undefined" && this.opacitystring!=""){
contentdiv.style.MozOpacity=this.opacitysetting
}
else
this.opacitysetting=1
if (fadetype=="up")
this.opacitysetting+=0.2
if (fadetype=="up" && this.opacitysetting>=1)
clearInterval(this[timerid])
}