function RandomLyrics(Serial)
// generates random quotes
{

if(Serial)
	{
	// specific quote
	}
else
	{
	LyricPoint=new Date()
	LyricMonth=LyricPoint.getMonth()+1
	if (LyricMonth<10) {LyricMonth='0'+LyricMonth}
	LyricDate=LyricPoint.getDate()
	if (LyricDate<10) {LyricDate='0'+LyricDate}
	LyricMonthDate=LyricMonth+LyricDate

	// random Lyric
	DeciSeconds=LyricPoint/100
	choices=21
	LyricNumber=Math.floor(choices*(DeciSeconds/choices-Math.floor(DeciSeconds/choices)));
	}

// enable to test latest
//LyricNumber=choices-1

switch(LyricNumber)
{
case 0:
	Lyric="It's four o`clock in the morning<BR>and it`s starting to get light";
	Song="Promise Me";
	break;
case 1:
	Lyric="If it falls apart and he breaks your heart<BR>there`ll be tears on the telephone again";
	Song="Woman to Woman";
	break;
case 2:
	Lyric="My little sister sings herself to sleep<BR>she doesn't know we`re listening to her lullaby<BR>so innocent and sweet";
	Song="Memories";
	break;
case 3:
	Lyric="You can waste your time building barriers<BR>spend your life trying to break them down again<BR>like an island, in a sea that breathes revenge";
	Song="Castle in the Clouds";
	break;
case 4:
	Lyric="Sometimes when I feel like I`m fighting the world<BR>I know you`re on my side";
	Song="Joey";
	break;
case 5:
	Lyric="he's got a one track mind<BR>and I can see by your smile<BR>that you're two of a kind";
	Song="Two of a Kind";
	break;
case 6:
	Lyric="I call out from the shore<BR>a siren from the sand";
	Song="I Listen to the Rain";
	break;
case 7:
	Lyric="My imagination is so cruel, picturing you holding hands<BR>and doing the things that we planned";
	Song="Love Scenes";
	break;
case 8:
	Lyric="A string of lies justifies<BR>whatever they decide will be<BR>and steal the right of liberty.";
	Song="Hope";
	break;
case 9:
	Lyric="I saw your head turn, as she crossed the street<BR>And I knew instinctively your eyes would meet";
	Song="Look No Further";
	break;
case 10:
	Lyric="Suddenly, everything's become clear<BR>I realise when she calls why I'm here";
	Song="Mollie's Song";
	break;
case 11:
	Lyric="and in through the curtains, a thin shaft of light<BR>capturing diamonds of dust in their flight";
	Song="In Those Days";
	break;
case 12:
	Lyric="As a golden red sun sets in a mackerel sky";
	Song="In Those Days";
	break;
case 13:
	Lyric="He told me I was a fool and another dreamer<BR>I nearly believed him for a while";
	Song="Blind Faith";
	break;
case 14:
	Lyric="And all the love I needed to give<BR>finally found a home";
	Song="Lost Without You";
	break;
case 15:
	Lyric="and I would do anything for you<BR>cos you're everything I've ever wished for<BR>the answer to all of my dreams";
	Song="I Miss You";
	break;
case 16:
	Lyric="she says there are moments<BR>her confidence wains<BR>Sunday afternoons and Christmas days";
	Song="Tick-Tock";
	break;
case 17:
	Lyric="I wonder who<BR>is there with you<BR>and if you're thinking of me now";
	Song="Come Home to Me";
	break;
case 18:
	Lyric="did you notice she was fighting back the tears<BR>cos she still feels guilty after all these years";
	Song="Move On";
	break;
case 19:
	Lyric="it's your life<BR>so do what you got to do";
	Song="Phoenix from the Fire";
	break;
case 20:
	Lyric="but still the little girl inside<BR>is here within my life";
	Song="Afraid of Letting Go";
	break;

default:
	Lyric="Click for more Lyrics";
	Song="Music";
	break;
	}

SongURL = Tech(Song)

document.writeln('<DIV CLASS=LYRIC STYLE="padding-left:0;padding-right:0;">'+Lyric+'</DIV>');
document.writeln('<DIV CLASS=Song><A HREF="' + SongURL + '.htm">' + Song + '</A></DIV>');
}


function Tech(NoTechString)
// coverts plain text into technical form
{
NoTechString=NoTechString.toLowerCase()
TechString = NoTechString.substring(0,1)
for(Char=1; Char < NoTechString.length;Char++)
	{
	switch(NoTechString.substring(Char,Char+1))
		{
		case ' ':
			TechString += '_';
			break;
		case '\'':
		case '`':
		case '-':
			// add nothing
			break;
		default:
			TechString += NoTechString.substring(Char,Char+1);
			break;
		}
	}
return TechString;
}
