var timerID = null; function makeNews(c, l, d){ this.copy = c; this.link = l; this.date1 = d; this.write = writeNews; } function writeNews(){ var str = '
' + this.copy + '
' + this.date1 + '
'; return str; } var newsArray = new Array(); newsArray[0] = new makeNews("Union Park – 2007 Year in Review", "article.php?id=16", "8 January 2008").write(); newsArray[1] = new makeNews("Deal with sky high potential: Analysts see possibilities in land acquired with tower", "article.php?id=15", "29 April 2007").write(); newsArray[2] = new makeNews("Charlie Palmer hotel-condo planned for Union Park", "article.php?id=14", "27 April 2007").write(); newsArray[3] = new makeNews("City green-lights tax break for Las Vegas Premium Outlets", "article.php?id=13", "19 February 2007").write(); newsArray[4] = new makeNews("Vegas Retail on a Roll", "article.php?id=12", "30 June 2007").write(); var nIndex = 0; function rotateNews(){ var len = newsArray.length; if(nIndex >= len) nIndex = 0; document.getElementById('newsFlash').innerHTML = newsArray[nIndex]; nIndex++; timerID = setTimeout('rotateNews()', 7000); } /* ************* FTZ piece ********************** */ function makeFTZ(c,l){ this.copy = c; this.link = l; this.write = writeFTZ; } function writeFTZ(){ var strF = '
' + this.copy + '
CLICK HERE to find out more
'; return strF; } var ftzArray = new Array(); ftzArray[0] = new makeFTZ("All major transportation means and carriers are represented in Las Vegas.", "ftz.php").write(); ftzArray[1] = new makeFTZ("Customs Brokers will be on the WJC premises.", "ftz.php").write(); ftzArray[2] = new makeFTZ("Cost savings through tariff relief.", "ftz.php").write(); ftzArray[3] = new makeFTZ("Logistical benefits: Seamless transactions (i.e., time savings through less paperwork).", "ftz.php").write(); ftzArray[4] = new makeFTZ("Direct delivery reduces inspections/delays at borders/docks.", "ftz.php").write(); var fIndex = 0; function rotateFTZ(){ var len = ftzArray.length; if(fIndex >= len) fIndex = 0; document.getElementById('ftzContent').innerHTML = ftzArray[fIndex]; fIndex++; timerID = setTimeout('rotateFTZ()', 5000); }