//Browser sniffer (add as required)
var browser = "";
var userAgentLC = navigator.userAgent.toLowerCase();
var styles = " ";//String to write CSS bug fixes too, so multiple fixes can be written out all at once, in one block
if(userAgentLC.indexOf("mac") != -1 && userAgentLC.indexOf("msie") != -1) { browser = "MacIE"; }
function writeStyleFixes()
{
	//Writes inline styles using global styles variable.
	document.write('<style type="text/css">');
	document.write(styles);
	document.write('<\/style'+'>\n');//Deliberately broken last tag for winIE
}

function macIEHeaderNavFix()
{
	//Fixes the "on roll over links disappear" bug noted in MacIE5.
	styles += "#headerRightPad { padding-top: 37px; }";
	styles += "#search { top: 37px; }";
	//This can be what ever, as onlin MacIE will get this...
}

