/***********************************************
* Fading Ticker Tape Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//default speed is 4.5 seconds, Change that as desired
var speed=4500

var news=new Array()
news[0]="'Weird and wonderful'"
news[1]="'So many smiles!'"
news[2]="'Fantabulous!!! Best show by far!'"
news[3]="'Brilliant - it was so good to feel 'at home''"
news[4]="'Simply charming. See you tomorrow'"
news[5]="'Never surrender!'"
news[6]="'Thank you very much for this beautiful night'"
news[7]="'We love this exotic place - we'll be back'"
news[8]="'Thoroughly splendid!'"
news[9]="'Magic i especial'"
news[10]="'So cool! We had a really great time'"
news[11]="'Properly beautiful'"
news[12]="'Excellent, superb, tremendous, fantabulous, eatable!!!!'"
news[13]="'Wow!!!'"
news[14]="'Thank you for something so purely beautiful'"
news[15]="'Awesome night'"
news[16]="'Marry me soon'"
news[17]="'You are amazing and inspiring, thanks'"
news[18]="'Wonderful atmosphere - great talent!'"
news[19]="'Brilliant! Most enjoyable'"
news[20]="'Excellent, loved it!'"
news[21]="'That's the badger!'"
news[22]="'Enchanting!'"
news[23]="'Really a magical place, I really had fun and I will come back!!!'"
news[24]="'Totally exceptional!'"
news[25]="'Amazing!'"
news[26]="'All I can say is wow!! Go Lady Lawson!!!!!'"
news[27]="'Brilliant - never seen anything this different'"
news[28]="'Lovely to meet the family here x'"
news[29]="'Thank you, beautiful'"
news[30]="'I actually love you guys - you made my Fringe, even though you are not part of it!'"
news[31]="'Had a great time in ur world. Nice place to b'"
news[32]="'Perfect'"
news[33]="'Delightful'"
news[34]="'Hi - great to be around normal people again.'"
news[35]="'I loved being out of my comfort zone!!!'"
news[36]="'Amazingly different and enchanting!'"
news[37]="'Great show!'"
news[38]="'Magical.'"
news[39]="'Thanks for the inspiration.'"
news[40]="'OMG! Don't stop!'"
news[41]="'Well done you nailed it!'"
news[42]="'Masterful. Awesome.'"
news[43]="'Beautiful.'"
news[44]="'Wow, wow and wow. Wish I was around for more...'"

//expand or shorten this list of messages as desired

var fadescheme=0 //set 0 to fade bgcolor from (white to black), 1 for (black to white)
var hex=(fadescheme==0)? 255 : 0
var startcolor=(fadescheme==0)? "rgb(255,255,255)" : "rgb(0,0,0)"
var endcolor=(fadescheme==0)? "rgb(0,0,0)" : "rgb(255,255,255)"
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() {	         	
// 20 frames fading process
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==0)? 255 : 0
}   
}

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)
}