function sidenav(highlight1,subnav1) {
	if ( highlight1 != '' ) {
		document.getElementById(highlight1).className = 'topicon1';
	}
	if ( subnav1 != '' ) {
		document.getElementById(subnav1).className = 'subtopicson1';
  	}
	if (arguments.length >= 3) { 
		var subhead2 = arguments[2];
  	  	document.getElementById(subhead2).className = 'topicon2';
		if (arguments.length >= 4){
			var subcat2 = arguments[3];
			document.getElementById(subcat2).className = 'subtopicson2';
			if (arguments.length >= 5){
				var subhead3 = arguments[4];
				document.getElementById(subhead3).className = 'topicon3';
			}
		}			
	}
	document.getElementById('sidenav').style.visibility = "visible"; 

}
startList = function(){
if (document.all&&document.getElementById){
  navRoot = document.getElementById("nav");
  for (i=0; i<navRoot.childNodes.length; i++){
    node = navRoot.childNodes[i];
    if (node.nodeName=="LI"){
		node.onmouseover=function(){
			this.className+=" over";
			}
		node.onmouseout=function(){
			this.className=this.className.replace(" over", "");
			}
		}
	}
  }
}
window.onload=startList;

/*the following code added 5/10/2004 by BES. This function opens large versions of thumbnails in a custom-sized window.*/
var win = null;
function newWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
/*new and updated function for collateral etc*/
function writeIndicator(expires,what) {
	var today = new Date();
	if (what == 'new' && today < expires) {
		document.write("<span class='accenttext'><strong>New!</strong></span>");
	} else if (what == 'updated' && today < expires) {
		document.write("<span class='accenttext'><strong>Updated!</strong></span>");
	} else {
		document.write("");
	}
}