<!--

// Appeal Design Pic Rotation Script
// http://theappealdesign.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/home1.png",
"images/home2.png",
"images/home3.png",
"images/home4.png",
"images/home5.png",
"images/home6.png"
);

text = new initArray(
"Mallory Mathison Interior Design",
"Mallory Mathison Interior Design",
"Mallory Mathison Interior Design",
"Mallory Mathison Interior Design",
"Mallory Mathison Interior Design",
"Mallory Mathison Interior Design"
);

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" width="859" height="540" alt=\"'+rantext+'\"></a>');

//-->
