/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=4000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<FONT SIZE=2 COLOR="Maroon" FACE="verdana,Times New Roman,Arial"><strong>' //set opening tag, such as font declarations
fcontent[0]="<p>Online ad spending will be up 15 percent to $7.8 billion in 2005.</p><p align=right>-Universal McCann</p>"
fcontent[1]="<p>Two-thirds of consumer magazine Web sites run ads from marketers that don't also advertise in the print editions. </p><p align=right>-International Federation of the Periodical Press</p>"
fcontent[2]="<p>Online Retailers Expect 35% Growth in E-Commerce Revenues.<br><br>-Internet Retailer</p>"
fcontent[3]="<p>Web sites outranked television ads in eight out of 10 categories.</p><p align=right>-DoubleClick</p>"
fcontent[4]="<p>With Top Level, once your webmaster places the ad zones, non-technical personnel can manage them.</p>"
fcontent[5]="<p>Online readers give more credibility to ads that appear at the start of an article--below the masthead and before the byline</p><p align=right>-U. of Missouri-Columbia School of Journalism / U. of Kansas School of Journalism and Communication.</p>"
fcontent[6]="<p>Job ads in print newspapers dipped in May, but online job ads have continued to grow.</p><p align=right>-Conference Board</p>"
fcontent[7]="<p>Leading e-commerce companies will spend 28% more on advertising and marketing this year.</p><p align=right>-Merrill Lynch</p>"
fcontent[8]="<p>Top Level ad pricing can be done by impressions, click-throughs, fixed price or any combination.</p>"
fcontent[9]="<p>General community Web sites captured the fastest growing sector in estimated online advertising revenue</p><p align=right>-June 2005 Nielsen/NetRatings AdRelevance service report</p>"
fcontent[10]="<p>While the larger pay-per-click-supported search engines tend to make up a large percentage of overall Internet searches, there are smaller venues that can deliver qualified traffic in volume at an acceptable cost.</p><p align=right>-Tom Hespos, Online Spin</p>"
closetag='</strong></font>'

var fwidth=300 //set scroller width
var fheight=125 //set scroller height

///No need to edit below this line/////////////////

var ie4=document.all&&!document.getElementById
var ns4=document.layers
var DOM2=document.getElementById
var faderdelay=0
var index=0

if (DOM2)
faderdelay=2000

//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").style.color="rgb(255,255,64)"
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
colorfade()
}
else if (ie4)
document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag
else if (ns4){
document.fscrollerns.document.fscrollerns_sub.document.write(begintag+fcontent[index]+closetag)
document.fscrollerns.document.fscrollerns_sub.document.close()
}

index++
setTimeout("changecontent()",delay+faderdelay)
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

frame=60;
hex=255  // Initial color value.

function colorfade() {	         	
// 20 frames fading process
if(frame>0) {	
hex-=12; // increase color value
document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
frame--;
setTimeout("colorfade()",20);	
}
else{
document.getElementById("fscroller").style.color="rgb(0,0,0)";
frame=60;
hex=255
}   
}

if (ie4||DOM2)
document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')

window.onload=changecontent
