// ### 

// ######### write_dyn_JRCnav #############

function write_dyn_JRCnav() { 
document.write("<table width='94%' cellpadding='4' cellspacing='0' border='0' align='center'><tbody><tr><td align='center'>");
document.write("<font size='-1' face='verdana'>");
document.write("<font color='gray'>JRC>home</font> &nbsp; ");
document.write("<a href='http://www.jordanrealty.com/albemarlemls/' target='_top'>PROPERTY&nbsp;SEARCH</a> &nbsp; ");
document.write("<a href='http://www.jordanrealty.com/albemarlemls/water-search-MASTER.shtml' target='_top'>WATERFRONT-to-WATERVIEW&nbsp;Real&nbsp;Estate</a> &nbsp; ");
document.write("<a href='http://www.JordanRealty.com/featured/' target='_top'>*FEATURED*</a> &nbsp; ");
document.write("<a href='http://www.jordanrealty.com/info-request/onlineform2.html' target='_top'>REQUEST&nbsp;INFO</a> &nbsp; ");
document.write("<a href='http://www.JordanRealty.com/contact/' target='_top'>Contact&nbsp;Us</a> &nbsp; ");
document.write("<a href='http://www.jordanrealty.com/info-request/cma-request-form.html' target='_top'>How&nbsp;To&nbsp;Price&nbsp;Your&nbsp;Property</a> &nbsp; ");
document.write("<a href='http://www.JordanRealty.com/directions/' target='_top'>DIRECTIONS</a> &nbsp; ");
document.write("<a href='http://www.JordanRealty.com/agents/' target='_top'>Meet&nbsp;Our&nbsp;Agents</a> &nbsp;");
document.write("<a href='http://www.jordanrealty.com/about/buyer-agency.shtml' target='_top'>BUYER'S&nbsp;AGENT</a> &nbsp; ");
document.write("<a href='http://www.jordanrealty.com/findapage.shtml' target='_top'>findApage</a> &nbsp; ");
document.write("</font></td></tr></tbody></table><br />");
}

// ############## ROTATE THE HOME BUTTON ###############

// ==============================================

// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, increment the theImages[x] index

theImages[0] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-05.jpg'
theImages[1] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-10.jpg'
theImages[2] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-15.jpg'
theImages[3] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-20.jpg'
theImages[4] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-25.jpg'
theImages[5] = 'http://www.jordanrealty.com/aa_SiteObjects/aa_jrcIMAGES/siteBits/pageElements/tn_home-30.jpg'

// ======================================
// do not change anything below this line
// ======================================

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" border="0" />');
}

// ######### write 160 skyscraper house ads #############
// JRCCategory:  Add your new category names.  Be sure to leave in the 'all' category! 
JRCCategory = new Array("all")

MainVar = 0; // Sets up the variable that counts the pictures.

function Fix(DatVal, PicVal, TitVal, CatVal, TxtVal) { // Allows you to use variables for the array instead of numbers.
   this.DatVal = DatVal 
   this.PicVal = PicVal 
   this.TitVal = TitVal 
   this.CatVal = CatVal
   this.TxtVal = TxtVal 
} 
var MainArray = new Array() // Sets up the main array.

// Add one line for each skyscraper you want in the group.  The format of these lines is shown below:
// MainArray[MainVar++] = new Fix("date", "picname.jpg", "pic title", "category", "pic description")
// ONE PER linebreak. HTML is allowed in pic description but remember to use single-quote marks
MainArray[MainVar++] = new Fix("n/a", "http://www.jordanrealty.com/aa_SiteObjects/aa_jrcMarketplace/MPgraphics/no_pestering.gif", "Here's the FINE&nbsp;PRINT:", "n/a", "<div class='whitebkgrcolor emphasize'>Use our property search in <i>complete privacy</i>, no registration is required. If you email or call to ask a question or request more information, we will NOT add your contact information to any mailing lists, newletters or sales prospect database.<br />  <a href='http://www.jordanrealty.com/info-request/yourprivacy.shtml' target='_top'>More Info</a></div><br />")
MainArray[MainVar++] = new Fix("n/a", "http://www.jordanrealty.com/aa_SiteObjects/aa_jrcMarketplace/MPgraphics/sunfish_140.jpg", "Things To Do", "n/a", "<div class='whitebkgrcolor emphasize'><a href='http://www.albemarle-nc.com/attractions/' target='_top'>Albemarle Area Attractions</a>  By Interest: Paddling, Biking, Hiking, Boating, Birding, Eco-tourism, etc.<br /><br /><a href='http://www.albemarle-nc.com/events/' target='_top'>Regional Events Calendar</a></div><br />")
// #########                  #############