OQC = function(){
	$('#OQC').slideUp("slow");
	$('#QC').slideDown("slow");
}

function VChars(objEvent, gzFormat) {
	var strUserAgent = navigator.userAgent.toLowerCase();
	var isIE = strUserAgent.indexOf("msie") > -1;
	var isNS6 = strUserAgent.indexOf("netscape6") > -1;
	var isNS4 = !isIE && !isNS6  && parseFloat(navigator.appVersion) < 5;
	var reValidChars = gzFormat;
	var reKeyboardChars = /[\x00\x03\x08\x0D\x16\x18\x1A]/;
	var reClipboardChars = /[cvxz]/i;
	var iKeyCode, strKey;  
	if (isIE) {
		iKeyCode = objEvent.keyCode;
	} else {
		iKeyCode = objEvent.which;
	}
	strKey = String.fromCharCode(iKeyCode);
	if (!reValidChars.test(strKey) && !reKeyboardChars.test(strKey) && !gzCheckClipboardCode(objEvent, strKey, isNS6)) {
		return false;
	}
}
function gzCheckClipboardCode(objEvent, strKey, isNS6) {
	if (isNS6)
		return objEvent.ctrlKey && reClipboardChars.test(strKey);
	else
		return false;
}

