function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)) { 
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	}
}
function mOut(src,clrIn)  {
	if (!src.contains(event.toElement)) { 
		src.style.cursor = 'default'; 
		if (clrIn=="tran"){
			src.bgColor = null;
		}else{
			src.bgColor = clrIn; 
		}
		clearTimeout()
	}
} 
function mClk(url) { 
		window.location.href=url;
}
function mClk_ex(url,mymsg) { 
	if (confirm(mymsg)) {
		window.location.href=url;
	}
}
function mClk_win(url,wname,w,h) { 
	window.open(url,wname,"width="+w+",height="+h+",menubar=0,location=0,scrollbars=1,status=0,toolbar=0,resizable=0");
}
function mOvr_ex(src,clrOver){ 
	if (!src.contains(event.fromElement)) { 
		src.style.cursor = 'hand'; 
		src.className=clrOver
	}
}
function mOut_ex(src,clrIn)  { 
	if (!src.contains(event.toElement)) { 
		src.style.cursor = 'default'; 
		src.className=clrIn
	}
} 

function Reset_ex(){
	if (confirm('确定要重新填写？')) {
		eval("document."+frm+".reset();")
	}
}

function flip(rid)
{
	current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
	document.getElementById(rid).style.display = current;
}

function MM_jumpMenu(targ,selObj,restore){
	window.open(selObj.options[selObj.selectedIndex].value);
	if (restore) selObj.selectedIndex=0;
}
