<!--
// original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com

var currentdate = 0;
var core = 0;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

link = new initArray(
"#",
"#",
"#",
"#",
"#"
);

image = new initArray(
"images/rot/image001.jpg",
"images/rot/image002.jpg",
"images/rot/image003.jpg",
"images/rot/image004.jpg",
"images/rot/image005.jpg"
);

text = new initArray(
"Having fun in the sun - another of our family outdoor activities",
"Dining out - a popular activity on the weekend",
"Picnics in the Park - another of our popular weekend activities",
"Making new friends - children at an outdoor activity",
"One of our popular destinations for camps - The Basin at Rottnest Island"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"' +ranlink+ '\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\" title=\"'+rantext+'\"></a>');

// Additional functions

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// Expiring New Icon

var image = "images/new.gif"

function expnew(when) {

when = new Date(when)
date = new Date()

if (when.getTime() > date.getTime()) {
document.write("<img src="+image+">")
}
}


//-->
