function realestate()
{
//4
var ranNum= Math.round(Math.random() * 4);
if (ranNum == 0){document.write('<a href="http://www.totallybarbados.com/"><img border="0" src="http://www.totallybarbados.com/images/headers/RealE4.jpg" width="788" height="225" alt="Totally Barbados"></a></td><td class="rightbak" width="192"><a href="http://www.totallybarbados.com/barbados/Entertainment/Restaurants/"><img border="0" src="http://www.totallybarbados.com/images/newdingbats/wine.gif" alt="Click here to Visit Barbados Restaurants"></a><br><a href="http://www.totallybarbados.com/barbados/Entertainment/Restaurants/"><br>Click here to<br>Visit Barbados Restaurants</a></td>'); } // one
if (ranNum == 1){document.write('<a href="http://www.totallybarbados.com/"><img border="0" src="http://www.totallybarbados.com/images/headers/RealE4.jpg" width="788" height="225" alt="Totally Barbados"></a></td><td class="rightbak" width="192"><a href="http://www.totallybarbados.com/barbados/Shopping/"><img border="0" src="http://www.totallybarbados.com/images/newdingbats/bag.gif" alt="Click here for Barbados Shopping"></a><br><a href="http://www.totallybarbados.com/barbados/Shopping/"><br>Click here for <br>Barbados Shopping</a></td>'); } // two
if (ranNum == 2){document.write('<a href="http://www.totallybarbados.com/"><img border="0" src="http://www.totallybarbados.com/images/headers/PortSC.jpg" width="788" height="225" alt="Totally Barbados"></a></td><td class="rightbak" width="192"><a href="http://www.totallybarbados.com/barbados/About_Barbados/Beaches_and_Bays/"><img border="0" src="http://www.totallybarbados.com/images/newdingbats/umbrella.gif" alt="Click here to Visit Barbados Beaches"></a><br><a href="http://www.totallybarbados.com/barbados/About_Barbados/Beaches_and_Bays/"><br>Click here to<br>Visit Barbados Beaches</a></td>'); } // three
if (ranNum == 3){document.write('<a href="http://www.totallybarbados.com/"><img border="0" src="http://www.totallybarbados.com/images/headers/RealE1.jpg" width="788" height="225" alt="Totally Barbados"></a></td><td class="rightbak" width="192"><a href="http://www.totallybarbados.com/barbados/About_Barbados/Sightseeing/"><img border="0" src="http://www.totallybarbados.com/images/newdingbats/sign.gif" alt="Click here for Barbados Sightseeing"></a><br><a href="http://www.totallybarbados.com/barbados/About_Barbados/Sightseeing/"><br>Click here for <br>Barbados Sightseeing</a></td>'); } // four
if (ranNum == 4){document.write('<a href="http://www.totallybarbados.com/"><img border="0" src="http://www.totallybarbados.com/images/headers/RealE2.jpg" width="788" height="225" alt="Totally Barbados"></a></td><td class="rightbak" width="192"><a href="http://www.totallybarbados.com/barbados/Travel/"><img border="0" src="http://www.totallybarbados.com/images/newdingbats/tags.gif" alt="Click here for Barbados Travel Information"></a><br><a href="http://www.totallybarbados.com/barbados/Travel/"><br>Click here for <br>Barbados Travel Information</a></td>'); } // five

}
