// Set text colours & highlighted text colours here

if (str_thisCategory == 'home_index'){
	var str_thisColor = '#ff9900';
}
if (str_thisCategory == 'home'){
	var str_thisColor = '#cc0000';
}
if (str_thisCategory == 'brigade'){
	var str_thisColor = '#ff0000';
}
if (str_thisCategory == 'property'){
	var str_thisColor = '#4969e1';
}
if (str_thisCategory == 'area'){
	var str_thisColor = '#006400';
}
//if (str_thisCategory == 'alpacas'){
//	var str_thisColor = '#330099';
//}
//if (str_thisCategory == 'wwoofers'){
//	var str_thisColor = '#663399';
//}
//document.write('<html><head><title>Tomah Farm - ' + str_thisTitle + '</title>');
document.write('<html><head><title>Mt Tomah Rural Fire Brigade - ' + str_thisTitle + '</title>');

// This is the style sheet

document.write('<style type="text/css">');
document.write(' img { border-color:' + str_thisColor + '}');
document.write(' p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px}');
document.write(' td { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px}');
document.write(' th { font-family: Verdana, Arial, sans-serif; font-size: 25px; line-height: 29px; font-weight:bold}');
document.write(' a { color:' + str_thisColor + '; text-decoration:none }');
document.write(' a:Hover { color:' + str_thisColor + '; text-decoration:underline }');
document.write(' h1 { font-family: Arial, sans-serif; color:black; font-size:35px; font-weight:bold; line-height:38px }');
document.write(' h2 { font-family: Arial, sans-serif; color:black; font-size:25px; line-height:28px }');
document.write(' .catColor { color:' + str_thisColor + ' }');
document.write(' .sml { font-family: Arial, Helvetica, sans-serif; font-size: 11px}');
document.write(' .inverted { color:white }');
document.write(' .inverted:Hover { color:white }');
document.write(' .footer { font-size:11px; color:white }');
document.write(' .footer:Hover { font-size:11px; color:white }');
document.write(' .bold { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:black; font-weight:bold}');
document.write(' .description { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:black }');
document.write('</style></head>');

//End of style sheet

// Image rollover code here

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// End of image rollover code

// Body start tag - the rollover images must be *preloaded* here in order to work!

document.write('<body bgcolor="#c0c0c0" text="black" onLoad=MM_preloadImages("images/ btn_home_colour.jpg","btn_brigade_colour.jpg","btn_property_colour.jpg","btn_area_colour.jpg","area.jpg","brigade.jpg","property.jpg")>');
document.write('<a name="top"> </a><center>');

// This is the color bar on the top of each page

//if (str_thisCategory != 'home_index'){
//	document.write('<table width=680 cellpadding=0 cellspacing=0 border="0"><tr><td bgcolor="' + str_thisColor + '">&nbsp;</td></tr><tr><td bgcolor="white">');
//	}
document.write('<table width=680 cellpadding=0 cellspacing=0 border="0"><tr><th width="550" height="80" bgcolor="#c0c0c0" align=left valign=top>Mount Tomah<br>Rural Fire Brigade<hr color="' + str_thisColor + '" SIZE=6 valign="top"></th><td width="130" height="80" align=right bgcolor="#c0c0c0"><img src="images/RFS_Logo_top.gif" alt="RFS Logo" width="126" height="80"></td></tr>');

