document.write("
")
var ifweather=true
var menu=[{main:{txt:"易索红榜",url:"/inc_Fun/Top100.asp"},sub:[{txt:"易索财主",url:"/inc_Fun/Top100.asp"},{txt:"易索水王",url:"/inc_Fun/Top100.asp?m_id=1"},{txt:"易索劳模",url:"/inc_Fun/Top100.asp?m_id=2"},{txt:"易索车王",url:"/inc_Fun/Top100.asp?m_id=3"},{txt:"改名狂人",url:"/inc_Fun/Top100.asp?m_id=4"},{txt:"每日水王",url:"/inc_Fun/Top100.asp?m_id=5"},{txt:"每日劳模",url:"/inc_Fun/Top100.asp?m_id=6"}]},{main:{txt:"x 档案",url:"http://x.isso.com.cn"},sub:[{txt:"体育竞猜",url:"http://x.isso.com.cn/bet"},{txt:"删贴查询",url:"http://x.isso.com.cn/club"},{txt:"易索竞拍",url:"http://x.isso.com.cn/auction/"},{txt:"兑换中心",url:"http://x.isso.com.cn/coinTrans/coinTrans.asp"},{txt:"易索乐园",url:"http://k.isso.com.cn"}]},{main:{txt:"易索乐园",url:"http://k.isso.com.cn"},sub:[{txt:"中国象棋",url:"http://k.isso.com.cn/userapp.php?id=1054198"},{txt:"社区便利店",url:"http://k.isso.com.cn/userapp.php?id=1053282"},{txt:"海底总动员",url:"http://k.isso.com.cn/userapp.php?id=1048438"},{txt:"创世纪2012",url:"http://k.isso.com.cn/userapp.php?id=1051195"},{txt:"开心农场",url:"http://k.isso.com.cn/userapp.php?id=1021978"},{txt:"倾城",url:"http://k.isso.com.cn/userapp.php?id=1053201"},{txt:"开心斗地主",url:"http://k.isso.com.cn/userapp.php?id=1028245"},{txt:"快打旋风",url:"http://k.isso.com.cn/userapp.php?id=1044189"},{txt:"麻辣校长",url:"http://k.isso.com.cn/userapp.php?id=1049229"},{txt:"三十六计",url:"http://k.isso.com.cn/userapp.php?id=1044490"}]},{main:{txt:"信息查询",url:""},sub:[{txt:"公交信息",url:"http://www.nbbus.com/serve.asp"},{txt:"航班查询",url:"http://www.ningbo-airport.com/web/Hangban_plan.aspx"},{txt:"长途查询",url:"http://www.nbgy.com/fwzc/QueryBus.aspx"},{txt:"长途订票",url:"http://dzsw.nbgy.com/"},{txt:"交通违法",url:"http://221.136.70.13:8080/index.jsp"}]}]
//主菜单
for (var i=0;i"+menu[i].main.txt+"")
main.appendTo($("#menu"))
}
var city=["北京","上海","天津","重庆","杭州","宁波","温州","舟山","海口","厦门","南京","苏州","三亚","青岛","大连","丽江","广州","拉萨","绍兴","金华"]
$(function(){
var popClock,todayClock
var info={};
info.city=function(){
var x=""
for (var i=0;i"+city[i]+""
}
else{
x+=""+city[i]+"
"
}
}
return x
}
info.popup=function(objthis,text,delayTime,width,height,bgcolor,fontcolor,left,top,tm,padding,ud){
if (tm==undefined)
tm=0.9 //默认透明度
if (padding==undefined)
padding=5 //默认5像素
if (ud==undefined)
ud=0 //默认0往下,1网上,其他数字,则直接去top
objthis.find(".box_1").stop(true,true);
var p_box=$("")
function a(){
p_box.css({position:"absolute",background:bgcolor,padding:padding})
if (width>0)
p_box.css({width:width})
if (height>0)
p_box.css({height:height})
var txt=$("").html(text).css({color:fontcolor}).appendTo(p_box);
var box_p=objthis.css({position:"relative"});
p_box.appendTo(box_p).css({opacity:0}).show()
//var h=p_box.height();
var h
//alert(ud)
if (ud==0)
h=objthis.height()
else if (ud==1)
h=-(p_box.height()+(padding+1)*2);
else
h=0
//=(objthis.height())
//alert (h)
p_box.css({left:left,top:h+top}).fadeTo("normal",tm)
p_box.hover(function(){
$(this).stop().fadeTo("normal",1)
},function(){
$(this).stop().fadeTo("normal",tm)
})
}
if (delayTime>0){
popClock=setTimeout(a,delayTime)}
else{
a()
}
return p_box
}
info.popdown=function(objthis){
clearTimeout(popClock);
var box_p=objthis
var box=box_p.find(".box_1")
box.unbind().stop()
box.fadeOut("slow",function(){
box_p.css({position:"static"})
box.hide().remove()
})
}
info.weatherimg=function(img,size){
return "http://club.isso.com.cn/inc_Fun/image/weather/"+size+"_"+img
}
info.weather=function(){
var x=$("")
for (var i=1;i div").clone()
tmp.find(".weatherimg img:eq(0)").attr("src",info.weatherimg(weather[i].img[0],"b"))
tmp.find(".weatherimg img:eq(1)").attr("src",info.weatherimg(weather[i].img[1],"b"))
tmp.find(".txtline:eq(0)").text(weather[0].city+" "+weather[i].txt[0])
tmp.find(".txtline:eq(1)").text("最高/最低气温:"+weather[i].txt[1])
tmp.find(".txtline:eq(2)").text("风向/风力:"+weather[i].txt[2])
tmp.appendTo(x)
}
return x
}
var weather
var weather_x
var tw=$("#temp")
var itw=0,today
info.show=function(){
today=weather[0].today
$("#city").text(weather[0].city)
$("#time").text(weather[0].time)
//tw.text(today[itw])
weather_x=info.weather().html()+"[关闭气象功能]
"
}
info.today=function(i){
//tw.fadeOut("normal",function(){
tw.text(today[i])
// tw.fadeIn("normal",function(){
// })
//})
}
function a(){
if (itw>=today.length)
itw=0
info.today(itw)
itw++
}
$(".main").hover(function(){
var id=$(".main").index($(this))
var x=""
for (var i=0;i