// current headlines from spatialnews.com
var strOut, currDate;

currDate = "Nov 20, 2009";

// Reset Array
for (var i=1;i<16;i++) {
  eval("arNews" + i + " = new Array(\"\",\"\");");
}

// News links: Array(url, title)

arNews1 = new Array("http://spatialnews.geocomm.com/dailynews/2009/nov/20/news1.html", "SuperGeo to hold Biodiversity and Tourism GIS Training Courses");

arNews2 = new Array("http://spatialnews.geocomm.com/dailynews/2009/nov/20/news2.html", "Merrick Awarded IDIQ by Corps of Engineers, Mobile District");

arNews3 = new Array("http://spatialnews.geocomm.com/dailynews/2009/nov/20/news3.html", "Nottinghamshire Stops Vehicle Thieves in Their Tracks Thanks to Masternaut");

arNews4 = new Array("http://spatialnews.geocomm.com/dailynews/2009/nov/20/news4.html", "GGP's GIS Addresses Corporate Information Needs in South Northamptonshire");

arNews5 = new Array("http://spatialnews.geocomm.com/dailynews/2009/nov/20/news5.html", "ESRI GIS Services Available on Apps.gov");


strOut = "<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\">";
strOut += "<tr><td bgcolor=\"#336699\" align=\"center\"><font face=\"verdana\" color=\"#ffffff\" size=\"1\"><b>GIS/LBS Headlines<br>GeoComm.com - " + currDate + "</b></font></td></tr>";
strOut += "<tr><td bgcolor=\"#ffffff\" align=\"left\"><font face=\"verdana\" size=\"1\">";

for (var i=1;i<16;i++) {
  cNode = eval("arNews" + i);
  if (cNode[0] != "") {
    strOut += "<IMG src=\"http://images.geocomm.com/images/square/square5x5_blue.jpg\" width=\"5\" height=\"5\"> <a href=\"" + cNode[0] + "\" target=\"_blank\">" + cNode[1] + "</a><br><br>";
  }
}

strOut += "<tr><td bgcolor=\"#336699\" align=\"center\"><font face=\"verdana\" color=\"#ffffff\" size=\"1\"><b>GIS/LBS RFPs at<br>www.GeoBids.com</b></font></td></tr>";

strOut += "</font></td></tr></table><br><br>";

document.write(strOut);

