a = 6
var rand1 = Math.random();
var rand2 = Math.round(rand1 * (a-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

b = new Array();

for (var i = 1; i <= a; i++) {b[i]=new create() }

b[1].src = "images/Thumbnails/ntabba.jpg";
b[1].href = "http://www.northtexasbandb.com/";
b[1].alt= "NTABBA";

b[2].src = "images/Thumbnails/serenityfarmhouse.jpg";
b[2].href = "http://www.serenityfarmhouseinn.com";
b[2].alt= "Serenity Farmhouse Inn";

b[3].src = "images/Thumbnails/first-class.jpg";
b[3].href = "http://www.fredericksburg-lodging.com";
b[3].alt= "First Class Bed and Breakfast Reservation Service";

b[4].src = "images/Thumbnails/lodging-in-texas.jpg";
b[4].href = "http://www.lodging-in-texas.com";
b[4].alt= "Lodging in Texas";

b[5].src = "images/Thumbnails/bakerst.jpg";
b[5].href = "http://www.bakerstharbour.com";
b[5].alt= "Baker St. Harbour";

b[6].src = "images/Thumbnails/tonkawaya.jpg";
b[6].href = "http://www.tonkawayaranch.com/";
b[6].alt= "Tonkawaya Ranch Cabins";


var image = "";
image += '<a href="' + b[rand2].href + '" target="_blank">';
image += '<img src="' + b[rand2].src + '"';
image += ' class=border align=center ';
image += ' height=200 width=200 alt="';
image += b[rand2].alt + '">';
image +='</a>'

//-->




d = 7
var rand3 = Math.random();
var rand4 = Math.round(rand3 * (d-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

c = new Array();

for (var i = 1; i <= d; i++) {c[i]=new create() }

c[1].src = "images/Thumbnails/brackenridge.jpg";
c[1].href = "http://www.brackenridgehouse.com/";
c[1].alt= "Brackenridge House";

c[2].src = "images/Thumbnails/kochhotel.jpg";
c[2].href = "http://www.kochhotel.com";
c[2].alt= "J.M. Koch's Hotel";

c[3].src = "images/Thumbnails/abbutlernew.jpg";
c[3].href = "http://www.abbutler.net";
c[3].alt= "Ab Butler's Dogtrot";

c[4].src = "images/Thumbnails/derstall.jpg";
c[4].href = "http://www.derstall.com";
c[4].alt= "Der Stall";

c[5].src = "images/Thumbnails/innatindiancreek.jpg";
c[5].href = "http://www.innatindiancreek.com";
c[5].alt= "Inn at Indian Creek";

c[6].src = "images/Thumbnails/glenhotel.jpg";
c[6].href = "http://www.glenhoteltexas.com";
c[6].alt= "The Glen Hotel";

c[7].src = "images/Thumbnails/carolinehouse.jpg";
c[7].href = "http://www.thecarolinehousebb.com/";
c[7].alt= "Caroline House";

var image1 = "";
image1 += '<a href="' + c[rand4].href + '" target="_blank">';
image1 += '<img src="' + c[rand4].src + '"';
image1 += ' class=border align=center ';
image1 += ' height=200 width=200 alt="';
image1 += c[rand4].alt + '">';
image1 +='</a>'

//-->



e = 6
var rand5 = Math.random();
var rand6 = Math.round(rand5 * (e-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

f = new Array();

for (var i = 1; i <= e; i++) {f[i]=new create() }

f[1].src = "images/Thumbnails/suncities.jpg";
f[1].href = "http://www.suncitiesarearentals.com";
f[1].alt= "Sun Cities Area Rentals";

f[2].src = "images/Thumbnails/riverroad.jpg";
f[2].href = "http://www.riverroadranchresort.com";
f[2].alt= "River Road Ranch Resort";

f[3].src = "images/Thumbnails/wee-two-cottages.jpg";
f[3].href = "http://www.2weecottages.com";
f[3].alt= "2 Wee Cottages";

f[4].src = "images/Thumbnails/alexander.jpg";
f[4].href = "http://www.alexanderbnb.com";
f[4].alt= "Alexander B&B";

f[5].src = "images/Thumbnails/villagestreet.jpg";
f[5].href = "http://www.villagestreetbb.com";
f[5].alt= "Village Street B&B";

f[6].src = "images/Thumbnails/3cedars.jpg";
f[6].href = "http://www.3cedarsranchbedandbreakfast.com/";
f[6].alt= "3 Cedars Ranch B&B";


var image2 = "";
image2 += '<a href="' + f[rand6].href + '" target="_blank">';
image2 += '<img src="' + f[rand6].src + '"';
image2 += ' class=border align=center ';
image2 += ' height=200 width=200 alt="';
image2 += f[rand6].alt + '">';
image2 +='</a>'

//-->



g = 7
var rand7 = Math.random();
var rand8 = Math.round(rand7 * (g-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

h = new Array();

for (var i = 1; i <= g; i++) {h[i]=new create() }

h[1].src = "images/Thumbnails/dos-lagos.jpg";
h[1].href = "http://www.hill-country-lodging.com";
h[1].alt= "Dos Lagos Ranch";

h[2].src = "images/Thumbnails/agetawayranch.jpg";
h[2].href = "http://www.agetawayranchtexas.com";
h[2].alt= "A Getaway Ranch";

h[3].src = "images/Thumbnails/haussegen.jpg";
h[3].href = "http://www.haussegen.com";
h[3].alt= "Haussegen Bed and Breakfast";

h[4].src = "images/Thumbnails/derstall.jpg";
h[4].href = "http://www.derstall.com";
h[4].alt= "Der Stall";

h[5].src = "images/Thumbnails/hotelmatador.jpg";
h[5].href = "http://www.hotelmatador.com/";
h[5].alt= "Hotel Matador";

h[6].src = "images/Thumbnails/theshelby.jpg";
h[6].href = "http://www.theshelby.net/";
h[6].alt= "The Shelby";

h[7].src = "images/Thumbnails/munzesheimer.jpg";
h[7].href = "http://www.munzesheimer.com/";
h[7].alt= "Munzesheimer Manor";


var image3 = "";
image3 += '<a href="' + h[rand8].href + '" target="_blank">';
image3 += '<img src="' + h[rand8].src + '"';
image3 += ' class=border align=center ';
image3 += ' height=200 width=200 alt="';
image3 += h[rand8].alt + '">';
image3 +='</a>'

//-->



j = 7
var rand9 = Math.random();
var rand10 = Math.round(rand9 * (j-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

k = new Array();

for (var i = 1; i <= j; i++) {k[i]=new create() }

k[1].src = "images/Thumbnails/enchantedacres.jpg";
k[1].href = "http://www.enchantedacresbnb.com";
k[1].alt= "Enchanted Acres";

k[2].src = "images/Thumbnails/granbury-log-cabins.jpg";
k[2].href = "http://www.granbury-log-cabins.com";
k[2].alt= "Granbury Log Cabins";

k[3].src = "images/Thumbnails/last-outpost.jpg";
k[3].href = "http://www.thelastoutpostbandb.com";
k[3].alt= "The Last Outpost";

k[4].src = "images/Thumbnails/derstall.jpg";
k[4].href = "http://www.derstall.com";
k[4].alt= "Der Stall";

k[5].src = "images/Thumbnails/willowridge.jpg";
k[5].href = "http://www.willowridgeretreat.com";
k[5].alt= "Willow Ridge Retreat";

k[6].src = "images/Thumbnails/ruckmanhaus.jpg";
k[6].href = "http://www.ruckmanhaus.com";
k[6].alt= "Ruckman Haus";

k[7].src = "images/Thumbnails/dryrizarry.jpg";
k[7].href = "http://www.historicsanantoniobandb.com";
k[7].alt= "Dr. Yrizarry's B&B";

var image4 = "";
image4 += '<a href="' + k[rand10].href + '" target="_blank">';
image4 += '<img src="' + k[rand10].src + '"';
image4 += ' class=border align=center ';
image4 += ' height=200 width=200 alt="';
image4 += k[rand10].alt + '">';
image4 +='</a>'


l = 8
var rand11 = Math.random();
var rand12 = Math.round(rand11 * (l-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

m = new Array();

for (var i = 1; i <= l; i++) {m[i]=new create() }

m[1].src = "images/Thumbnails/coppersmithinn.jpg";
m[1].href = "http://www.coppersmithinn.com";
m[1].alt= "Coppersmith Inn";

m[2].src = "images/Thumbnails/magnoliahouse.jpg";
m[2].href = "http://www.magnolia-house.com";
m[2].alt= "Magnolia House";

m[3].src = "images/Thumbnails/fbg-traditionals.jpg";
m[3].href = "http://www.fredericksburgtrad.com";
m[3].alt= "Fredericksburg Traditionals";

m[4].src = "images/Thumbnails/quarrybarn.jpg";
m[4].href = "http://www.fredericksburg-tx-getaway.com";
m[4].alt= "A Barn at the Quarry";

m[5].src = "images/Thumbnails/namasteretreat.jpg";
m[5].href = "http://www.namasteretreat.com";
m[5].alt= "Namaste Retreat Center";

m[6].src = "images/Thumbnails/rcr10.jpg";
m[6].href = "http://www.redcorralranch.com";
m[6].alt= "Red Corral Ranch";

m[7].src = "images/Thumbnails/whiteswan.jpg";
m[7].href = "http://www.whiteswan.com";
m[7].alt= "White Swan";

m[8].src = "images/Thumbnails/a-yellow-rose.jpg";
m[8].href = "http://www.ayellowrose.com";
m[8].alt= "A Yellow Rose";

var image5 = "";
image5 += '<a href="' + m[rand12].href + '" target="_blank">';
image5 += '<img src="' + m[rand12].src + '"';
image5 += ' class=border align=center ';
image5 += ' height=200 width=200 alt="';
image5 += m[rand12].alt + '">';
image5 +='</a>'



o = 8
var rand13 = Math.random();
var rand14 = Math.round(rand13 * (o-1))+1;

function create() {

    this.src = ' ';
    this.href = ' ';
    this.alt = ' ';

}

p = new Array();

for (var i = 1; i <= o; i++) {p[i]=new create() }

p[1].src = "images/Thumbnails/bank-lofts.jpg";
p[1].href = "http://www.thebanklofts.com";
p[1].alt= "The Bank Lofts";

p[2].src = "images/Thumbnails/lancaster.jpg";
p[2].href = "http://www.lancasterpecangrove.com";
p[2].alt= "Lancaster's Pecan Grove";

p[3].src = "images/Thumbnails/wisteriahideaway.jpg";
p[3].href = "http://www.wisteriahideaway.com";
p[3].alt= "Wisteria Hideaway";

p[4].src = "images/Thumbnails/alte-welt.jpg";
p[4].href = "http://www.texas-bed-n-breakfast.com";
p[4].alt= "Alte Welt Gasthof";

p[5].src = "images/Thumbnails/grannylou.jpg";
p[5].href = "http://www.grannylou.com";
p[5].alt= "Granny Lou's B&B";

p[6].src = "images/Thumbnails/starhouse.jpg";
p[6].href = "http://www.starhousebandb.com";
p[6].alt= "Star House";

p[7].src = "images/Thumbnails/casa-manzanillo.jpg";
p[7].href = "http://www.oceanviewcasa.com";
p[7].alt= "Casa Manzanillo";

p[8].src = "images/Thumbnails/azaleaplantation1.jpg";
p[8].href = "http://www.azaleaplantation.com/";
p[8].alt= "Azalea Plantation";

var image6 = "";
image6 += '<a href="' + p[rand14].href + '" target="_blank">';
image6 += '<img src="' + p[rand14].src + '"';
image6 += ' class=border align=center ';
image6 += ' height=200 width=200 alt="';
image6 += p[rand14].alt + '">';
image6 +='</a>'
