function $(v){return(document.getElementById(v));}
function $s(v){return($(v).style);}
function tgl(o){$s(o).display=($s(o).display=='block')?'none':'block';}
function sw(o){$s(o).display='block';}
function hd(o){$s(o).display='none';}
function $t(o,t){$(o).innerHTML=t;}
function $v(o){return $(o).value;}
function of(tv,obj){if(obj.value==tv)obj.value='';obj.style.color='black'}
function ob(tv,obj){if(obj.value==''){obj.value=tv;obj.style.color='gray'}}
function r(rw){rw.style.backgroundColor='';}
function h(rw){rw.style.backgroundColor='#ffc';}
function h2(rw){rw.style.backgroundColor='#ff0';}
function z(o,zi){$s(o).zIndex=zi;}
function vE(e){return e.match(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/);}
function cd_ml(e){document.write(("<n uers=\"znvygb:"+e+"\" ery=\"absbyybj\" pynff=yngva>"+e).replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));}
function kk(e){return window.event?e.keyCode:e.which;}	//	use: onkeyup,onkeypress,onkeydown="a=kk(event);...DO SOME THINGs...;return true;"
function IsEscPress(e){var kC=window.event?event.keyCode:e.keyCode,Esc=window.event?27:e.DOM_VK_ESCAPE;return kC==Esc}
//function getCheckedValue(radioObj){if(!radioObj)return "";var radioLength=radioObj.length;if(radioLength==undefined)if(radioObj.checked)return radioObj.value;else return "";for(i=0;i<radioLength;i++){if(radioObj[i].checked){return radioObj[i].value;}}return "";}
function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}
