📄 as.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>YOK 超级搜索首页</title>
<script type="text/javascript">
function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
function change(thisno)
{
if (thisno == -99)
return false;
self.location.href=thisno;
}
</script>
<script type="text/javascript">
k=document;
v=Date;
x=false;
z=Array;
af=Math.floor;
ag=RegExp;
b=new z(12);
s=new z("null","web","mp3","video","software","images","book","news","forum","game","shopping","life");
aa=new z(11);
ab=10;t=0;u=0;n=0;o=new v();h=5;
m=385;c=0;w=x;
var title;
var firstHoverOccurred=x;
m=385;
p=0;
function d(ac){
c=ac;o=new v();
setTimeout("gidle()",20);
}
function e(ac){
c=0;w=x;
o=new v();
setTimeout("gidle()",20);
}
function ae(){
for(var j=1;j<b.length;j++){
b[j]=40
}
title=k.getElementById('imageTitle');
for(i=0;i<b.length;i++){
aa[i]=new Image();
aa[i].src="images/"+s[i+1]+".gif"
}
setTimeout("gidle()",20);}
function gidle(){
var l=0;for(var i=1;i<b.length;i++){
var imagename="image"+i;
var imageElem=k.getElementById(imagename);
if(c!=i){if(b[i]>40){b[i]-=h;
if(b[i]<=40){b[i]=40;
imageElem.src="images/"+s[i]+"-sm.gif"
}
imageElem.width=b[i];
imageElem.height=b[i];
imageElem.className="imgb"
if(c==0){
var g=af(255-255*(b[i]-40)/40);
}
p=1}l+=b[i]}}
if(c!=0&&b[c]<55){imagename="image"+c;imageElem=k.getElementById(imagename);
if(w==x){w=true;if(c<6){var y=355-(c-1)*55;
}
else{var y=(c-7)*55+55;
}}
b[c]+=h;
p=1;
if(b[c]>55){b[c]=55}
l+=b[c];
if(l<m){b[c]+=m-l;
if(b[c]>55){b[c]=55}l=m}
var g=af(255-255*(b[c]-35)/35);
imageElem.width=b[c];
imageElem.height=b[c];
k.getElementById(imagename).src="images/"+s[c]+".gif"
k.getElementById(imagename).className="imga"
}m=l;
var ad=new v();
ab=ad.getTime()-o.getTime();
o=ad;
t+=ab;
u++;
n=t/u;
h=5;
if(u>4){
if(n>30){h=10}
if(n>55){h=15}
if(n>90){h=20}}
if(p){setTimeout("gidle()",20);
p=0}
}
function chgSE(S){
document.getElementById("SElogo").src="images/"+S
}
function selRadio(S,N){
var K=document.getElementById("SelSe")
var R=K.getElementsByTagName("input")
R[N-1].checked="checked"
chgSE(S)
//document.sFrm.submit()
}
function init265Mail(){
var sMail=GetCookie("My265Mail");
if (sMail!="") {
var oSel=$("MailBox");
for (var i=0;i<oSel.length;i++){
if (oSel[i].value==sMail) {
oSel[i].selected=true;
return(false);
}
}
}
}
function SetCookie(name,value){
var argv=SetCookie.arguments;
var argc=SetCookie.arguments.length;
var expires=(2<argc)?argv[2]:null;
var path=(3<argc)?argv[3]:null;
var domain=(4<argc)?argv[4]:null;
var secure=(5<argc)?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 $(o){
var o=document.getElementById(o)?document.getElementById(o):o;
return o;
}
function check(i){
if(i.MailBox.options.selectedIndex==0){
alert("提示:请正确选择你使用的邮箱");
return false;
} else {
var expdate=new Date();
expdate.setTime(expdate.getTime()+(24*60*60*1000*30));
SetCookie("My265Mail",i.MailBox.value,expdate,"/","yok.com",false);
}
if(i.Username.value=="" || i.Username.value=="请在此输入您的用户名"){
alert("提示:邮箱用户名必须填写!");
i.Username.focus();
return false;
}
if(i.Password.value=="" || i.Password.value.length<3){
alert("提示:邮箱密码必须填写完整!");
i.Password.focus();
return false;
}
var MailList = new Array();
MailList["26500"]=new Array("https://edit.bjs.yahoo.com/config/login","login","passwd",".done,http://edit.bjs.yahoo.com/config/mail?.intl=cn; .intl,cn; .src,ym",".my265");
MailList["26501"]=new Array("http://reg.163.com/in.jsp?url=http://fm163.163.com/coremail/fcg/ntesdoor2?language=0&style=1","username","password");
MailList["26502"]=new Array("http://vip.163.com/logon.m","username","password","enterVip,true; style,");
MailList["26503"]=new Array("http://entry.126.com/cgi/login","user","pass","domain,126.com; language,0; bCookie,");
MailList["26504"]=new Array("http://mail.sina.com.cn/cgi-bin/login.cgi","u","psw","logintype,uid; product,mail");
MailList["26505"]=new Array("http://vip.sina.com.cn/cgi-bin/login.cgi","user","pass");
MailList["26506"]=new Array("http://passport.sohu.com/login.jsp","loginid","passwd","fl,1; vr,1|1; appid,1000; ru,http://login.mail.sohu.com/servlet/LoginServlet; eru,http://login.mail.sohu.com/login.jsp; ct,1173080990; sg,5082635c77272088ae7241ccdf7cf062","@sohu.com");
MailList["26507"]=new Array("http://passport.sohu.com/login.jsp","loginid","passwd","fl,1; vr,1|1; appid,1013; ru,http://vip.sohu.com/login/viplogin11.jsp; eru,; ct,1173857434; sg,885ebb7884194ee547f224fc8a6a5877","@vip.sohu.com");
MailList["26508"]=new Array("http://passport.21cn.com/maillogin.jsp","LoginName","passwd","NeedMoreSecurity,on; NeedIpCheck,on");
MailList["26509"]=new Array("http://g2wm.263.net/xmweb","usr","pass","domain,263.net; func,login");
MailList["26510"]=new Array("http://bjweb.163.net/cgi/163/login_pro.cgi","user","pass","type,0; style,10");
MailList["26511"]=new Array("http://mail.china.com//coremail/fcg/login","user","pass");
MailList["26512"]=new Array("http://reg.mail.188.com/servlet/coremail/login","user","pass","domain,188.com; language,0; style,-1");
MailList["26513"]=new Array("http://edit.bjs.yahoo.com/config/login","login","passwd",".intl,cn; .done,http://mail.yahoo.com");
MailList["26515"]=new Array("https://www.google.com/accounts/ServiceLoginAuth","Email","Passwd","continue,http://mail.google.com/mail?zy=l; service,mail; hl,zh-CN");
var iMail = i.MailBox.value;
var UserName = $("Username").value;
if (MailList[iMail] != null) {
var cMail = MailList[iMail];
i.action = cMail[0];
$("Username").name = cMail[1];
$("Password").name = cMail[2];
if (cMail[3] != null) {
var aPairs = cMail[3].split("; ");
for (var j=0; j< aPairs.length; j++) {
var aPair = aPairs[j].split(",");
var el = document.createElement("INPUT");
el.type="hidden";
el.name=aPair[0];
el.value=aPair[1];
$("MailCheck").appendChild(el);
}
}
if (cMail[4] != null)
$("Username").value = UserName + cMail[4];
} else {
alert("请选择正确的邮箱!");
}
i.submit();
$("Username").value = UserName;
$("Password").value = "";
}
function clearInp(o){
if (o.className=="s_input"){
o.className="b_input";
o.value="";
}
}
</script>
<link type="text/css" rel="stylesheet" href="style.css" />
</head>
<body onload="ae();document.getElementById('i_keyword').focus()">
<div id="layout">
<div id="top">
<div class="l ll"></div>
<div class="r rr"><div id="Fav">
<a href="/newversion.php"></font color=red>使用简洁版YOK</font></a><br />
<a href="" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yok.com');return(false);" style="behavior: url(#default#homepage)">设置YOK为首页</a><br /></div></div>
<div class="m mm"></div>
</div>
<div id="dock">
<div class="l ll">
<h2>我要搜:</h2>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -