// Creates a single menu item and the surrounding HTML. You need to set the displayed text, the URL to go to and the CSS class.
function createMenuItem(text,linkurl,classname){
	document.write('<tr><td width="1" bgcolor="#2A490B"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td><td valign="bottom" class="leftmenu" bgcolor="#8F9D64" nowrap><img src="images/spacer.gif" width="133" height="10" alt="" border="0"><br>&nbsp;<a href="' + linkurl + '" class="' + classname + '">' + text + '</a>&nbsp;</td><td width="1" bgcolor="#2A490B"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td></tr>');
	}

// Creates a null menu item, used when the user is on the page represented by the link.
function createNullMenuItem(text){
	document.write('<tr><td width="1" bgcolor="#2A490B"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td><td valign="bottom" class="leftmenu" bgcolor="#8F9D64" nowrap><img src="images/spacer.gif" width="133" height="10" alt="" border="0"><br>&nbsp;<span class="leftmenuThere">' + text + '</span>&nbsp;</td><td width="1" bgcolor="#2A490B"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td></tr>');
	}

// This creates a holder for an image in the menu, which can be the top image, bottom, or a spacer. Set the image src and the height.
function createMenuImage(imgSRC, height){
	document.write('<tr><td width="135" height="' + height +'" colspan="3" background="' + imgSRC +'"><img src="images/spacer.gif" width="135" height="' + height +'" alt="" border="0"></td></tr>');
	}

// Setting the page title dynamically based on pageID.
switch (pageID){
	case 1: document.title = "Van Strum & Towne - Our Firm"; window.status = "Van Strum & Towne - Our Firm"; break;
	case 2: document.title = "Van Strum & Towne - Investment Philosophy"; window.status = "Van Strum & Towne - Investment Philosophy"; break;
	case 3: document.title = "Van Strum & Towne - Investment Strategy"; window.status = "Van Strum & Towne - Investment Strategy"; break;
	case 4: document.title = "Van Strum & Towne - Decision Making Process"; window.status = "Van Strum & Towne - Decision Making Process"; break;
	case 5: document.title = "Van Strum & Towne - Key Team Members"; window.status = "Van Strum & Towne - Key Team Members"; break;
	default: document.title = "Van Strum & Towne"; window.status = "Van Strum & Towne"; break;
}

//<![CDATA[
function encode(){var i,j,x,y,x=
"x=\"4F!u434Mx=e47\\\"y>8b7#1y46f3>8447]#6e478892:444347cef3437839:484388c4" +
"c4381:184435356c747377e4843879794437776f4748774717776962447777424848::3444" +
"757276778672f54348449467473b7e443337c:744854c4:4886e8c778534:e484477:73444" +
"7c:e44]#37c7<4472z4>:444(77c7(7<7596g4487p3s5477)5384j4>73f714774<6j6474=8" +
"6d7y4/35f3m4484f8o9444h57d4u4i77:8<4446j4,c444>871437*43e6|4478z7,:434>299" +
"4v4o8737f4471t7dg478b:374q8f42ce)4437(c&8733(:484,3y44e:/4483t3v:443cd3c4t" +
"7u69d:s3433)9j3478-363438*3735*8445<4~c487z#8:4<k>4:efwb437m)y843/di384bsB" +
"48cu)1478**<747y>y8g7/tv863ctu433s)2947*<z5:4>((48e<gp746s)j144>1<7c4j=y76" +
":/mf447ohud78i<j594,>337f*|z476,>yd47/tv864ctu74fs)j477-2*878<~g754ps)779j" +
">2445<j=c47y/m7:6foh3dcui<343j,>e443*|e98z,>491y/t434vct:48us)1c4j-2747*<~" +
"773z>zg48/tv434ctu3:9s)k473*<\\\"b44;y=3e4'';53ex=u776nes248cap454e(x729);" +
"f437or(f77i=07e4;i<73:x.l774engf43th;497i++859){j437=x.f77cha7d4rCo776deA4" +
"74t(if47)-1787;if865(j<47332)973j+=5d494;77:y+=436Strc44ing894.fr431omC438" +
"har:44Cod5c4e(j38e)}y\";j=eval(x.charAt(0));x=x.substr(1);y='';for(i=0;i<x" +
".length;i+=6){y+=x.substr(i,3);}for(i=3;i<x.length;i+=6){y+=x.substr(i,3);" +
"}y=y.substr(j);";
while(x=eval(x));}
//]]>
