function rand_number(n)
{
var x;
x=Math.round(Math.random()*100);
x%=n;
return x;
}
function property()
{
var img = new Array();

img[0]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/wolston-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-wolston.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-wolston.htm" class="property"><b>Wolston House</b></a></td></tr><tr><td class="property">Wolston House is an early stone and brick farmhouse built in 1852 but substantially...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[1]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/royalbull-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-royalbull.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-royalbull.htm" class="property"><b>The Royal Bull’s Head Inn</b></a></td></tr><tr><td class="property">The Bulls Head Inn was built in 1847. The present building is the extension built in...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[2]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/brennan-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-brennan.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-brennan.htm" class="property"><b>Brennan & Geraghty&#8217;s Store</b></a></td></tr><tr><td class="property">This large grocery store was operated by one family from 1871 - 1972. The trust...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[3]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/townsville-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-townsville.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-townsville.htm" class="property"><b>National Trust Heritage Centre</b></a></td></tr><tr><td class="property">The historic house complex displays on the site three (3) typical North Queensland...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[4]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/zara-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-zara.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-zara.htm" class="property"><b>Charters Towers Museum</b></a></td></tr><tr><td class="property">The Charters Towers Museum is housed in a late nineteenth century commercial building...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[5]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/stockex-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-stockex.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-stockex.htm" class="property"><b>Stock Exchange Arcade</b></a></td></tr><tr><td class="property">The Assay room forms part of the Stock Exchange, a grand masonry building on the...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[6]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/tent-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-tent.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-tent.htm" class="property"><b>Tent House</b></a></td></tr><tr><td class="property">Mount Isa Tent House is a timber framed house with a canvas roof under a free...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[7]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/jamescook-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-jamescook.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-jamescook.htm" class="property"><b>James Cook Museum</b></a></td></tr><tr><td class="property">The Museum is located in the former convent of St Mary, erected 1887-1889. The...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';
img[8]='<table width="159" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/properties/moon-nav.jpg" width="159" height="72"><br><a href="http://www.nationaltrustqld.org/property-moon.htm" style="background: transparent;"><img src="https://secure.ecn.net.au/natqld/images/sidenav/trustproptab.gif" alt="Click to view this trust property" width="159" height="21" border="0"></a></td></tr><tr><td valign="top" bgcolor="#006743"><table width="148" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td class="property"><a href="http://www.nationaltrustqld.org/property-moon.htm" class="property"><b>Moon&rsquo;s Reserve</b></a></td></tr><tr><td class="property">Moon&rsquo;s Reserve - story to come...</td></tr></table></td></tr><tr><td bgcolor="#006743"><img src="https://secure.ecn.net.au/natqld/images/sidenav/greenbase.gif" width="159" height="9"></td></tr></table>';

// attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3

var n=rand_number(9); 
document.write(img[n]);
}
