var contentArray1 = new Array();
contentArray1[0] = '<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[1] = '<a href=\"http://www.miamiluxuryvillas.com\"><img src=\"/b_items/MLV-Banner1_1.jpg\" alt=\"Searching for a home? call 305-673-3303\" border=\"0\"></a>';
contentArray1[2] = '<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[3] = '<a href=\"http://www.miami-info.com\"><img src=\"/b_items/MI-Banner1_1.jpg\" alt=\"The Best Miami Guide\" border=\"0\"></a>';
contentArray1[4] = '<a href=\"http://www.miami-hotelshabitat.com\"><img src=\"/b_items/MHH-Banner1_1.jpg\" alt=\"Best HOTEL rates\" border=\"0\"></a>';
contentArray1[5] = '<a href=\"http://www.miamihabitat.com\"><img src=\"/b_items/MH-Banner1_1.jpg\" alt=\"THE BEST vacation rentals\" border=\"0\"></a>';
contentArray1[6] = '<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[7] = '<a href=\"http://www.bestmiamilofts.com\"><img src=\"/b_items/BML-Banner1_1.jpg\" alt=\"Looking for a loft? 305-673-3303\" border=\"0\"></a>';
contentArray1[8] = '<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/ML-Banner1_1.jpg"
myImage1 = new Image();
myImage1.src = "/b_items/MLV-Banner1_1.jpg"
myImage2 = new Image();
myImage2.src = "/b_items/MB-Banner1_1.jpg"
myImage3 = new Image();
myImage3.src = "/b_items/MI-Banner1_1.jpg"
myImage4 = new Image();
myImage4.src = "/b_items/MHH-Banner1_1.jpg"
myImage5 = new Image();
myImage5.src = "/b_items/MH-Banner1_1.jpg"
myImage6 = new Image();
myImage6.src = "/b_items/ICM-Banner1_1.jpg"
myImage7 = new Image();
myImage7.src = "/b_items/BML-Banner1_1.jpg"
myImage8 = new Image();
myImage8.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.miamilodgerealty.com/Ocean_Blue_Rental.html\"><img src=\"/b_items/1B-SB_1.jpg\" alt=\"$1500/month, 1 Bedroom, Miami Beach\" border=\"0\"></a>';
contentArray2[1] = '<a href=\"http://www.miamilodgerealty.com/Icon_Furnished_Rental.html\"><img src=\"/b_items/2B-SB_1.jpg\" alt=\"$7,000/month, 2 Bedroom, South Beach\" border=\"0\"></a>';
contentArray2[2] = '<a href=\"http://www.miamilodgerealty.com/Bay_Harbor_Condo.html\"><img src=\"/b_items/2B-BH_1.jpg\" alt=\"$492,000, 2 Bedrooms, Bay Harbor\" border=\"0\"></a>';
contentArray2[3] = '<a href=\"http://www.miamilodgerealty.com/Sports_Bar.html\"><img src=\"/b_items/Sports-BarSB_1.jpg\" alt=\"$530,000 Sports Bar, South Beach\" border=\"0\"></a>';
contentArray2[4] = '<a href=\"http://www.miamilodgerealty.com/Ensenada_Condo.html\"><img src=\"/b_items/2B-A_1.jpg\" alt=\"$1,200/month, 2 Bedrooms, Aventura\" border=\"0\"></a>';
contentArray2[5] = '<a href=\"http://www.miamilodgerealty.com/Bay_Harbor_Commercial_Project.html\"><img src=\"/b_items/CProject_1.jpg\" alt=\"$3,500,000, Land & Project FOR SALE\" border=\"0\"></a>';
contentArray2[6] = '<a href=\"http://www.miamilodgerealty.com/Oceana_II_Rental.html\"><img src=\"/b_items/1B-SI_1.jpg\" alt=\"$2,500/month, 1 Bedroom, Sunny Isles\" border=\"0\"></a>';
contentArray2[7] = '<a href=\"http://www.miamilodgerealty.com/Murano_Grande_at_Portofino.html\"><img src=\"/b_items/2BC-SB_1.jpg\" alt=\"$1,380,000, 2 Bedrooms, South Beach\" border=\"0\"></a>';
contentArray2[8] = '<a href=\"http://www.miamilodgerealty.com/Gorgeous_Miami_Beach_Loft.html\"><img src=\"/b_items/2BL-SB_1.jpg\" alt=\"$769,000, 2 Bedroom, South Beach\" border=\"0\"></a>';
contentArray2[9] = '<a href=\"http://www.miamilodgerealty.com/Oasis_Villa.html\"><img src=\"/b_items/Provence_1.jpg\" alt=\"$1,600,000 4 Bedroom waterfront Villa\" border=\"0\"></a>';
contentArray2[10] = '<a href=\"http://www.miamilodgerealty.com/Design_District_Restaurant.html\"><img src=\"/b_items/RestaurantDD_1.jpg\" alt=\"$500,000, Restaurant, Design District\" border=\"0\"></a>';
myImage0 = new Image();
myImage0.src = "/b_items/1B-SB_1.jpg"
myImage1 = new Image();
myImage1.src = "/b_items/2B-SB_1.jpg"
myImage2 = new Image();
myImage2.src = "/b_items/2B-BH_1.jpg"
myImage3 = new Image();
myImage3.src = "/b_items/Sports-BarSB_1.jpg"
myImage4 = new Image();
myImage4.src = "/b_items/2B-A_1.jpg"
myImage5 = new Image();
myImage5.src = "/b_items/CProject_1.jpg"
myImage6 = new Image();
myImage6.src = "/b_items/1B-SI_1.jpg"
myImage7 = new Image();
myImage7.src = "/b_items/2BC-SB_1.jpg"
myImage8 = new Image();
myImage8.src = "/b_items/2BL-SB_1.jpg"
myImage9 = new Image();
myImage9.src = "/b_items/Provence_1.jpg"
myImage10 = new Image();
myImage10.src = "/b_items/RestaurantDD_1.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);
}
}

