顶部广告代码


<SCRIPT language="JavaScript"><!--
today=new Date();
jran=today.getTime();
function rnd() {
    ia=9301;
    ic=49297;
    im=233280;
    jran = (jran*ia+ic) % im;
    return jran/(im*1.0);
};
function rand(number) {
    return Math.ceil(rnd()*number);
};
document.write("<CENTER>");
for(i=1;i<=1;i++) {

myNum=(rand(3));
//please adjust the number here, the number "3" mean three pieces.

if(myNum == 1) document.write("<img src='images/banner/webbanner1.jpg'>");
if(myNum == 2) document.write("<img src='images/banner/webbanner2.jpg'>");
if(myNum == 3) document.write("<img src='images/banner/webbanner3.jpg'>");

//Add or Remove above sentences up to the pieces of BANNER. Something behind “src” is the  save location of BANNER.

    else {
document.write();
}
};
document.write("</CENTER>");
//-->
</SCRIPT>

文章来自: Original
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 5 | 引用: 0 | 查看次数: 968
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭