var tickercontent=new Array()

tickercontent[0]='<p class="Black_STitle">Regulatory Risk</p><p style="padding-top:5px; line-height:16px;">\"\Sarb-Ox alone will set back companies $5.5 billion. . . at the company level, that averages out to $1 million per $1 billion in revenue.\"\</p><p style="padding-top:10px; line-height:16px;"><img src="images/infoworld_logo2.jpg" alt="InfoWorld" /></p><p style="color:#000000; padding-top:5px; line-height:16px;">Recouping the Costs of Regulations, InfoWorld</p>'

tickercontent[1]='<p class="Black_STitle">Financial Risk</p><p style="padding-top:5px; line-height:16px;">\"\In its study of 43 companies that suffered a data breach last year, the total cost of coping with the consequences rose to $6.6 million per breach, up from $6.3 million in 2007 and $4.7 million in 2006\"\</p><p style="padding-top:10px; line-height:16px;"><img src="images/ponemon_institute_logo2.jpg" alt="Ponemon Institute" /></p><p style="color:#000000; padding-top:5px; line-height:16px;">2nd February 2009 &shy; Ponemon Institute</p>'

tickercontent[2]='<p class="Black_STitle">Reputation Risk</p><p style="padding-top:5px; line-height:16px;">\"\World Bank Under Cyber Siege in \'Unprecedented Crisis- The World Bank Group\'s computer network one of the largest repositories of sensitive data about the economies of every nation has been raided repeatedly by outsiders for more than a year\"\</p><p style="padding-top:10px;"><img src="images/fox_news_logo2.jpg" alt="Fox News" /></p><p style="color:#000000; padding-top:5px; line-height:16px;">10th October 2008 &shy; Fox News</p>'

tickercontent[3]='<p class="Black_STitle">Reputation Risk</p><p style="padding-top:5px; line-height:16px;">\"\FAA network hacked &shy; The Federal Aviation Administration has joined the growing list of government agencies that have had their supposedly safe systems hacked.\"\</p><p style="padding-top:10px; color:#000000; line-height:16px;"><img src="images/network_world_logo2.jpg" alt="Network World" /></p><p style="color:#000000; padding-top:5px; line-height:16px;">10th February 2009 &shy; Network World</p>'

tickercontent[4]='<p class="Black_STitle">Operational Risk</p><p style="padding-top:5px; line-height:16px;">\"\They would ask me, \'\are we compliant?\'\ and I had to say to myself, I don\'\ t really know at three o\'\clock on Tuesday we were, but who knows what\'\s come along since then, or where our systems may have drifted?\"\</p><p style="color:#000000; padding-top:10px; line-height:16px;">Chief Security Officer, Midsize Health Services Company</p>'



function domticker(content, divId, divClass, delay, fadeornot){
this.content=content
this.tickerid=divId 
this.delay=delay
this.mouseoverBol=0
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
this.opacitysetting=0.1
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 
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) 
setTimeout(function(){instanceOfTicker.rotatemsg()}, 100)
else{
this.fadetransition("reset") 
this.contentdiv.innerHTML=this.content[this.pointer]
this.fadetimer1=setInterval(function(){instanceOfTicker.fadetransition('up', 'fadetimer1')}, 100)
this.pointer=(this.pointer<this.content.length-1)? this.pointer+1 : 0
setTimeout(function(){instanceOfTicker.rotatemsg()}, this.delay)
}
}


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")
contentdiv.filters[0].opacity=this.opacitysetting*100
else
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])
}
