
// This script is Copyright 1998 NUI Informatics
// usage:
// <HTML>
// randomize(items)
// window.document.write("<PRE>"+QuoteArray[rnd]+"</PRE>")
// </HTML>

var nu, rnd, tmp, items, number

var QuoteArray = new MakeArray(
     "Murphy's Law :\nNothing is as easy as it looks.\n",
     "Murphy's Law :\nEverything takes longer than you think.\n",
     "Murphy's Law :\nAnything that can go wrong\nwill go wrong.\n",
     "Murphy's Law :\nIf there is a possibility of several things going wrong,\nthe one that will cause the most damage\nwill be the one to go wrong.\n",
     "Murphy's Law :\nIf there is a worse time for something to go wrong,\nit will happen then.\n",
     "Murphy's Law :\nIf anything simply cannot go wrong,\nit will anyway.\n",
     "Murphy's Law :\nIf you perceive that there are four possible ways in which a\nprocedure can go wrong, and circumvent these, then a fifth way,\nunprepared for, will promptly develop.\n",
     "Murphy's Law :\nLeft to themselves,\nthings tend to go from bad to worse.\n",
     "Murphy's Law :\nIf everything seems to be going well,\nyou have obviously overlooked something.\n",
     "Murphy's Law :\nI don't repeat my mistakes,\nI just keep finding new ones.\n",
     "Murphy's Law :\nNature always sides with the hidden flaw.\n",
     "Murphy's Law :\nMother nature is a bitch.\n",
     "Murphy's Law :\nThings can go right if we let them, but if we only allow\nthings to work in expected ways, we're limiting our chances.\n",
     "Murphy's Law :\nIt is impossible to make anything foolproof\nbecause fools are so ingenious.\n",
     "Murphy's Law :\nWhenever you set out to do something,\nsomething else must be done first.\n",
     "Murphy's Law :\nEvery solution breeds new problems.\n",
     "Murphy's Law :\nTrust everybody ... then cut the cards.\n",
     "Murphy's Law :\nIf something can go wrong, it probably will\nand at the worst possible time.\n",
     "Murphy's Law :\nTwo wrongs are only the beginning.\n",
     "Murphy's Law :\nIf at first you don't succeed,\ndestroy all evidence that you tried.\n",
     "Murphy's Law :\nTo succeed in politics, it is often\nnecessary to rise above your principles.\n",
     "Murphy's Law :\nExceptions prove the rule ...\nand wreck the budget.\n",
     "Murphy's Law :\nSuccess always occurs in private,\nand failure in full view.\n")

function MakeArray()
{
  this.length = MakeArray.arguments.length
  for (var i = 0; i < this.length; i++)
    this[i] = MakeArray.arguments[i]
  items=i-1
}

function randomize(number)
{ nu=new Date;
  tmp=nu.getSeconds()*nu.getMinutes();
  tmp=Math.sin(tmp); 
  if (tmp<0) tmp=-1*tmp;
  rnd=Math.ceil(tmp*number);
}

randomize(items)
window.document.write("<pre><blockquote>"+QuoteArray[rnd]+"</blockquote></pre>")
					   
// -->