var contentArray1 = new Array();
contentArray1[0] = '<a href=\"http://www.miami-hotelshabitat.com\"><img src=\"/b_items/MHH-Banner1_1.jpg\" alt=\"Best HOTEL rates\" border=\"0\"></a>';
contentArray1[1] = '<a href=\"http://www.miamihabitat.com\"><img src=\"/b_items/MH-Banner1_1.jpg\" alt=\"THE BEST vacation rentals\" border=\"0\"></a>';
contentArray1[2] = '<a href=\"http://www.investcommercialmiami.com\"><img src=\"/b_items/ICM-Banner1_1.jpg\" alt=\"Commercial needs? Call 305-673-3303\" border=\"0\"></a>';
contentArray1[3] = '<a href=\"http://www.miamiboat.com\"><img src=\"/b_items/MB-Banner1_1.jpg\" alt=\"Charter a yacht 305-673-3956\" border=\"0\"></a>';
contentArray1[4] = '<a href=\"http://www.miami-info.com\"><img src=\"/b_items/MI-Banner1_1.jpg\" alt=\"The Best Miami Guide\" border=\"0\"></a>';
contentArray1[5] = '<a href=\"http://www.miamilodge.com\"><img src=\"/b_items/ML-Banner1_1.jpg\" alt=\"Rent a furnished villa 305-673-3979\" border=\"0\"></a>';
contentArray1[6] = '<a href=\"http://www.miamilodgerealty.com\"><img src=\"/b_items/MLR-Banner1_1.jpg\" alt=\"For all your Real estate needs. 305-673-3303\" border=\"0\"></a>';
contentArray1[7] = '<a href=\"http://www.miami-info.com/#concierge\"><img src=\"/b_items/MIC-Banner1_1.jpg\" alt=\"Need anything in Miami? Free concierge services\" border=\"0\"></a>';
myImage0 = new Image();
myImage0.src = "/b_items/MHH-Banner1_1.jpg"
myImage1 = new Image();
myImage1.src = "/b_items/MH-Banner1_1.jpg"
myImage2 = new Image();
myImage2.src = "/b_items/ICM-Banner1_1.jpg"
myImage3 = new Image();
myImage3.src = "/b_items/MB-Banner1_1.jpg"
myImage4 = new Image();
myImage4.src = "/b_items/MI-Banner1_1.jpg"
myImage5 = new Image();
myImage5.src = "/b_items/ML-Banner1_1.jpg"
myImage6 = new Image();
myImage6.src = "/b_items/MLR-Banner1_1.jpg"
myImage7 = new Image();
myImage7.src = "/b_items/MIC-Banner1_1.jpg"
var nIndex1 = 0;
var timerID1 = null;
rotateContent1();
function rotateContent1() {
if(nIndex1 >= contentArray1.length) nIndex1 = 0;
document.getElementById('banner1').innerHTML = contentArray1[nIndex1];
nIndex1++;
timerID1 = setTimeout('rotateContent1()',7500);
}
function pauseBanner1() {
if(timerID1 != null) {
clearTimeout(timerID1);
timerID1 = null;
}
}
function playBanner1() {
if(timerID1 == null) {
timerID1 = setTimeout('rotateContent1()', 1000);
}
}
var contentArray2 = new Array();
contentArray2[0] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Bermuda_Style_Island_Villa.html\"><img src=\"/b_items/Banner8_2.jpg\" alt=\"Bermuda Style Island Villa - 6,212 sqft - Miami Beach - 5 beds/5 baths - $4,999,000\" border=\"0\"></a>';
contentArray2[1] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Brickell_mansion_for_sale.html\"><img src=\"/b_items/Banner9_2.jpg\" alt=\"Brickell Mansion - 5,333 sqft - Miami - 5 beds/5baths - $3,998,000\" border=\"0\"></a>';
contentArray2[2] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Harbor_Island_Villa.html\"><img src=\"/b_items/Banner10_2.jpg\" alt=\"Harbor Island Villa - 6,711 sqft - Hollywood - 6 beds/7 baths - $4,350,000\" border=\"0\"></a>';
contentArray2[3] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Keystone_Point_Villa.html\"><img src=\"/b_items/Banner1_2.jpg\" alt=\"Single Family home - North Miami - 1 bed/2 bath - $1,250,000\" border=\"0\"></a>';
contentArray2[4] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Oasis_Villa.html\"><img src=\"/b_items/Banner2_2.jpg\" alt=\"\" border=\"0\"></a>';
contentArray2[5] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/A_Greek_Mediterranean_Work_of_Art.html\"><img src=\"/b_items/Banner4_2.jpg\" alt=\"Mediterranean Work of Art - 13,000 total area - South Beach - 5 bed/5 bath - $22,000,000\" border=\"0\"></a>';
contentArray2[6] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Spectacular_Palm_Island_Retreat.html\"><img src=\"/b_items/Banner7_2.jpg\" alt=\"Palm Island Resort - 5698 sqft  - Miami Beach - 4 bed/5 bath - $4,500,000\" border=\"0\"></a>';
contentArray2[7] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Pinecrest_Manor.html\"><img src=\"/b_items/Banner3_2.jpg\" alt=\"Pinecrest Manor - 3,561 sqft - Coconut Grove - 5 bed/3 bath - $1,495,000\" border=\"0\"></a>';
contentArray2[8] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Surfside_Mansion.html\"><img src=\"/b_items/Banner6_2.jpg\" alt=\"Surfside Mansion - 3,019 sqft - Surfside - 5 bed/5 bath - $2,650,000\" border=\"0\"></a>';
contentArray2[9] = '<a href=\"http://www.miamiluxuryvillas.com/Luxury_Villas_Miami/Venetian_Waterfront_Mansion.html\"><img src=\"/b_items/Banner5_2.jpg\" alt=\"Venetian Waterfront Villa - 6,704 sqft - South Beach - 5 bed/6 bath - $5,599,000\" border=\"0\"></a>';
myImage0 = new Image();
myImage0.src = "/b_items/Banner8_2.jpg"
myImage1 = new Image();
myImage1.src = "/b_items/Banner9_2.jpg"
myImage2 = new Image();
myImage2.src = "/b_items/Banner10_2.jpg"
myImage3 = new Image();
myImage3.src = "/b_items/Banner1_2.jpg"
myImage4 = new Image();
myImage4.src = "/b_items/Banner2_2.jpg"
myImage5 = new Image();
myImage5.src = "/b_items/Banner4_2.jpg"
myImage6 = new Image();
myImage6.src = "/b_items/Banner7_2.jpg"
myImage7 = new Image();
myImage7.src = "/b_items/Banner3_2.jpg"
myImage8 = new Image();
myImage8.src = "/b_items/Banner6_2.jpg"
myImage9 = new Image();
myImage9.src = "/b_items/Banner5_2.jpg"
var nIndex2 = 0;
var timerID2 = null;
rotateContent2();
function rotateContent2() {
if(nIndex2 >= contentArray2.length) nIndex2 = 0;
document.getElementById('banner2').innerHTML = contentArray2[nIndex2];
nIndex2++;
timerID2 = setTimeout('rotateContent2()',5000);
}
function pauseBanner2() {
if(timerID2 != null) {
clearTimeout(timerID2);
timerID2 = null;
}
}
function playBanner2() {
if(timerID2 == null) {
timerID2 = setTimeout('rotateContent2()', 1000);
}
}

