document.writeln("<div id=\"sm\" style=\"Z-INDEX:99999; LEFT:0px;POSITION:absolute; TOP:0px; HEIGHT:27px;width:200px; BACKGROUND-COLOR:#c9d3f3;overflow:hidden;background-image:url(/images/sm/jg.gif); background-repeat:no-repeat; background-position:top; \">");
document.writeln("<div style=\"height:20px;text-align:right;margin-right:6px;\"><img src=\"/images/sm/zclose.gif\" hspace=\"3\" style=\"CURSOR:pointer;margin-top:6px;\" onclick=\"closeDivsm()\" alt=\"展开\" id=\"btcolsesm\" /></div>");
document.writeln("<div style=\"height:197px;display:none;\" id=\"contentsm\">&nbsp;</div><\/div>");
function moveRRsm()
{
	var ie=document.all && !window.opera
	iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
	var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
	var scroll_left=(ie)? iebody.scrollLeft : window.pageXOffset
	var docwidth=(ie)? iebody.clientWidth : window.innerWidth
	var docheight=(ie)? iebody.clientHeight: window.innerHeight
	var divheight=document.getElementById("sm").style.height.replace("px","");
	var divwidth=document.getElementById("sm").style.width.replace("px","");
	document.getElementById("sm").style.top=scroll_top+docheight-divheight+'px';
	//document.getElementById("sm").style.left=scroll_left+docwidth-divwidth-20+'px';

	//document.getElementById("sm").style.top=scroll_top+'px';
	document.getElementById("sm").style.left=scroll_left+'px';
	
	setTimeout("moveRRsm();",80)
}
function closeDivsm(){
	//msn.style.visibility='hidden';
	if(document.getElementById("contentsm").style.display=='none')
	{
		document.getElementById("contentsm").style.display='block';
		document.getElementById("sm").style.height=428+'px';
		document.getElementById("btcolsesm").src="/images/sm/gclose.gif";
		document.getElementById("btcolsesm").alt="合起";
	}
	else
	{
		document.getElementById("contentsm").style.display='none';
		document.getElementById("sm").style.height=27+'px';
		document.getElementById("btcolsesm").src="/images/sm/zclose.gif";
		document.getElementById("btcolsesm").alt="展开";
	}
}
function csm()
{
	document.getElementById("sm").style.display='none';
}
moveRRsm();
