// JScript File try { var b_divTop,b_divLeft,b_divWidth,b_divHeight,b_docHeight,b_docWidth,b_objTimer; function b_getMsg() { b_divTop = parseInt(document.getElementById("newMessageBox").style.top,10); b_divLeft = parseInt(document.getElementById("newMessageBox").style.left,10); b_divHeight = parseInt(document.getElementById("newMessageBox").offsetHeight,10); b_divWidth = parseInt(document.getElementById("newMessageBox").offsetWidth,10); b_docWidth = document.body.clientWidth; b_docHeight = document.body.clientHeight; document.getElementById("newMessageBox").style.top = parseInt(document.body.scrollTop,10) + b_docHeight + 10; document.getElementById("newMessageBox").style.left = parseInt(document.body.scrollLeft,10) + b_docWidth - b_divWidth; document.getElementById("newMessageBox").style.visibility="visible"; b_objTimer = window.setInterval("b_moveDiv()",10); } function b_resizeDiv() { try { if(document.getElementById("newMessageBox").style.visibility=="visible") { b_divHeight = parseInt(document.getElementById("newMessageBox").offsetHeight,10); b_divWidth = parseInt(document.getElementById("newMessageBox").offsetWidth,10); b_docWidth = document.body.clientWidth; b_docHeight = document.body.clientHeight; document.getElementById("newMessageBox").style.top = b_docHeight - b_divHeight + parseInt(document.body.scrollTop,10); document.getElementById("newMessageBox").style.left = b_docWidth - b_divWidth + parseInt(document.body.scrollLeft,10); } } catch(e){} } function b_moveDiv() { try { if(parseInt(document.getElementById("newMessageBox").style.top,10) <= (b_docHeight - b_divHeight + parseInt(document.body.scrollTop,10))) { window.clearInterval(b_objTimer); b_objTimer = window.setInterval("b_resizeDiv()",1); } b_divTop = parseInt(document.getElementById("newMessageBox").style.top,10); document.getElementById("newMessageBox").style.top = b_divTop - 1; } catch(e){} } function closeDiv() { document.getElementById('newMessageBox').style.visibility='hidden'; if(b_objTimer) window.clearInterval(b_objTimer); } function openWebIM() { window.open("http://wim.yeeyoo.com/mainForm.aspx","YY_WebIM","width=700,height=420,resizable=yes,toolbar=no"); } document.write("\n"); document.write("\n"); document.write("\n"); function openWin() { var currentURL = document.URL; window.open('http://user.yeeyoo.com/cusservice/index.jsp?currentURL='+currentURL,'newwindow','height=610,width=778,top=400,left=400,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); } document.write("
\n"); document.write("
\n"); document.write("

\n"); document.write("

找朋友,上亿友!

\n"); document.write("
\n"); document.write("
\n"); document.write("
10520位亿友当前在线,超过1200万帅哥靓女已加入亿友网!      建议 | 客服 | 帮助 | 设为首页 | 加入收藏
\n"); document.write("
\n"); document.write("
\n"); document.write("
    \n"); document.write("
  • \n"); document.write("
  • 首页
  • \n"); document.write("
  • \n"); document.write("
  • 搜友
  • \n"); document.write("
  • \n"); document.write("
  • 精彩空间
  • \n"); document.write("
  • \n"); document.write("
  • 征友启示
  • \n"); document.write("
  • \n"); document.write("
  • 在线会员
  • \n"); document.write("
  • \n"); document.write("
      \n"); document.write("
\n"); document.write("
\n"); document.write("
    \n"); document.write("
  • 社区
  • \n"); document.write("
  • 新人秀
  • \n"); document.write("
  • \n"); document.write("
    \n"); document.write(" \n"); document.write("
    \n"); document.write("
  • \n"); document.write("
  • 排行榜
  • \n"); document.write("
      \n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); document.write("
\n"); document.write("
\n"); var marqueeContent=new Array(5); marqueeContent[0]="新增6款音乐播放器皮肤 [7月15日]"; marqueeContent[1]="空间模版自定义上线拉! [7月16日]"; marqueeContent[2]="亿友积分功能上线![7月18日]"; marqueeContent[3]="关注TA的新鲜事上线拉! [7月23日]"; marqueeContent[4]="【七夕.诗文颂】征文赛开始[7月23日]"; var marqueeInterval=new Array(); var marqueeId=0; var marqueeDelay=2500; var marqueeHeight=20; function initMarquee() { var str=marqueeContent[0]; document.write("
"+str+"
"); marqueeId++; marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay); } function startMarquee() { var str=marqueeContent[marqueeId]; marqueeId++; if(marqueeId>=marqueeContent.length) marqueeId=0; if(marqueeBox.childNodes.length==1) { var nextLine=document.createElement('DIV'); nextLine.innerHTML=str; marqueeBox.appendChild(nextLine); } else { marqueeBox.childNodes[0].innerHTML=str; marqueeBox.appendChild(marqueeBox.childNodes[0]); marqueeBox.scrollTop=0; } clearInterval(marqueeInterval[1]); marqueeInterval[1]=setInterval("scrollMarquee()",1); } function scrollMarquee() { marqueeBox.scrollTop++; if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){ clearInterval(marqueeInterval[1]); } } initMarquee(); document.write("\n"); document.write("
\n"); document.write("
\n"); var firstrun=true; function username_click(obj) { if(firstrun) { firstrun=false; obj.value=""; } } function isInteger(value) { var tmp = parseInt(value); if (isNaN(tmp)) { return false; } else if (tmp.toString() == value) { return true; } else { return false; } } function check_loginform(obj) { var err_input=false; var v=obj.identity.value; if(v.length<1) err_input=true; if(v.indexOf("@")<1&&!isInteger(v)) err_input=true; if(err_input) { alert("请输入您注册的电子邮件地址或者手机号码进行登录!"); obj.identity.focus(); return false; } else return true; } function check_loginform_new(obj) { var v=obj.identity.value; var pwd = obj.pwd.value; if(v.length<1||v=="用户名/电子邮件/手机号") { alert("请输入您注册的用户名,电子邮件地址或者手机号码进行登录!"); obj.identity.focus(); return false; } else if(pwd.length<1){ alert("请输入您的登录密码进行登录!"); obj.pwd.focus(); return false; } else return true; } function submit_form() { document.loginform.url.value = location.href; if (check_loginform_new(document.loginform)) { if (document.getElementById("autologin").checked) { document.loginform.maxAge.value="2592000"; } else { document.loginform.maxAge.value="-1"; } document.loginform.submit(); }else{ return false; } } function KeyDown() { if (event.keyCode == 13) { submit_form() } } var islogin = false; var login_flag = 0; var d = parent.document; document.write("
\n"); document.write("帐号:\n"); document.write("\n"); document.write("密码:\n"); document.write("\n"); document.write("\n"); document.write("注册 忘记密码\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write(" \n"); document.write("\n"); document.write("
\n"); document.write("\n"); document.write(""); document.write("
\n"); document.write("
\n"); var username000 = ""; var userrole000 = ""; var usernl = ""; var userwz = ""; var userphoto=""; //亿友娱乐(中国)有限公司即时消息通知 //2006-04-28 by Software Depart. //flash 响应 function loginFlash(vip_name,b_name,dp_url,xb,speak_info,vip_boolean,f_name,lei,nl,wz,photo_url) { try { //接收用户id if(b_name!="") document.getElementById("myFlash").SetVariable("b_name", b_name); //地盘url if(dp_url!="") document.getElementById("myFlash").SetVariable("dp_url", dp_url); //性别 1女 2男 if(xb!="") document.getElementById("myFlash").SetVariable("xb", xb); //消息内容 if(speak_info!="") document.getElementById("myFlash").SetVariable("speak_info", speak_info); //是否vip if(vip_boolean!="") document.getElementById("myFlash").SetVariable("vip_boolean", vip_boolean); //用户呢称 if(f_name!="") document.getElementById("myFlash").SetVariable("f_name", f_name); //设置值1:接收所有消息2:只接收个人消息3:暂停所有消息接收 var shezhi = flash_getcookie("webim_shezhi"); if(shezhi!=null) document.getElementById("myFlash").SetVariable("shezhi", shezhi); //触发类别1访问地盘2好友上线3新消息通知4新的点评5聊天通知6vip会员在线速配 //lei=1 参数:vip_name b_name xb //lei=2 参数:vip_name b_name //lei=3 参数:b_name //lei=4 参数:b_name //lei=5 参数:vip_name b_name xb speak_info //lei=6 参数:图片photo_url1~6 人名vip_name1~6 城市vip_city1~6 图片链接地址vip_url1~6 //--后加的 if(nl!="") document.getElementById("myFlash").SetVariable("nl", nl); if(wz!="") document.getElementById("myFlash").SetVariable("wz", wz); if(photo_url!="") document.getElementById("myFlash").SetVariable("photo_url", photo_url); //------------ document.getElementById("myFlash").SetVariable("lei", lei); //当前操作用户id if(vip_name!="") document.getElementById("myFlash").SetVariable("vip_name", vip_name); } catch(E) { //alert("loginFlash:"+E.description); } } //只是连接 function flash_login(vip_name,xb,f_name,vip_boolean,nl,wz,photo_url) { loginFlash(vip_name,"","",xb,"",vip_boolean,f_name,0,nl,wz,photo_url); //alert("flash_login:(已连接)"+f_name); } //访问地盘 function flash_fwdp(vip_name,b_name,dp_url) { loginFlash(vip_name,b_name,dp_url,"","","","",1,"","",""); //alert("vip_name:"+vip_name+" b_name:"+b_name); } //好友上线 function flash_hysx(vip_name,b_name) { loginFlash(vip_name,b_name,"","","","","",2,"","",""); //alert("vip_name:"+vip_name+" b_name:"+b_name); } //新消息 function flash_xsx(vip_name,b_name) { loginFlash(vip_name,b_name,"","","","","",3,"","","","") } //新点评 function flash_xdp(b_name) { loginFlash("",b_name,"","","","","",4,"","","","") } //聊天通知 function flash_lttz(vip_name,b_name,f_name,speak_info) { loginFlash(vip_name,b_name,"","",speak_info,"",f_name,5,"","","","") } //vip会员在线速配 users为数组[6][4]维 function flash_zxsp(users) { try { for(var i=0;i<6;i++) { var num = (i+1).toString(); document.getElementById("myFlash").SetVariable("photo_url"+num, users[i][0]); document.getElementById("myFlash").SetVariable("vip_name"+num, users[i][1]); document.getElementById("myFlash").SetVariable("vip_city"+num, users[i][2]); document.getElementById("myFlash").SetVariable("vip_url"+num, users[i][3]); //alert("1:"+users[i][0]+"2:"+users[i][1]+"3:"+users[i][2]+"4:"+users[i][3]); } } catch(E) { //alert("flash_zxsp:"+E.description); } var shezhi = flash_getcookie("webim_shezhi"); if(shezhi!=null) document.getElementById("myFlash").SetVariable("shezhi", shezhi); document.getElementById("myFlash").SetVariable("lei", 6); } //连接状态设置0断开1连接2重新连接 function flash_connect(live) { //0断开1连接2重新连接 try { document.getElementById("myFlash").SetVariable("live", live); } catch(E) { //alert("flash_connect:"+E.description); } } //写出flash //div id: webIM_Flash //flash id: myFlash function flash_writeFlash() { document.write("
"); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write("
"); // alert("flash_writeFlash"); } //定位flash 窗口右下角 function flash_moveFlash() { try{ /* var divHeight = 300; var divWidth = 300; var docWidth = document.body.clientWidth; var docHeight = document.body.clientHeight; document.getElementById("webIM_Flash").style.position = "absolute"; document.getElementById("webIM_Flash").style.top = docHeight - divHeight ; document.getElementById("webIM_Flash").style.left = docWidth - divWidth ; */ var divHeight = 300; var divWidth = 300; var docWidth = document.documentElement.clientWidth; var docHeight = document.documentElement.clientHeight; var webFlash =document.getElementById("webIM_Flash"); webFlash.style.position = "absolute"; webFlash.style.top = (docHeight - divHeight)+"px" ; webFlash.style.left = (docWidth - divWidth)+"px" ; } catch(E) { //alert("flash_moveFlash:"+E.description); } flash_mymoveFlash(); } //如果滚动条 function flash_mymoveFlash() { //document.getElementById("webIM_Flash").style.position = "absolute"; //document.getElementById("myFlash").style.position = "absolute"; document.getElementById("webIM_Flash").style.top=(document.documentElement.clientHeight+document.documentElement.scrollTop-320)+"px"; document.getElementById("webIM_Flash").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-320)+"px"; document.getElementById("myFlash").style.top=(document.documentElement.clientHeight+document.documentElement.scrollTop-320)+"px"; document.getElementById("myFlash").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-320)+"px"; setTimeout("flash_mymoveFlash();",50); } /* function flash_mymoveFlash() { var flashTop = parseInt(document.getElementById("webIM_Flash").style.top); if(flashTop !=document.body.scrollHeight-300){ document.getElementById("webIM_Flash").style.top=document.body.scrollTop+document.body.offsetHeight-315; document.getElementById("webIM_Flash").style.left=document.body.scrollLeft+document.body.offsetWidth-340; }else{ //document.getElementById("webIM_Flash").style.top=flashTop -340; } setTimeout("flash_mymoveFlash();",50); } */ //cookie保存时间是3个小时 var expdays=3; var exp=new Date(); exp.setTime(exp.getTime()+(expdays*60*60*1000)); //获取该访问者的已访问次数 function flash_getCookieVal(offset) { var endstr=document.cookie.indexOf(";",offset); if (endstr==-1) endstr=document.cookie.length; return unescape(document.cookie.substring(offset,endstr)); } //截取Cookie中的name信息段 function flash_getcookie(name) { var arg=name+"="; var alen=arg.length; var clen=document.cookie.length; var i=0; while (i2)?argv[2]:null; var path=(argc>3)?argv[3]:null; var domain=(argc>4)?argv[4]:null; var secure=(argc>5)?argv[5]:false; document.cookie=name+"="+escape(value) +((expires==null)?" ":(";expires="+expires.toGMTString())) +((path==null)?" ":(";path="+path)) +((domain==null)?" ":(";domain="+domain))+((secure==true)?";secure":" "); } //使该信息行失效,删除该用户关于访问次数的信息 function flash_deletecookie(name) { var exp=new Date(); exp.setTime(exp.getTime()-1); var cval=flash_getcookie(name); document.cookie=name+"="+cval+";expires="+exp.toGMTString(); } //webim_shezhi 表示flash中设置是否弹出消息1接收所有消息2只接收个人消息3暂停接收消息 var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; function myFlash_DoFSCommand(command, args) { var myFlashObj = InternetExplorer ? myFlash : document.myFlash; flash_setcookie("webim_shezhi",args,exp); //如果是暂停所有消息,就是断开flash if(args==3) flash_connect(0); } if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) { document.write('