

function RandomHeader(){
	this.headers = [rural, tse, bamboo, polmaily, vbe, rugby, monaco, crusa];
}

RandomHeader.prototype.display = function(){
	var index = Math.floor(Math.random() * this.headers.length);
	this.headers[index]();
}

RandomHeader.INSTANCE = new RandomHeader();


function rural(){
	document.write(' <tr id="subhead-rural">     <td></td>        <td colspan="2">            <div>                <a href="case-study-rural-ways.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="Rural Ways - Branding and Website" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}


function tse(){
	document.write('<tr id="subhead-tse">        <td colspan="3">            <div>                <a href="case-study-tourism-south-east-china.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="Tourism South East - Promotional CD-ROM" /></a>            </div>        </td>    </tr>');
}

function bamboo(){
	document.write('<tr id="subhead-bamboo">        <td></td>        <td colspan="2">            <div>                <a href="case-study-hob-integrity-21st.php"><img class="title" src="i/h-bamboo/txt.gif" width="342" height="103" alt="House of Bamboo - Blues, World and Jazz Club" /></a>            </div>        </td>    </tr>');
}

function farm(){
	document.write('<tr id="subhead-farm">        <td colspan="3">            <div>                <a href="work.php#fw"><img class="title" src="i/blank.gif" width="1" height="1" alt="Farm Walks - Branding and Website" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}

function polmaily(){
	document.write('<tr id="subhead-polmaily">        <td colspan="3">            <div>                <a href="case-study-the-polmaily-country-hotel.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="The Polmaily Country Hotel" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}

function vbe(){
	document.write('<tr id="subhead-vbe">        <td colspan="3">            <div>                <a href="case-study-visit-britain.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="The Polmaily Country Hotel" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}

function rugby(){
	document.write('<tr id="subhead-rugby">        <td colspan="3">            <div>                <a href="work.php#edf-rugby"><img class="title" src="i/blank.gif" width="1" height="1" alt="The Polmaily Country Hotel" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}

function monaco(){
	document.write('<tr id="subhead-monaco">        <td colspan="3">            <div>                <a href="case-study-monaco-tourism-email-marketing.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="Monaco Tourist Authority" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}

function crusa(){
	document.write('<tr id="subhead-crusa">        <td colspan="3">            <div>                <a href="case-study-myroadtripusa.php"><img class="title" src="i/blank.gif" width="1" height="1" alt="Capital Region USA" /></a>                <span class="img"></span>            </div>        </td>    </tr>');
}