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 WriteHeadFlash(id,Path,Width,Height,Transparent){
	 var Temp,T=""
	 Temp='<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="FlashH" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+Width+'" height="'+Height+'">'
	 Temp+='<param name="movie" value="'+Path+'"/>'
	 Temp+='<param name="quality" value="High"/>'
	 Temp+='<param name="scale" value="ExactFit"/>'
	 if (Transparent) {Temp+=' <param name="wmode" value="transparent"/>';T='wmode="transparent"'}
	 Temp+='<embed src="'+Path+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="FlashH" width="'+Width+'" height="'+Height+'" quality="High"'+T+' scale="ExactFit"/>'
	 Temp+='</object>'
	 document.getElementById(id).innerHTML=Temp
}