
var speed=9500

var news=new Array()
news[0]="<a href='md/LN_Babydoll.html'>Babydoll</a>"
news[1]="<a href='md/LN_Bikini.html'>Bikini</a>"
news[2]="<a href='md/LN_Bodystocking.html'>Bodystockings</a>"
news[3]="<a href='md/LN_Boots_Ankle.html'>Boots</a>"
news[4]="<a href='md/LN_Corsets.html'>Corsets</a>"
news[5]="<a href='md/LN_StilettoShoes.html'>High Heel Stilettlo Shoes</a>"
news[6]="<a href='md/LN_MiniSkirt.html'>Stockings</a>"
news[7]="<a href='md/LN_Spandex_Women.html'>Spandex</a>"
news[8]="<a href='md/LN_Thongs.html'>Thongs</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)
}