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 findrollovers() {
	if (document.getElementById) var x = document.getElementsByTagName('A');
	else if (document.all) var x = document.all.tags('A');
	else return;
	for (var i=0;i<x.length;i++) {
		if(x[i].onmouseover){
			var y = x[i].onmouseover.toString();var z,p="";
			if(y.indexOf("MM_swapImage")>0) {
				z=y.split(",");
				p=z[2].replace(/^\s*|\s*$/g,'');
				p=p.replace(/["']{1}/gi,"");
				MM_preloadImages(p);
			}
		}
	}
}

function startList() {
	setupZoom();
	findrollovers();
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("topnav");
		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", "");
				}
			}
		}
	}
}

function ckSearch() {
	if (document.forms[0].searchString.value=="Search...") document.forms[0].searchString.value="";
}

function openTD(param) {
	var remote = open ("", "TDwin", "left=0,top=0,toolbar=0,location=0,directories=0,status=yes,menubar=0,scrollbars=1,resizable=1,width=820,height=500");
	remote.focus();
	remote.location.href = (param);
}
