if(typeof(pgname) == "undefined") { pgname=''; }

var btnAgents      = (pgname == 'agents')      ? "butn_agents_dn.gif"      : "butn_agents.gif";
var btnListings    = (pgname == 'listings')    ? "butn_listings_dn.gif"    : "butn_listings.gif";
var btnResources   = (pgname == 'mlsonline')   ? "butn_mlsonline_dn.gif"   : "butn_mlsonline.gif";
var btnRequestInfo = (pgname == 'requestinfo') ? "butn_requestinfo_dn.gif" : "butn_requestinfo.gif";
var btnBuySellHelp = (pgname == 'buysellhelp') ? "butn_buysellhelp_dn.gif" : "butn_buysellhelp.gif";
var btnMortgageApp = (pgname == 'mortgageapp') ? "butn_mortgageapp_dn.gif" : "butn_mortgageapp.gif";


function w(s) { document.writeln(s); }
if(pgname != 'index') { w('<a href="/">'); }
w('<img src="/images/FloodLogo.gif" width="105" height="73" border="0" alt="Flood Realty Centre, Inc.">');
if(pgname != 'index') { w('</a>'); }
w('<div style="padding-bottom:5px;">');
w('<table cellspacing="0" cellpadding="0" border="0">');
w('<tr><td class="contact">3600 Nameoki Rd.</td></tr>');
w('<tr><td class="contact">Suite 101<td></tr>');
w('<tr><td class="contact">Granite City, IL  62040</td></tr>');
w('<tr><td class="contact">(618) 877-3600</td></tr>');
w('<tr><td class="contact">Fax:(618) 877-3602</td></tr>');
w('</table>');
w('</div>');
w('<p>');
w('<a href="agents.html"><img src="/images/'+btnAgents+'" width="110" height="40" border="0" alt="Agents"></a><br/>');
w('<a href="listings.html"><img src="/images/'+btnListings+'" width="110" height="40" border="0" alt="Listings"></a><br/>');
w('<a href="mlsonline.html"><img src="/images/'+btnResources+'" width="110" height="40" border="0" alt="Resources"></a><br/>');
w('<a href="requestinfo.html"><img src="/images/'+btnRequestInfo+'" width="110" height="40" border="0" alt="Requests"></a><br/>');
w('<a href="buysellhelp.html"><img src="/images/'+btnBuySellHelp+'" width="110" height="40" border="0" alt="Buyer/Seller Help"></a><br/>');
w('<a href="mortgageapp.html"><img src="/images/'+btnMortgageApp+'" width="110" height="40" border="0" alt="Online Mortgage App"></a><br/>');
w('</p>');
w('<div style="padding-top:20px;"><a href="http://www.buybankhomes.com"><img src="/images/logo_buybankhomes.jpg" width="149" height="64" border="0"/></a></div>');
w('<p>&nbsp;</p>');
