
ie=document.all?1:0
n=document.layers?1:0


betweendelay=4000

var loop=1

FontFace='arial,helvetiva'

FontSize=14

fadeback=1

colors=new Array()
colors[0]='#FFFFFF'
colors[1]='#EEEEEE'
colors[2]='#CCCCCC'
colors[3]='#999999'
colors[4]='#666666'
colors[5]='#333333'
colors[6]='#000000'


news=new Array()

news[0]=new Array()
news[0]["text"]="<b>Question:</b> How will your organization thrive in the 21st Century?"
news[0]["link"]="#"

news[1]=new Array()
news[1]["text"]="<b>Answer:</b> C1C Professionals can bring the industry experience and knowledge that will help your organization to thrive and benefit from the enormous changes facing companies in the 21st Century."
news[1]["link"]="#"

news[2]=new Array()
news[2]["text"]="<b>Question:</b> How do you increase productivity and cost savings while adapting to a changing business and market environment?"
news[2]["link"]="#"

news[3]=new Array()
news[3]["text"]="<b>Answer:</b> Harness over 13 years of Information Technology and Strategic experience and knowledge from the professionals of C1C."
news[3]["link"]="#"


/*********************************************************************************/
fadeInit=new Function("oNews=new makeObj('divNews','divCont'); fadeNews(0)")
function makeObj(obj,nest){
    nest=(!nest) ? '':'document.'+nest+'.'
    this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style')
    this.writeref=(n) ? eval(nest+'document.'+obj+'.document'):eval(obj);               
        this.fadeIt=b_fadeIt
    this.obj = obj + "Object";  eval(this.obj + "=this")        
}
function b_fadeIt(text,link,font,size,speed,fn,num,c0,c1,c2,c3,c4,c5,c6){
        if(num<arguments.length && arguments[num]!=0){
                writetext='<table width=\"400\" border=\"0\" cellspacing=\"5\" cellpadding=\"5\" align=\"center\"><tr align=\"center\" valign=\"top\"><td><a href="'+link+'" style="text-decoration:none; font-size:'+size+'px">'
                +'<font face="'+font+'" color="'+arguments[num]+'">'+text+'</font></a></td></tr></table>'
                if(n){this.writeref.write(writetext); this.writeref.close()}
                if(ie) this.writeref.innerHTML=writetext                
                num++
                setTimeout(this.obj+'.fadeIt("'+text+'","'+link+'","'+font+'",'+size+','+speed+',"'
                +fn+'",'+num+',"'+c0+'","'+c1+'","'+c2+'","'+c3+'","'+c4+'","'+c5+'","'+c6+'")',speed)
        }else setTimeout('eval('+fn+')',betweendelay)
}
function fadeNews(num){
        if(num<news.length){
                fn=fadeback?'fadeBack('+num+')':'fadeNews('+(num+1)+')';
                oNews.fadeIt(news[num]["text"],news[num]["link"],FontFace,FontSize,100,fn,7,
                colors[0],colors[1],colors[2],colors[3],colors[4],colors[5],colors[6])
        }else if(loop)fadeNews(0)
}
function fadeBack(num){
        if(num>=0){
                oNews.fadeIt(news[num]["text"],news[num]["link"],FontFace,FontSize,100,'fadeNews('+(num+1)
                +')',7,colors[6],colors[5],colors[4],colors[3],colors[2],colors[1],colors[0])
        }
}
onload=fadeInit;

