Number one:
<Script Language='JavaScript'>
<!-- Begin
var theImages = new Array() // do not change this
theImages[0] = 'includes/1.jpg'
theImages[1] = 'includes/2.jpg'
theImages[2] = 'includes/3.jpg'
theImages[3] = 'includes/4.jpg'
theImages[4] = 'includes/5.jpg'
theImages[5] = 'includes/6.jpg'
theImages[6] = 'includes/7.jpg'
theImages[7] = 'includes/8.jpg'
theImages[8] = 'includes/9.jpg'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer = new Image()
preBuffer.src = theImages
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
// End -->
</script>
Copy eiverything between the <script></script> tags into a fresh Notepad doc, and save it as imagechange.js
And replace the lot with:
<script src="imagechange.js" type="text/javascript" language="JavaScript"></script>
Leave the coding to change the images in the header alone.
Number Two:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
theDate= new Date();
var day = theDate.getDate();
var year = theDate.getYear();
year = (year < 2000) ? year + 1900 : year;
var textdate = (theDate.getMonth() + 1) + '/' + theDate.getDate() + '/' + year;
var numquotes = 31;
quotes = new Array(numquotes+1);
quotes[1] = "Spring to mind<br></b>- <i>Think of suddenly";
quotes[2] = "One in a million<br></b>- <i>A unique person";
quotes[3] = "Be miles apart<br></b>- <i>Not close to reaching an agreement";
quotes[4] = "Have a Midas touch<br></b>- <i>Be very successful with money";
quotes[5] = "To get the message<br></b>- <i>To understand what somebody means";
quotes[6] = "A meat and potatoes man<br></b>- <i>A person who likes to deal with the basic aspects of something";
quotes[7] = "To mean well<br></b>- <i>To have the best intentions";
quotes[8] = "To go overboard<br></b>- <i>to be excited and enthusiastic about something";
quotes[9] = "Everything went like clockwork<br></b>- <i>Everything went according to plan";
quotes[10] = "On the make<br></b>- <i>Trying openly to be successful";
quotes[11] = "To have it made<br></b>- <i>To be sure of success";
quotes[12] = "To understand something loud and clear<br></b>- <i>To get the message comepletely";
quotes[13] = "To hit the headlines<br></b>- <i>To make news so that people are talking about you";
quotes[14] = "To let your hair down<br></b>- <i>To relax and not to worry about the consequences";
quotes[15] = "To be at a loss<br></b>- <i>To be uncertain about what to do or how to do it";
quotes[16] = "To look down in the mouth<br></b>- <i>To look depressed";
quotes[17] = "To have your lips sealed<br></b>- <i>To keep a secret";
quotes[18] = "A flash in the pan<br></b>- <i>A success which will not last long and is unlikely to be repeated";
quotes[19] = "To make a mountain out of a molehill<br></b>- <i>To make a situation appear much more serious than it is";
quotes[20] = "To know a place like the back of your hand<br></b>- <i>To know a place very well";
quotes[21] = "Out of sight, out of mind<br></b>- <i>If I cannot see it, I do not have to admit it is real!";
quotes[22] = "A Marked person<br></b>- <i>Someone who is in danger of something about to happen";
quotes[23] = "Live and let live<br></b>- <i>To accept others' opions and behaviours";
quotes[24] = "To hit the roof<br></b>- <i>To overreact to a situation";
quotes[25] = "To take with a grain of salt<br></b>- <i>to give no importance to : not to believe what you hear";
quotes[26] = "A lost cause<br></b>- <i>A situation or ambition which is bound to fail";
quotes[27] = "To be on the safe side<br></b>- <i>To not take any risks";
quotes[28] = "To lose your bearings<br></b>- <i>To become lost";
quotes[29] = "To be a dark horse<br></b>- <i>A person who hides their plans or their feelings";
quotes[30] = "A long shot<br></b>- <i>To make a guess which you are not very confident is right";
quotes[31] = "Not for love or money<br></b>- <i>Something which is totally impossible to be done";
document.write('<font size="2" color="#008000"><b>' + textdate + '</b></font><br>')
document.write('<b>' + quotes[day] + '</i><br>');
// End -->
</script>
Again, everything between <script> and </script> into a fresh Notepad doc and save it as quote.js.
Then where that was:
<script src="quote.js" type="text/javascript" language="JavaScript"></script>
I can't guarantee that one will work though.
Do you want me to neaten up the Nav coding as well?
Dan