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( 
"Properties/Douglas.asp", 
"Properties/812Pleasant.asp", 
"CorpSuites.asp", 
"Properties/Deerfield.asp",
"Properties/Emerald.asp",
"Properties/HickoryLane.asp",
"Properties/Jamestown.asp",
"Properties/MainStreet.asp",
"Properties/Douglas.asp",
"Properties/PoloVillage.asp",
"Properties/SouthPoint.asp",
"Properties/UnionSquare.asp",
"Properties/WashingtonVillage.asp",
"Properties/WestCampus.asp",
"Properties/WesternIslands.asp",
"Properties/WestPoint.asp"
); 

image = new initArray( 
"images/fprop/1019SDouglas.jpg", 
"images/fprop/812Pleasant.jpg", 
"images/fprop/CorporateSuites.jpg",
"images/fprop/DeerfieldVillage.jpg",
"images/fprop/EmeraldVillage.jpg",
"images/fprop/HickoryLane.jpg",
"images/fprop/Jamestown.jpg",
"images/fprop/Mainstreet.jpg",
"images/fprop/MayStreet.jpg",
"images/fprop/PoloVillage.jpg",
"images/fprop/SouthPointVillage.jpg",
"images/fprop/UnionSquare.jpg",
"images/fprop/WashingtonVillage.jpg",
"images/fprop/WestCampusVillage.jpg",
"images/fprop/WesternIslands.jpg",
"images/fprop/WestPointVillage.jpg"
); 

text = new initArray( 
"1019 S. Douglas", 
"812 Pleasant", 
"Corporate Suites", 
"Deerfield Village",
"Emerald Village",
"Hickory Lane",
"Jamestown",
"Main Street",
"816 Douglas",
"Polo Village",
"SouthPoint Village",
"Union Square",
"Washington Village",
"West Campus Village",
"Western Islands",
"WestPOint Village"
); 

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+'\"></a>'); 

