		var tsr_ns6 = (document.getElementById) ? true : false;
		var tsr_ns4 = (document.layers) ? true : false;
		var tsr_ie = (document.all) ? true : false;

		function showhide(d, h){
			var thelink=(tsr_ns6)? document.getElementById(d + 'link'): eval(d + 'link');
			var thelinksub=(tsr_ns6)? document.getElementById(d + 'linksub'): eval(d + 'linksub');
			var theheader=(tsr_ns6)? document.getElementById(d + 'header'): eval(d + 'header');
			var thediv=(tsr_ns6)? document.getElementById(d): eval(d);

			if ((thediv != null) && (theheader != null) && (thelink != null) && (thelinksub != null)){
				var theheaderstyle=(tsr_ns6||tsr_ie)? theheader.style: theheader; var thedivstyle=(tsr_ns6||tsr_ie)? thediv.style: thediv;
				if ((thedivstyle != null) && (theheaderstyle != null)){
					if (thedivstyle.display == 'block')
					{if (h == 'b') theheaderstyle.display = 'none'; thedivstyle.display = 'none'; thelink.innerHTML = '[+]'; thelinksub.innerHTML = '[+]';}
					else
					{theheaderstyle.display = 'block'; thedivstyle.display = 'block'; thelink.innerHTML = '[-]'; thelinksub.innerHTML = '[-]';}
				}
			}

			return false;
		}

		function showHideCat(el){
			if (el != ''){
				var d;
				if (document.getElementById) d = document.getElementById(el);
				else d = eval(el);
			if (d != null) d.style.display=(d.style.display=='none')?'':'none'
			}
		}

		function showCat(el){
			if (el != ''){
				var d;
				if (document.getElementById) d = document.getElementById(el);
				else d = eval(el);
			if (d != null) d.style.display='';
			}
		}
		function hideCat(el){
			if (el != ''){
				var d;
				if (document.getElementById) d = document.getElementById(el);
				else d = eval(el);
			if (d != null) d.style.display='none';
			}
		}
		function doSearch(){
			document.frmSearch.can_search.value=1;
			document.frmSearch.action="/search.html";
			document.frmSearch.submit();
		}
