// ******************************** //
//         © KanedaSoft 2002        //
// Written by Cartwright/Deggs 2002 //
// ******************************** //

var Quote = new Array(
    ""
   ,"The Police don&#146;t tolerate racism.<br>1, 2, 3, 4 no black face in them"
   ,"In Leningrad the people say Perestroika can be explained this way:<br>The people who told us the two + two is ten<br>are now trying to tell us that two + two is five"
   ,"The sky outside is wet and grey.<br>I wish I could sink without a trace."
   ,"I don&#146;t want to kiss you,<br>I don&#146;t want to touch."
   ,"The puffin sipped at his herbal tea and sighed:<br>&#147;You just can&#146;t get the buttons these days&#148;"
   ,"It&#146;s a UK party that we&#146;re all going to play."
   ,"You made my day, now you have to sleep in it."
   ,"He once had a home and job<br>A family and pride.<br>But we all have a price we pay when things go wrong inside."
   ,"It&#146;s like standing in the playground, looking at the ground,<br>Trying not to notice all the kids around."
   ,"Everyone needs a busom for a pillow."
   ,"Now they talk about abortions<br>In cosmopolitan proportions to their daughters."
   ,"I was the worst hope of my generation."
   ,"Someday I&#146ll have a disappearing hairline.<br>Someday I&#146;ll wear pyjamas in the daytime."
   ,"Hey, hey, the clouds are whey.<br>There&#146;s straw for the donkeys and the innocent can all sleep safely."
   ,"Oh what fun we had.<br>But did it really turn out bad?<br>All I learnt at school was how to bend not break the rules."
   ,"I worked all through the winter, the weather brass & bitter.<br>I put away a tenner each week to make her better<br>And when the time was ready we had to sell the telly,<br>Late evenings by the fire and little kicks inside her."
   ,"How can he go on when no-one answers the adverts in his mind?"
   ,"All I ever wanted, all I ever needed is here in my arms."
   ,"Seems we all get lost amongst the pigeons and the crumbs"
   ,"And Ernald Same caught the same train from the same station<br>Sat in the same seat with the same nasty stain<br>Next to same old whatsiname."
   ,"Some people might say my life is in a rut<br>I&#146;m quite happy with what I&#146;ve got.<br>People might say that I should strive for more,<br>But I&#146;m so happy I can&#146;t see the point."
   ,"Will you sing about the missles as you dry odd-numbered limbs?"
   ,"Following around to see a life that&#146;s never in,<br>Always calling itself on its own phone,<br>Though it&#146;s never quite at home in the world today."
   ,"It wouldn&#146;t happen in another world,<br>It couldn&#146;t have happened to a nicer planet."
   ,"Bronze coins showing genitals lay in salacious half-sleep."
   ,"If I&#146;m not the sole fool who pulls his trousers down,<br>Then dear Madam Barnum I resign as clown."
   ,"But both boy and girl were glad, cos one kid had it worse than that."
   ,"Seventeen and strung out on confusion, wrapped inside a roll of disillusion."
);

var Quoter = new Array(
    ""
   ,"Credit To The Nation"
   ,"Billy Bragg"
   ,"Madness"
   ,"Elvis Costello"
   ,"Dukes of the Stratosphear"
   ,"Bad Manners"
   ,"They Might Be Giants"
   ,"Inspiral Carpets"
   ,"Cardiacs"
   ,"Cornershop"
   ,"XTC"
   ,"They Might Be Giants"
   ,"Crash Test Dummies"
   ,"XTC"
   ,"Madness"
   ,"Squeeze"
   ,"Billy Bragg"
   ,"Depeche Mode"
   ,"Natalie Imbruglia"
   ,"Blur"
   ,"The Jam"
   ,"XTC"
   ,"Cardiacs"
   ,"Kingmaker"
   ,"Andy Partridge / Harald Budd"
   ,"XTC"
   ,"Crash Test Dummies"
   ,"Green Day"
);

var QuoteSong = new Array(
    ""
   ,"Filth"
   ,"North Sea Bubble"
   ,"Grey Day"
   ,"Downer"
   ,"You&#146;re a Good Man, Albert Brown"
   ,"Skaville UK"
   ,"Stand On Your Own Head"
   ,"Sackville"
   ,"R.E.S."
   ,"Brimful of Asha"
   ,"Respectable Street"
   ,"I Should Be Allowed To Think"
   ,"Afternoons and Coffeespoons"
   ,"Senses Working Overtime"
   ,"Baggy Trousers"
   ,"Up the Junction"
   ,"Richard"
   ,"Enjoy The Silence"
   ,"Pigeons and Crumbs"
   ,"Ernald Same"
   ,"Going Underground"
   ,"This World Over"
   ,"Is This The Life"
   ,"Ten Years Asleep"
   ,"Bronze Coins Showing Genitals"
   ,"Dear Madam Barnum"
   ,"Mmm mmm mmm mmm"
   ,"Coming Clean"
);

function InsertQuote()
{
   var DDate = new Date();
   var DDay = DDate.getDate();

   var OutStr = "<table border='0' cellpadding='5' cellspacing='0'>";
   OutStr += "  <tr>";
   OutStr += "    <td class='head' align='center' valign='top'><span class='quotew'><b>Daily quote</b></span></td>";
   OutStr += "  </tr>";
   OutStr += "  <tr>";
   OutStr += "    <td class='lyric' width='*' align='center' valign='top'>";
   OutStr += "      <table border='0' width='100%' cellpadding='0' cellspacing='0'>";
   OutStr += "        <tr>";
   OutStr += "          <td align='left' valign='top'><span class='quoteg'>" + Quote[DDay] + "</span><br><br></td>";
   OutStr += "          <td width='20' align='center' valign='top'>&nbsp;</td>";
   OutStr += "          <td width='*' align='left'  valign='top'><span class='quoter'><b>&#147;" + QuoteSong[DDay] + "&#148;</b><br>" + Quoter[DDay] + "</span></td>";
   OutStr += "        </tr>";
   OutStr += "      </table>";
   OutStr += "    </td>";
   OutStr += "  </tr>";
   OutStr += "</table>";

/*
   var OutStr = "<table width='100%' border='0' cellpadding='2' cellspacing='0'><tr>";
   OutStr += "<td align='left' valign='top'><span style='color: #ffffff;'><b>Daily quote</b></td>";
   OutStr += "<td width='20' align='center' valign='top'>&nbsp;</td>";
   OutStr += "<td align='center' valign='top'><span class='quote'>" + Quote[DDay] + "</span><br><br></td>";
   OutStr += "<td width='20' align='center' valign='top'>&nbsp;</td>";
   OutStr += "<td align='right'  valign='top'><span style='color: #ffffff;'><b>&#147;" + QuoteSong[DDay] + "&#148;</b><br>" + Quoter[DDay] + "</td>";
   OutStr += "</tr>";
   OutStr += "</table>";
*/
   if(DDay <= Quote.length-1) document.write(OutStr);
   else document.write('No quote for today. Send us one instead.');
}
