document.write("<style type=text/css>#master {LEFT: -100px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 200px; Z-INDEX: 2}#menu {LEFT: 100px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 18px; Z-INDEX: 5}#top {LEFT: 0px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}#screen {LEFT: 0px; POSITION: absolute; TOP: 31px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}#screenlinks {LEFT: 0px; POSITION: absolute; TOP: 31px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}</style>")
var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0
if(ie){
document.write('<style type="text/css">')
document.write("#screen{filter:Alpha(Opacity=30);}")
document.write("</style>")
}
if(ns){
document.write('<style type="text/css">')
document.write("#master{clip:rect(0,150,250,0);}")
document.write("</style>")
}


var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0


var master = new Object("element")
master.curLeft = -100;master.curTop = 10;
master.gapLeft = 0;master.gapTop = 0;
master.timer = null;

function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){
clearTimeout(eval(layerName).timer)

if(eval(layerName).curLeft != fromLeft){
   if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}
else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}
else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}
if(ie){document.all[layerName].style.left = eval(layerName).curLeft}
if(ns){document[layerName].left = eval(layerName).curLeft}
}

if(eval(layerName).curTop != fromTop){
   if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}
else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}
else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}
if(ie){document.all[layerName].style.top = eval(layerName).curTop}
if(ns){document[layerName].top = eval(layerName).curTop}
}


eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)
}

function setPace(layerName, fromLeft, fromTop, motionSpeed){
eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed
eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed

moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)
}

var expandState = 0

function expand(){
if(expandState == 0){setPace("master", 0, 10, 10); if(ie){document.menutop.src = "http://wave.prohosting.com/v5/non-cgi/images/menub2.gif"}; expandState = 1;}
else{setPace("master", -100, 10, 10); if(ie){document.menutop.src = "http://wave.prohosting.com/v5/non-cgi/images/menu2.gif"}; expandState = 0;}
}

document.write("<div id=master><div id=menu onmouse=\"javascript:expand()\"><table border=0 cellpadding=0 cellspacing=0 width=18><tbody><tr><td width=\"100%\"><a href=\"javascript:expand()\" onFocus=this.blur()><img alt=点击这里展开/关闭快捷菜单 border=0 height=70 name=menutop src=\"http://wave.prohosting.com/v5/non-cgi/images/menu2.gif\" width=18></a></td></tr></tbody></table></div><div id=top><table border=0 cellpadding=0 cellspacing=0 width=100><tbody><tr><td width=\"100%\"><img border=0 height=6 src=\"http://wave.prohosting.com/v5/non-cgi/images/top2.gif\"  width=100></td> </tr></tbody></table></div><div id=screen onmouseout=\"javascript:expand()\"><table border=0 cellpadding=5 cellspacing=0 width=100><tbody><tr><td bgcolor=#233476 width=\"100%\"><table bgcolor=#000000 border=0 cellpadding=0 cellspacing=0 width=\"100%\" height=155<tbody><tr><td width=\"100%\"><table border=0 cellpadding=5 cellspacing=1 width=\"100%\"><tbody><tr> <td bgcolor=#e3e3e3 width=\"100%\"><br><br><br><br><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div><div id=screenlinks ><table border=0 cellpadding=6 cellspacing=0 width=100><tbody><tr><td style=\"FILTER: alpha(opacity=90)\" width=\"100%\"><table bgcolor=#990000 border=0 cellpadding=0 cellspacing=0 width=\"100%\" ><tbody> <tr><td width=\"100%\"><table border=0 cellpadding=6 cellspacing=1 width=\"100%\"><tbody><tr><td bgcolor=#e3e3e3 width=\"100%\" align=\"center\"><font color=#blue>人在旅途社区<br>服务导航</font><br><br>├<a href=\"give.cgi\" target=\"_blank\">社区办公</a></a><br>├<a href=\"bank.cgi\" target=\"_blank\">社区银行</a><br>├<a href=\"fight.cgi\" target=\"_blank\">比武大会</a><br>├<a href=\"race.cgi\" target=\"_blank\">无敌赛马</a><br>├<a href=\"lottery1.cgi\" target=\"_blank\">彩票中心</a><br>├<a href=\"prison.cgi\" target=\"_blank\">社区监狱</a><br>├<a href=\"church.cgi\" target=\"_blank\">社区教堂</a><br>├<a href=\"gift.cgi\" target=\"_blank\">礼品超市</a><br>├<a href=\"lbbuy.cgi\" target=\"_blank\">社区商店</a><br>├<a href=\"marry.cgi\" target=\"_blank\">婚姻登记</a><br>├<a href=\"moercom.cgi\" target=\"_blank\">商业中心</a><br>├<a href=\"song.cgi\" target=\"_blank\">社区点歌</a><br>├<a href=\"club.cgi\" target=\"_blank\">社区赌场</a><br>├<a href=\"exchange.cgi\" target=\"_blank\">福利中心</a><br>├<a href=\"restaurant.cgi\" target=\"_blank\">社区餐厅</a><br>├<a href=\"day.cgi\" target=\"_blank\">私人日记</a><br>├<a href=\"story.cgi\" target=\"_blank\">故事接龙</a><br>├<a href=\"moerss.cgi\"target=\"_blank\">股票交易</a></td></tr></tbody></table></td></tbody></table></td></tr></tbody></table></div></div>");


if(ie){var sidemenu = document.all.master;}
if(ns){var sidemenu = document.master;}

function FixY(){
if(ie){sidemenu.style.top = document.body.scrollTop+10}
if(ns){sidemenu.top = window.pageYOffset+10}
}

setInterval("FixY()",100);
