var myJSONObject = {"listing": [{"name": "PRICE REDUCED & BANK OWNED 5± AC...", "price": "$217,800 ($1.00 PSF)", "sqFoot": "5± Acres", "location": "Fort Myers, FL", "listingNumber": "1630", "listingHref": "fs_land.html?ID=321", "photo": "media/images/listings/321/ps_photo_00001088_preview.jpg", "minRate": "", "maxRate": ""},{"name": "SOUTH FORT MYERS INDUSTRIAL UNIT...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1611", "listingHref": "fl_industrial.html?ID=269", "photo": "media/images/listings/269/ps_photo_00000881_preview.jpg", "minRate": "Starting From $5.00 PSF + $1.50 CAM (Plus Sales Tax) ", "maxRate": ""},{"name": "5,500± SF OFFICE/WAREHOUSE W/TRU...", "price": "$375,000.00 ", "sqFoot": "22,500+/- SF", "location": "Fort Myers , FL", "listingNumber": "1523", "listingHref": "fs_industrial.html?ID=188", "photo": "media/images/listings/188/ps_photo_00000599_preview.jpg", "minRate": "", "maxRate": ""},{"name": "\"MOTIVATED OWNER\" REDUCES PRICE ...", "price": "$25,000", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1647", "listingHref": "fs_business.html?ID=338", "photo": "media/images/listings/338/ps_photo_00001150_preview.jpg", "minRate": "", "maxRate": ""},{"name": "20,000± SF WAREHOUSE W/METRO FRO...", "price": "$1,895,000.00", "sqFoot": "2.07+/- Acres", "location": "Fort Myers, FL", "listingNumber": "1535", "listingHref": "fs_industrial.html?ID=199", "photo": "media/images/listings/199/ps_photo_00000628_preview.jpg", "minRate": "", "maxRate": ""},{"name": "5,000± SF RETAIL/OFFICE/MEDICAL ...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1617", "listingHref": "fl_retail.html?ID=299", "photo": "media/images/listings/299/ps_photo_00000987_preview.jpg", "minRate": "$12.00 PSF + Sales Tax ", "maxRate": ""},{"name": "1.84+/- ACRES COMMERCIAL LAND", "price": "$1,350,000.00 ($16.84 PSF) ", "sqFoot": "1.84+/- ACRES", "location": "Lehigh Acres, FL", "listingNumber": "1425", "listingHref": "fs_land.html?ID=117", "photo": "media/images/listings/117/ps_photo_00000429_preview.jpg", "minRate": "", "maxRate": ""},{"name": "PRICE REDUCED! VACANT COMMERCIAL...", "price": "$449,000", "sqFoot": "28,000± SF", "location": "FORT MYERS, FL", "listingNumber": "1347", "listingHref": "fs_land.html?ID=59", "photo": "media/images/listings/59/ps_photo_00000894_preview.jpg", "minRate": "", "maxRate": ""},{"name": "PRIME .56± ACRE PARCEL ON CLEVEL...", "price": "$265,000.00", "sqFoot": ".56± Acres (24,200± SF)", "location": "Fort Myers , FL", "listingNumber": "1649", "listingHref": "fs_land.html?ID=344", "photo": "media/images/listings/344/ps_photo_00001173_preview.jpg", "minRate": "", "maxRate": ""},{"name": "25,000± SF RETAIL/OFFICE SPACE F...", "price": "", "sqFoot": "5± Acres", "location": "Fort Myers, FL", "listingNumber": "1566", "listingHref": "fl_retail.html?ID=249", "photo": "media/images/listings/249/ps_photo_00000966_preview.jpg", "minRate": "$12.00 PSF + $3.50 CAM)", "maxRate": ""},{"name": "INVESTMENT PROPERTY ~ LONG-TERM/...", "price": "$2,100,000.00", "sqFoot": "0.89± Acres", "location": "St. Petersburg, FL", "listingNumber": "1463", "listingHref": "fs_investment.html?ID=320", "photo": "media/images/listings/320/ps_photo_00001069_preview.jpg", "minRate": "", "maxRate": ""},{"name": "EXCELLENT LOCATION FOR 957± SF O...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1655", "listingHref": "fl_office.html?ID=349", "photo": "media/images/listings/349/ps_photo_00001194_preview.jpg", "minRate": "$13.75 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "FULLY LEASED 7,650± SF INVESTMEN...", "price": "$375,000.00", "sqFoot": "28,939± SF", "location": "North Fort Myers, FL", "listingNumber": "1622S", "listingHref": "fs_retail.html?ID=303", "photo": "media/images/listings/303/ps_photo_00001004_preview.jpg", "minRate": "", "maxRate": ""},{"name": "OFFICE SITE I-75/DANIELS/FIDDLES...", "price": "$850,000.00 ($7.62 PSF)", "sqFoot": "2.56± Acres (111,513.60± SF)", "location": "Fort Myers, FL", "listingNumber": "1546", "listingHref": "fs_land.html?ID=219", "photo": "media/images/listings/219/ps_photo_00000695_preview.jpg", "minRate": "", "maxRate": ""},{"name": "3.445± ACRES FENCED YARD METRO P...", "price": "$675,289.00 (or $4.50 PSF) ", "sqFoot": "3.445± Acres ", "location": "Fort Myers, FL", "listingNumber": "1560", "listingHref": "fs_industrial.html?ID=243", "photo": "media/images/listings/243/ps_photo_00000796_preview.jpg", "minRate": "$3,500 Per Month Gross/Plus Sales Tax", "maxRate": ""},{"name": "22.79± ACRES NE PINE ISLAND ROAD...", "price": "$14,890,740 ($15.00 PSF)", "sqFoot": "22.79± Acres (992,716± SF)", "location": "Cape Coral, FL", "listingNumber": "1548", "listingHref": "fs_land.html?ID=228", "photo": "media/images/listings/228/ps_photo_00000735_preview.jpg", "minRate": "", "maxRate": ""},{"name": "(2) 1,200± SF OFFICE/WAREHOUSE C...", "price": "See Property Description", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1594", "listingHref": "fs_industrial.html?ID=286", "photo": "media/images/listings/286/ps_photo_00000929_preview.jpg", "minRate": "", "maxRate": ""},{"name": "2,149± SF PROFESSIONAL OFFICE SU...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1654", "listingHref": "fl_office.html?ID=348", "photo": "media/images/listings/348/ps_photo_00001191_preview.jpg", "minRate": "$15.00 Gross Plus Sales Tax ", "maxRate": ""},{"name": "11,500± SF VACANT COMMERCIAL LOT...", "price": "$175,000.00", "sqFoot": "11,500± SF", "location": "North Fort Myers , FL", "listingNumber": "1343", "listingHref": "fs_land.html?ID=227", "photo": "media/images/listings/227/ps_photo_00000734_preview.jpg", "minRate": "", "maxRate": ""},{"name": "10± ACRE INDUSTRIAL SITE OFF ALI...", "price": "$435,600 ($1.00 PSF)", "sqFoot": "10± Acres", "location": "Fort Myers, FL", "listingNumber": "1657", "listingHref": "fs_industrial.html?ID=352", "photo": "media/images/listings/352/ps_photo_00001201_preview.jpg", "minRate": "", "maxRate": ""},{"name": "REAL ESTATE & HARDWARE STORE BUS...", "price": "$2,000,000", "sqFoot": "4.73± Acres", "location": "Fort Myers, FL", "listingNumber": "1639", "listingHref": "fs_business.html?ID=332", "photo": "media/images/listings/332/ps_photo_00001124_preview.jpg", "minRate": "", "maxRate": ""},{"name": "ESTABLISHED SPORTS BAR BUSINESS ...", "price": "$165,000", "sqFoot": "", "location": "Fort Myers , FL", "listingNumber": "1656", "listingHref": "fs_business.html?ID=351", "photo": "media/images/listings/351/ps_photo_00001197_preview.jpg", "minRate": "", "maxRate": ""},{"name": "1.74 ± ACRE COMMERCIAL LOT/ALICO...", "price": "$4.00 PSF ($303,177.60)", "sqFoot": "1.74± Acres", "location": "Fort Myers, FL", "listingNumber": "564", "listingHref": "fs_land.html?ID=57", "photo": "media/images/listings/57/ps_photo_00000614_preview.jpg", "minRate": "", "maxRate": ""},{"name": "ESTABLISHED SPORTS BAR - GREAT L...", "price": "$279,000.00", "sqFoot": "", "location": "Fort Myers , FL", "listingNumber": "1619", "listingHref": "fs_business.html?ID=306", "photo": "media/images/listings/306/ps_photo_00001016_preview.jpg", "minRate": "", "maxRate": ""},{"name": "6,000± SF HEAVY INDUSTRIAL WAREH...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1587 B", "listingHref": "fl_industrial.html?ID=280", "photo": "media/images/listings/280/ps_photo_00000917_preview.jpg", "minRate": "$5.50 PSF Gross + Sales Tax (or $2,915.00 Per Month)", "maxRate": ""},{"name": "FREESTANDING OFFICE/WAREHOUSE GR...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1627C", "listingHref": "fl_retail.html?ID=314", "photo": "media/images/listings/314/ps_photo_00001044_preview.jpg", "minRate": "$8.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "2,000± SF OFFICE/WAREHOUSE CENTR...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1648D", "listingHref": "fl_retail.html?ID=343", "photo": "media/images/listings/343/ps_photo_00001170_preview.jpg", "minRate": "NEGOTIABLE ", "maxRate": ""},{"name": "1,000± SF OFFICE/RETAIL SPACE ON...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1648C", "listingHref": "fl_retail.html?ID=342", "photo": "media/images/listings/342/ps_photo_00001167_preview.jpg", "minRate": "NEGOTIABLE ", "maxRate": ""},{"name": "PRICE REDUCED ~ 4,660± SF COMMER...", "price": "$349,000.00", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1638", "listingHref": "fs_office.html?ID=331", "photo": "media/images/listings/331/ps_photo_00001121_preview.jpg", "minRate": "", "maxRate": ""},{"name": "INVESTMENT PROPERTY ~ DOWNTOWN F...", "price": "$2,450,000", "sqFoot": "1.04± Acres", "location": "Fort Myers, FL", "listingNumber": "1650S", "listingHref": "fs_investment.html?ID=345", "photo": "media/images/listings/345/ps_photo_00001174_preview.jpg", "minRate": "", "maxRate": ""},{"name": "UNIQUE ESTABLISHED HARDWARE STOR...", "price": "$400,000 ", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1616", "listingHref": "fs_business.html?ID=307", "photo": "media/images/listings/307/ps_photo_00001018_preview.jpg", "minRate": "", "maxRate": ""},{"name": "4.04± ACRE OFFICE/RETAIL DEVELOP...", "price": "$695,000 ($3.94 PSF)", "sqFoot": "4.04± Acres ", "location": "Fort Myers, FL", "listingNumber": "1579", "listingHref": "fs_land.html?ID=261", "photo": "media/images/listings/261/ps_photo_00000855_preview.jpg", "minRate": "", "maxRate": ""},{"name": "1,500± SF OFFICE SPACE IN COLLEG...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1659", "listingHref": "fl_retail.html?ID=354", "photo": "media/images/listings/354/ps_photo_00001203_preview.jpg", "minRate": "$12.00 PSF Plus CAM & Sales Tax ", "maxRate": ""},{"name": "MOTIVATED LANDLORD - NEAR PAGE F...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1627D", "listingHref": "fl_retail.html?ID=315", "photo": "media/images/listings/315/ps_photo_00001046_preview.jpg", "minRate": "$8.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "5,500± SF SHOWROOM/WAREHOUSE AT ...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1587 A", "listingHref": "fl_industrial.html?ID=279", "photo": "media/images/listings/279/ps_photo_00000913_preview.jpg", "minRate": "$5.50 PSF Gross + Sales Tax (or $2,672.07 Per Month)", "maxRate": ""},{"name": ".46± ACRES COMMERCIAL SITE PINE ...", "price": "$80,000.00 ($4.00 PSF)", "sqFoot": ".46± Acres (20,000± SF)", "location": "Cape Coral, FL", "listingNumber": "1593", "listingHref": "fs_land.html?ID=287", "photo": "media/images/listings/287/ps_photo_00000932_preview.jpg", "minRate": "", "maxRate": ""},{"name": "GREAT LEASE RATES FOR OFFICE/WAR...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1618", "listingHref": "fl_retail.html?ID=301", "photo": "media/images/listings/301/ps_photo_00001154_preview.jpg", "minRate": "$5.00 PSF + Sales Tax ", "maxRate": ""},{"name": "16.5+/- ACRES VACANT COMMERCIAL ...", "price": "$6,000,000.00", "sqFoot": "16.52+/- Acres x 980 - (Over 700 SF of Frontage)", "location": "Fort Myers, FL", "listingNumber": "1504", "listingHref": "fs_land.html?ID=168", "photo": "media/images/listings/168/ps_photo_00001015_preview.jpg", "minRate": "", "maxRate": ""},{"name": "71,155± SF VACANT LAND ON US41 S...", "price": "$550,000.00 ($7.73 PSF)", "sqFoot": "71,155± SF (1.63± Acres)", "location": "Fort Myers, FL", "listingNumber": "1547", "listingHref": "fs_land.html?ID=229", "photo": "media/images/listings/229/ps_photo_00000736_preview.jpg", "minRate": "", "maxRate": ""},{"name": "FULLY AIR CONDITIONED INDUSTRIAL...", "price": "$235,000.00", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1635", "listingHref": "fs_industrial.html?ID=328", "photo": "media/images/listings/328/ps_photo_00001089_preview.jpg", "minRate": "", "maxRate": ""},{"name": "MOTIVATED OWNER ~ 10,144± SF OFF...", "price": "$345,000 ($34.01 PSF) ", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1646", "listingHref": "fs_industrial.html?ID=336", "photo": "media/images/listings/336/ps_photo_00001141_preview.jpg", "minRate": "$2.75 PSF + Sales Tax = $2,464.13 Per Month ", "maxRate": ""},{"name": "RIVERFRONT CENTER PROFESSIONAL O...", "price": "", "sqFoot": "1.04± Acres", "location": "Fort Myers, FL", "listingNumber": "1650L", "listingHref": "fl_office.html?ID=346", "photo": "media/images/listings/346/ps_photo_00001180_preview.jpg", "minRate": "$12.09-$13.22", "maxRate": ""},{"name": "1,500± SF WAREHOUSE @ PAGE FIELD...", "price": "$110,000 ", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1596", "listingHref": "fs_industrial.html?ID=288", "photo": "media/images/listings/288/ps_photo_00000933_preview.jpg", "minRate": "$800.00 Per Month (Plus Sales Tax) ", "maxRate": ""},{"name": "CENTRALLY LOCATED OFF U.S.41 ~ G...", "price": "$1,300,000.00 ($2.69 PSF)", "sqFoot": "11± Acres ", "location": "North Fort Myers, FL", "listingNumber": "1629", "listingHref": "fs_land.html?ID=319", "photo": "media/images/listings/319/ps_photo_00001087_preview.jpg", "minRate": "", "maxRate": ""},{"name": "REDUCED & AVAILABLE FOR IMMEDIAT...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1633", "listingHref": "fl_office.html?ID=325", "photo": "media/images/listings/325/ps_photo_00001077_preview.jpg", "minRate": "$8.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "PRICE REDUCED! WELL ESTABLISHED ...", "price": "$75,000 ", "sqFoot": "", "location": "Naples, FL", "listingNumber": "1637", "listingHref": "fs_business.html?ID=330", "photo": "media/images/listings/330/ps_photo_00001118_preview.jpg", "minRate": "", "maxRate": ""},{"name": "11± ACRES S. TAMIAMI TRAIL ON LA...", "price": "$3,500,000.00 ($7.30 PSF)", "sqFoot": "11± Acres (479,160± SF)", "location": "Fort Myers, FL", "listingNumber": "1549", "listingHref": "fs_land.html?ID=231", "photo": "media/images/listings/231/ps_photo_00000738_preview.jpg", "minRate": "", "maxRate": ""},{"name": "1,250± PROFESSIONAL OFFICE CONDO...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1643", "listingHref": "fl_office.html?ID=334", "photo": "media/images/listings/334/ps_photo_00001135_preview.jpg", "minRate": "$18.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "2,000± SF OFFICE/RETAIL SPACE NE...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1648B", "listingHref": "fl_retail.html?ID=341", "photo": "media/images/listings/341/ps_photo_00001164_preview.jpg", "minRate": "NEGOTIABLE ", "maxRate": ""},{"name": "1.30± ACRES ON US 41 @ TUCKERS G...", "price": "$199,000 ($3.51 PSF) ", "sqFoot": "1.30± Acres ", "location": "Punta Gorda , FL", "listingNumber": "1612", "listingHref": "fs_land.html?ID=297", "photo": "media/images/listings/297/ps_photo_00001117_preview.jpg", "minRate": "", "maxRate": ""},{"name": "1,800± SF OFFICE/WAREHOUSE UNIT ...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1627A", "listingHref": "fl_retail.html?ID=310", "photo": "media/images/listings/310/ps_photo_00001035_preview.jpg", "minRate": "$8.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "20± ACRE VACANT AGRICULTURAL SIT...", "price": "$158,000.00", "sqFoot": "20± Acres ", "location": "Punta Gorda , FL", "listingNumber": "1645", "listingHref": "fs_land.html?ID=337", "photo": "media/images/listings/337/ps_photo_00001145_preview.jpg", "minRate": "", "maxRate": ""},{"name": "2,000-8,000± SF RETAIL & OFFICE/...", "price": "", "sqFoot": "", "location": "FORT MYERS, FL", "listingNumber": "1376", "listingHref": "fl_retail.html?ID=87", "photo": "media/images/listings/87/ps_photo_00000135_preview.jpg", "minRate": "From $6.00 - $8.00 PSF Gross + Sales Tax ", "maxRate": "$14.00 PSF"},{"name": "4,000± SF FREESTANDING OFFICE/WA...", "price": "$545,000.00 ", "sqFoot": "1±Acre", "location": "Fort Myers, FL", "listingNumber": "1592", "listingHref": "fs_industrial.html?ID=289", "photo": "media/images/listings/289/ps_photo_00000935_preview.jpg", "minRate": "", "maxRate": ""},{"name": "4,025± SF FREESTANDING AUTOMOTIV...", "price": "$425,000.00 ", "sqFoot": "15,000± SF", "location": "Fort Myers , FL", "listingNumber": "1625", "listingHref": "fs_retail.html?ID=309", "photo": "media/images/listings/309/ps_photo_00001033_preview.jpg", "minRate": "$11.32± PSF Triple Net ", "maxRate": ""},{"name": "1,750-3,600± SF OFFICE WAREHOUSE...", "price": "", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1627B", "listingHref": "fl_retail.html?ID=311", "photo": "media/images/listings/311/ps_photo_00001039_preview.jpg", "minRate": "$6.00 PSF Gross + Sales Tax ", "maxRate": ""},{"name": "800± - 5,500± SF OFFICE/RETAIL C...", "price": "", "sqFoot": "8.38± Acres", "location": "Fort Myers, FL", "listingNumber": "1648A", "listingHref": "fl_retail.html?ID=340", "photo": "media/images/listings/340/ps_photo_00001159_preview.jpg", "minRate": "NEGOTIABLE ", "maxRate": ""},{"name": "5.19+/- ACRES SIGNALIZED CORNER ...", "price": "$3,599,500.00 ($15.92 PSF)", "sqFoot": "5.19+/- Acres", "location": "Fort Myers, FL", "listingNumber": "1470", "listingHref": "fs_land.html?ID=142", "photo": "media/images/listings/142/ps_photo_00000330_preview.jpg", "minRate": "", "maxRate": ""},{"name": "PRICE REDUCED ON 1,500± SF OFFIC...", "price": "$110,000 ($73.33 PSF)", "sqFoot": "", "location": "Fort Myers, FL", "listingNumber": "1586", "listingHref": "fs_industrial.html?ID=277", "photo": "media/images/listings/277/ps_photo_00000899_preview.jpg", "minRate": "", "maxRate": ""}]};
var _doIt="1";
var timerID = 0;
var _currentIndex="";
var _listingCount;
var _listingHref2="";
timerID = setTimeout("initListing();", 500);
function goDetails(){
location=_listingHref2;
}
function Start() {
timerID = setTimeout("listingNext()", 5000);
}
function Stop() {
if(timerID) {
clearTimeout(timerID);
timerID = 0;
}
}
function initListing(){
if(myJSONObject){
_listingCount = myJSONObject.listing.length-1;
random_num = (Math.round((Math.random()*_listingCount)))
loadListing(random_num);
//alert(random_num);
Start();
}else{
// alert("-1");
}
}
function listingNext(){
clearTimeout(timerID);
_currentIndex++;
if(_currentIndex>_listingCount){
_currentIndex=0;
}
loadListing(_currentIndex);
timerID = setTimeout("listingNext()", 5000);
}
function listingPrev(){
clearTimeout(timerID);
_currentIndex--;
if(_currentIndex<0){
_currentIndex=_listingCount;
}
loadListing(_currentIndex);
timerID = setTimeout("listingNext()", 5000);
}
function loadListing(_listingIndex){
_currentIndex=_listingIndex
var _listingObj=myJSONObject.listing[_listingIndex];
if(_listingObj){
_listingHref2=_listingObj.listingHref;
if(document.all){
document.getElementById("ps_listingName").innerText=_listingObj.name;
document.getElementById("ps_price").innerHTML=(_listingObj.price!="")?"Price: "+_listingObj.price+"
":"";
document.getElementById("ps_minRate").innerHTML=(_listingObj.minRate!="")?"Lease Rate: "+_listingObj.minRate+"
":"";
document.getElementById("ps_sqFoot").innerHTML=(_listingObj.sqFoot!="")?"Lot Size: "+_listingObj.sqFoot+"
":"";
document.getElementById("ps_location").innerText=_listingObj.location;
document.getElementById("ps_listingNumber").innerText=_listingObj.listingNumber;
document.getElementById("photo1").src=_listingObj.photo;
} else{
document.getElementById("ps_listingName").textContent=_listingObj.name;
document.getElementById("ps_price").textContent=_listingObj.price;
document.getElementById("ps_sqFoot").innerHTML=(_listingObj.sqFoot!=" x ")?"Sq Footage: "+_listingObj.sqFoot+"
":"";
document.getElementById("ps_location").textContent=_listingObj.location;
document.getElementById("ps_listingNumber").textContent=_listingObj.listingNumber;
document.getElementById("photo1").src=_listingObj.photo;
//document.getElementById('element').textContent = "my text";
}
}else{
timerID = setTimeout("initListing();", 500);
}
}