document.writeln("<div id=\"msn\" style=\"BORDER-RIGHT:#455690 1px solid; BORDER-TOP:#a6b4cf 1px solid; Z-INDEX:99999;BORDER-LEFT:#a6b4cf 1px solid; WIDTH:364px; BORDER-BOTTOM:#455690 1px solid; HEIGHT:324px; BACKGROUND-COLOR:#c9d3f3\">");
document.writeln("<table>");
document.writeln("<tr>");
document.writeln("<td height=\"24\" width=\"340\" style=\"FONT-SIZE:12px;BACKGROUND-IMAGE:url(\/skin\/advt\/msn\/msgTopBg.gif);COLOR:#0f2c8c\" valign=\"middle\"><img src=\"\/skin\/advt\/msn\/msgLogo.gif\"  align=\"absMiddle\" vspace=\"1\"\/><\/td>");
document.writeln("<td width=\"16\"  align=\"right\" valign=\"middle\" style=\"BACKGROUND-IMAGE:url(\/skin\/advt\/msn\/msgTopBg.gif);PADDING-TOP:2px\"><div ><img src=\"\/skin\/advt\/msn\/msgClose.gif\"  style=\"CURSOR:pointer\" onClick=\"closeDiv()\" title=\"关闭\"\/><\/div><\/td>");
document.writeln("<\/tr>");
document.writeln("<tr>");
document.writeln("<td colspan=\"3\" >");
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=7,0,19,0\" width=\"360\" height=\"300\">");
document.writeln("  <param name=\"movie\" value=\"\/skin\/flash\/360300.swf\">");
document.writeln("  <param name=\"quality\" value=\"high\">");
document.writeln("  <embed src=\"\/skin\/flash\/360300.swf\" quality=\"high\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" type=\"application\/x-shockwave-flash\" width=\"360\" height=\"300\"><\/embed>");
document.writeln("<\/object><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table>");
document.writeln("<\/div>");

function closeDiv(){
	msn.style.visibility='hidden';
}
function scrollx(p){ 
var d = document,dd = d.documentElement,db = d.body,w = window,o = d.getElementById(p.id),ie6 = /msie 6/i.test(navigator.userAgent),style,timer; 
if(o){ 
o.style.cssText +=";position:"+(p.f&&!ie6?'fixed':'absolute')+";"+(p.l==undefined?'right:0;':'left:'+p.l+'px;')+(p.t!=undefined?'top:'+p.t+'px':'bottom:0'); 
if(p.f&&ie6){ 
o.style.cssText +=';left:expression(documentElement.scrollLeft + '+(p.l==undefined?dd.clientWidth-o.offsetWidth:p.l)+' + "px");top:expression(documentElement.scrollTop +'+(p.t==undefined?dd.clientHeight-o.offsetHeight:p.t)+'+ "px" );'; 
dd.style.cssText +=';background-image: url(about:blank);background-attachment:fixed;'; 
}else{ 
if(!p.f){ 
w.onresize = w.onscroll = function(){ 
clearInterval(timer); 
timer = setInterval(function(){ 
//双选择为了修复chrome 下xhtml解析时dd.scrollTop为 0 
var st = (dd.scrollTop||db.scrollTop),c; 
c = st - o.offsetTop + (p.t!=undefined?p.t:(w.innerHeight||dd.clientHeight)-o.offsetHeight); 
if(c!=0){ 
o.style.top = o.offsetTop + Math.ceil(Math.abs(c)/10)*(c<0?-1:1) + 'px'; 
}else{ 
clearInterval(timer); 
} 
},10) 

} 

} 
} 
} 
}
scrollx({ 
id:'msn' 

}) 
scrollx({ 
id:'bb', 
l:0, 
t:200, 
f:1 
}) 
/* 
id 你要滚动的内容的id 
l 横坐标的位置 不写为紧贴右边 
t 你要放在页面的那个位置默认是贴着底边 0是贴着顶边 
f 1表示固定 不写或者0表示滚动 
*/ 
