var html;
html = "<div id=\"msn\" style=\"Z-INDEX:99999; BACKGROUND-IMAGE:url(images/yeesoho00.jpg);  WIDTH:284px; POSITION:absolute; HEIGHT:195px; \">";
html +="<table width=\"284\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
html +="<tr><td height=\"19\" width=\"284\" style=\"cursor:pointer;\" onclick=\"openWin()\"> <\/td>";
html +="<td style=\"PADDING-TOP:0px; font-size:12px; cursor:pointer\" valign=\"middle\" width=\"60\" onclick=\"closeDiv()\" align=\"right\" >&nbsp;<\/td>";
html +="<\/tr><tr><td colspan=\"3\" height=\"176\"  style=\"cursor:pointer;PADDING-RIGHT:1px;PADDING-BOTTOM:1px\"   onclick=\"openWin()\" >&nbsp;" ;
html +="<\/td><\/tr><\/table><\/div>";

document.writeln(html);
MoveLeftLayer('msn');
function MoveLeftLayer(layerName) {
var x = 1;
var y = document.documentElement.clientHeight-190;// 右侧广告距离页首高度
var diff = (document.documentElement.scrollTop + y - document.all.msn.style.posTop)*.40;
var y = document.documentElement.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('msn');", 20);
}
function closeDiv(){
	msn.style.visibility='hidden';
}
function openWin()
{
	window.open("http://www.yeesky.net/200812/dmre/v20cuxiao.html");	
}














function openWin2()
{
	window.open("http://www.yeesky.net/200812/reji/cuxiao.html");	
}
var htmlPromotion;
htmlPromotion = "<div id=\"promotion\" style=\"Z-INDEX:99999; WIDTH:22px; POSITION:absolute; HEIGHT:196px; \"><table id=\"TABLE\" width=\"21\" height=\"200\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
htmlPromotion += "<tr><td style=\"cursor:pointer\" onclick=\"openWin2()\">";
htmlPromotion += "<img src=\"images/cuxiao_01.jpg\" width=\"21\" height=\"178\" alt=\"\">";
htmlPromotion += "</td></tr><tr><td style=\"cursor:pointer\" onclick=\"closeDivPromotion()\">";
htmlPromotion += "<img src=\"images/cuxiao_02.jpg\" width=\"21\" height=\"18\" alt=\"\">";
htmlPromotion += "</td></tr></table></div>";

document.writeln(htmlPromotion);
MoveRightLayer('promotion');
function MoveRightLayer(layerName) {
var x = 1;
var y = document.documentElement.clientHeight-196;// 右侧广告距离页首高度
var diff = (document.documentElement.scrollTop + y - document.all.msn.style.posTop)*.40;
var y = document.documentElement.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('promotion');", 20);
}
function closeDivPromotion(){
	promotion.style.visibility='hidden';
}
