<!--
	function reload_form(fld, pgm){
		var val=fld.options[fld.options.selectedIndex].value;
		self.location = pgm + '?cID=' + val + '&page=1';
	}

	function toggleBox(szDivID, fld) { // 1 visible, 0 hidden
		 var obj = document.layers ? document.layers[szDivID] : document.getElementById ?  document.getElementById(szDivID).style : document.all[szDivID].style;
		 
		 if(fld.checked) iState = 0;
		 	else iState = 1;
		
		 obj.display = document.layers ? (iState ? "show" : "hide") : (iState ? "block" : "none");
	}

	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 wopen(url, name, w, h) {
		// Fudge factors for window decoration space.
		// In my tests these work well on all platforms & browsers.
		w += 32;
		h += 54;
		wleft = (screen.width - w) / 2;
		wtop = (screen.height - h) / 2;
		var win = window.open(url,
			name,
			'width=' + w + ', height=' + h + ', ' +
			'left=' + wleft + ', top=' + wtop + ', ' +
			'location=no, menubar=no, ' +
			'status=no, toolbar=no, scrollbars=no, resizable=yes');
		// Just in case width and height are ignored
		win.resizeTo(w, h);
		// Just in case left and top are ignored
		win.moveTo(wleft, wtop);
		win.focus();
	}

	function doClear(theText) {
		if (theText.value == theText.defaultValue) {
			theText.value = ""
		}
	}

	function hov(loc,cls) {
		if(loc.className)
			loc.className=cls;
	}

	function isNumberKey(evt) {
		var charCode = (evt.which) ? evt.which : event.keyCode;

		if (charCode > 31 && (charCode < 48 || charCode > 57))
			return false;

		return true;
	}
//-->
