/* Detecting if browser has javascript and displays link text or dropdown menu accordingly */
function revealBRSDropDown() {
		 //This will exit the function if JS not fully supported
		 if (!document.getElementById) return false;

		 //This will exit the function if the two required DIV's are not on the page
		 if (!document.getElementById("brsDropDown_No")) return false;
		 if (!document.getElementById("brsDropDown_Yes")) return false;

		 //Find & hold the targetted DIVs
		 var brsDropDownHide = document.getElementById("brsDropDown_No");
		 var brsDropDownShow = document.getElementById("brsDropDown_Yes");

		 //The magic (not really)
		 brsDropDownHide.style.display = 'none';
		 brsDropDownShow.style.display = 'inline';
}
window.onload = revealBRSDropDown;
/* End javascript detect */

var pArray = new Array();
var selectBox = "";
/* partner function no longer required - replaced by push
function partner(surName,firstName,docId){
	this.surName = surName;
	this.firstName = firstName;
	this.docId = docId;
}
*/

pArray.push(["Babcock","Glen","glen_babcock.html"]);
pArray.push(["Barrell","Tony","tony_barrell.html"]);
pArray.push(["Batten","Mark","mark_batten.html"]);
pArray.push(["Bennett","David","david_bennett.html"]);
pArray.push(["Boyden","Pat ","pat_boyden.html"]);
pArray.push(["Boys-Stones","Richard","richard_boys_stones.html"]);
pArray.push(["Brookes","Karina","karina_brookes.html"]);
pArray.push(["Browne","Stephen","stephen_browne.html"]);
pArray.push(["Bruce","Donald","donald_bruce.html"]);
pArray.push(["Bruce","Gillian","gillian_bruce.html"]);
pArray.push(["Cartwright","Bruce ","bruce_cartwright.html"]);
pArray.push(["Chubb","David","david_chubb.html"]);
pArray.push(["Clarkson","Patricia","patricia_clarkson.html"]);
pArray.push(["Cole","Quentin","quentin_cole.html"]);
pArray.push(["Connock","Ross","ross_d_connock.html"]);
pArray.push(["Copley","Paul","paul_copley.html"]);
pArray.push(["Dickson","Julia","julia_dickson.html"]);
pArray.push(["Downs","Russell","russell_downs.html"]);
pArray.push(["Dukes","Karen","karen_dukes.html"]);
pArray.push(["Ellis","Kevin","kevin_ellis.html"]);
pArray.push(["Ellis","Steve","steve_ellis.html"]);
pArray.push(["Fergusson","Anne","anne_fergusson.html"]);
pArray.push(["Frost","Graham","graham_frost.html"]);
pArray.push(["Gayner","Neil","neil_gayner.html"]);
pArray.push(["Gercke","Mike","mike_gercke.html"]);
pArray.push(["Gilbertson","Barry","barry_gilbertson.html"]);
pArray.push(["Giles","Matthew","matthew_giles.html"]);
pArray.push(["Grant","Alison","alison_grant.html"]);
pArray.push(["Greaves","Peter","peter_greaves.html"]);
pArray.push(["Green","Ian","ian_green.html"]);
pArray.push(["Haig","Colin","colin_haig.html"]);
pArray.push(["Hamilton","Sean","sean_hamilton.html"]);
pArray.push(["Hammond","Matthew","matthew_hammond.html"]);
pArray.push(["Harding","Paul","paul_harding.html"]);
pArray.push(["Hodge","Kirsteen","kirsteen_hodge.html"]);
pArray.push(["Homan","Mark","mark_homan.html"]);
pArray.push(["Hopkins","Mark","mark_hopkins.html"]);
pArray.push(["Howell","Derek","derek_howell.html"]);
pArray.push(["Hussain","Zelf","zelf_hussain.html"]);
pArray.push(["Hunt","Rob","rob_hunt.html"]);
pArray.push(["Jervis","Mike","mike_jervis.html"]);
pArray.push(["Kamaris","Chris","chris_kamaris.html"]);
pArray.push(["Kelly","David","david_kelly.html"]);
pArray.push(["Kett","Tony","tony_kett.html"]);
pArray.push(["Land","Jonathon","jonathon_land.html"]);
pArray.push(["Lewis","Rob","rob_lewis.html"]);
pArray.push(["Livesey","Craig","craig_livesey.html"]);
pArray.push(["Lochead","Brian","brian_lochead.html"]);
pArray.push(["Loftus","Mark","mark_loftus.html"]);
pArray.push(["Lomas","Tony","tony_lomas.html"]);
pArray.push(["MacNamara","Edward","edward_macnamara.html"]);
pArray.push(["Maddison","Stuart","stuart_maddison.html"]);
pArray.push(["Magee","Michael","michael_magee.html"]);
pArray.push(["Manson","Laurie","laurie_manson.html"]);
pArray.push(["Marsh","Roger","roger_marsh.html"]);
pArray.push(["Oakley-Smith","Ian","ian_oakley_smith.html"]);
pArray.push(["Oldfield","Stephen","stephen_oldfield.html"]);
pArray.push(["Parr","Guy","guy_parr.html"]);
pArray.push(["Pearson","Steven","steven_pearson.html"]);
pArray.push(["Plas","Diederick van der","diederick_van_der_plas.html"]);
pArray.push(["Powell","Ian","ian_powell.html"]);
pArray.push(["Rackham","Nigel","nigel_rackham.html"]);
pArray.push(["Randeria","Zubin","zubin_randeria.html"]);
pArray.push(["Reed","Nick","nick_reed.html"]);
pArray.push(["Richardson","Steve","steve_j_richardson.html"]);
pArray.push(["Ross","Barry","barry_ross.html"]);
pArray.push(["Russell","Steve","steve_russell.html"]);
pArray.push(["Schneider","Ian ","ian_schneider.html"]);
pArray.push(["Schwarzmann","Daniel","daniel_schwarzmann.html"]);
pArray.push(["Setchim","Richard","richard_setchim.html"]);
pArray.push(["Shires","Mark","mark_shires.html"]);
pArray.push(["Spratt","Peter","peter_spratt.html"]);
pArray.push(["Stoner","Gavin","gavin_stoner.html"]);
pArray.push(["Swanston","Heather","heather_swanston.html"]);
pArray.push(["Talviti-Brown","Kalee ","kalee_talviti_brown.html"]);
pArray.push(["Tilbrook","Chris","chris_tilbrook.html"]);
pArray.push(["Trimble","Melville","melville_trimble.html"]);
pArray.push(["Vardy","Lyn","lyn_vardy.html"]);
pArray.push(["Walsh","Tim","tim_walsh.html"]);
pArray.push(["Ward","Andrew","andrew_ward.html"]);
pArray.push(["Warnett","Irving","irving_warnett.html"]);
pArray.push(["Waters","Laura","laura_m_waters.html"]);
pArray.push(["Webb","Jeremy","jeremy_webb.html"]);
pArray.push(["Whitcombe","Clare","clare_whitcombe.html"]);
pArray.push(["Wood","Karen","karen_wood.html"]);


selectBox = "<h4 class=\"pubs_right\">BRS partners / directors</h4><form name=\"pSelect\" method=\"post\" action=\"\"><select style=\"font-size:0.85em;margin:0px 5px 0px 0px;vertical-align:text-bottom;\" name=\"brsPartner\" id=\"RHNbrsmenu\">";

selectBox += "<option value=\"#\"></option>";

for(var a=0;a<pArray.length;a++){
	selectBox += "<option style=\"font-size:0.85em;\" value=\"/eng/services/"+ pArray[a][2] + "\">" + pArray[a][0] + "&nbsp;" + pArray[a][1] + "</option>";}

selectBox += "</select>";

goToUrl = "<a href=\"#\" onclick=\"javascript:location.href = document.pSelect.brsPartner.options[document.pSelect.brsPartner.selectedIndex].value;\"><img src=\"/common/images/ocean/go_more_next.gif\" border=\"0\" alt=\"View profile\"/></a></form>";

document.write(selectBox + goToUrl);