
var speed=9500

var news=new Array()
news[0]="<a href='ce_jessica_alba.html'>Jessica Alba - Fashions</a>"
news[1]="<a href='ce_mischa_barton.html'>Mischa Barton - Fashions</a>"
news[2]="<a href='ce_halle_berry.html'>Halle Berry Fashions</a>"
news[3]="<a href='ce_kate_bosworth.html'>Kate Bosworth Fashions</a>"
news[4]="<a href='ce_mariah_carey.html'>Mariah Carey Fashions</a>"
news[5]="<a href='ce_lauren_conrad.html'>Lauren Conrad Fashions</a>"
news[6]="<a href='ce_claire_danes.html'>Claire Danes Fashions</a>"
news[7]="<a href='ce_paris_hilton.html'>Paris Hilton Fashions</a>"
news[8]="<a href='po_paris_hilton.html'>Paris Hilton Posters</a>"
news[9]="<a href='ce_lindsay_lohan.html'>Lindsay Lohan Fashions</a>"
news[10]="<a href='be_jennifer_lopez.html'>Jennifer Lopez Fashions - Music</a>"
news[11]="<a href='ce_jennifer_lopez.html'>Jennifer Lopez Fashion Accessories</a>"
news[12]="<a href='ce_gwyneth_paltrow.html'>Gwyneth Paltrow Fashions</a>"
news[13]="<a href='ce_denise_richards.html'>Denise Richards Fashions</a>"
news[14]="<a href='ce_nicole_richie.html'>Nicole Richie Fashions</a>"
news[15]="<a href='ce_jessica_simpson.html'>Jessica Simpson Fashions</a>"
news[16]="<a href='ce_gwen_stefani.html'>Gwen Stefani Fashions</a>"

var fadescheme=1 
var hex=(fadescheme==0)? 255 : 0
var startcolor=(fadescheme==0)? "rgb(153,0,153)" : "rgb(0,0,0)"
var endcolor=(fadescheme==0)? "rgb(0,0,0)" : "rgb(153,0,153)"
var frame=20;

var ie=document.all
var ns6=document.getElementById
var ns4=document.layers

i=0
tickerobject=ie? subtickertape: ns6? document.getElementById("subtickertape") : document.tickertape.document

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}

function bgcolorfade() {	         	

if(frame>0) {	
hex=(fadescheme==0)? hex-12 : hex+12 // increase or decrease color value depd on fadescheme
tickerobject.style.backgroundColor="rgb("+hex+","+hex+","+hex+")"; // Set color value.
frame--;
setTimeout("bgcolorfade()",20);	
}
else{
tickerobject.style.backgroundColor=endcolor;
frame=20;
hex=(fadescheme==1)? 50 : 100
}   
}

function updatecontent(){
if (ie||ns6)
bgcolorfade()
if (ns4){
tickerobject.subtickertape.document.write('<span class="subtickertapefont">'+news[i]+'</span>')
tickerobject.subtickertape.document.close()
}
else 
tickerobject.innerHTML=news[i]

if (i<news.length-1)
i++
else
i=0
setTimeout("updatecontent()",speed)
}