<!--
/*
看完功夫回到家，发现反映冷冷淡淡的，突然没什么性质继续写这个了。。。本来打算Alpha 3是改进巧嘴的。。现在无限期推延。。阿门。。。。
使用或修改代码者请保留此段和关于信息
*/
/******************************************************************************
* MagicEmot functions.                                                        *
******************************************************************************/
document.write('<Div id="Xnc_Emot" Style="POSITION:absolute;Z-INDEX: 99;"></Div>');
function DispMagicEmot(EmotID){
	MagicEmotUrl = "/images/body/" + EmotID + ".swf";
	var obj = document.getElementById("Xnc_Emot");
		obj.innerHTML = '<Div style="padding:0;position:relative;"><Div style="padding:0;position:absolute;z-index:1;"><OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="300"><PARAM NAME=movie VALUE="'+ MagicEmotUrl +'"><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=true><param name="wmode" value="transparent"><embed src="' + MagicEmotUrl +'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="400" height="300"></embed></OBJECT></Div><img src="/includes/blank.gif" style="padding:0;position:absolute;width:400;height:300;left:0;top:0;z-index:2;cursor:hand;" Onclick="document.getElementById(\'Xnc_Emot\').innerHTML=\'\';" Alt="点击隐藏魔法表情"  oncontextmenu="false"></Div>';
		obj.style.top = (document.body.scrollTop+((document.body.clientHeight-300)/2))+"px";
		obj.style.left = (document.body.scrollLeft+((document.body.clientWidth-400)/2))+"px";
		obj.style.display = 'inline';
	EmotID += Math.random();
	window.setTimeout('HideMagicEmot('+EmotID+')',8000);
	NowMeID = EmotID;
	window.event.returnValue=false;
}

function HideMagicEmot(EmotID) {
	if(NowMeID == EmotID) {
		document.getElementById("Xnc_Emot").style.display = 'none';
		NowMeID = '';
	}
}


