var fcontent=new Array();
// Printing 10
/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/
var delay=8000; //set delay between message change (in miliseconds)
fcontent[0]="Home Office to approve police hacking powers
The Home Office is set to approve new police powers which will speed up the process of hacking into personal computers.";
fcontent[1]="Xdrive storage site to close
Xdrive, an online storage service, is to shut down on 12 January and all files stored on it deleted.
";
fcontent[2]="Gym search traffic rockets
Web searches for diets are down on this time last year, though more people are looking for gym-related websites, according to figures.";
fcontent[3]="Apple boss confirms health problems
Apple chief executive Steve Jobs has written an open letter outlining his health problems and reasons for not attending the Macworld conference.";
fcontent[4]="Phishers attack Google Calendar
Fake email asks for your login details and invites you to an event that doesn't exist.";
fcontent[5]="Broadband speeds drop at peak times
Broadband speeds can drop by a quarter at peak times, figures taken in December 2008 have revealed.";
fcontent[6]="Twitter members warned of scam
Members of micro-blogging service Twitter are being warned of a scam that aims to steal their credit card details.";
fcontent[7]="Darwin Awards honour priest
A Brazilian priest who plummeted to his death during a balloon ride has been honoured with the Darwin Award for 2008.";
fcontent[8]="Watch New Year fireworks online
Celebrate the arrival of 2009 by watching the excitement online all over the world.";
fcontent[9]="Watch Sydney New Year fireworks
Australia celebrates the arrival of 2009 with its biggest-ever New Year's Eve display.";
begintag='Latest News: '
closetag=''
var fwidth=470 //set scroller width
var fheight=18 //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=1
}
//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
}
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++
if(fcontent.length>1) {
setTimeout("changecontent()",delay+faderdelay)
}
}
// colorfade() partially by Marcio Galli for Netscape Communications. ////////////
// Modified by Dynamicdrive.com
frame=20;
hex=0 // 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(255,255,255)";
frame=20;
hex=255
}
}
if (ie4||DOM2)
document.write('