﻿
document.writeln("<style type=\"text\/css\"> ");
document.writeln("#msg_win{position:absolute; left:0px;display:none;overflow:hidden;z-index:99;border:1px solid #c00;background:#F9EFFC;width:200px;font-size:0px;margin:0px; padding-");
document.writeln("");
document.writeln("left:0px; margin-left:0px;}");
document.writeln("");
document.writeln("#msg_win .icos{position:absolute;}");
document.writeln(".icos a{float:left;color:#FF0000;}");
document.writeln("");
document.writeln("#msg_title{background:#AC19E3;border-bottom:1px solid #710B97;border-top:1px solid #FFF;border-left:1px solid #FFF;color:#FFFFFF;height:25px;line-height:25px;text-");
document.writeln("");
document.writeln("indent:5px;font-weight:bold;}");
document.writeln("#msg_content{margin:1px;margin-left:0;width:200px;height:239px;overflow:hidden;}");
document.writeln("<\/style>");
document.writeln("");
document.writeln("<div id=\"msg_win\" style=\"display:block;top:239px;visibility:visible;opacity:1;\">");
document.writeln("  <div class=\"icos\"><a id=\"msg_min\"><\/a><a id=\"msg_close\"><\/a><\/div>");
document.writeln("<div id=\"msg_content\"><a href=\"\/sp.html\" target=\"_blank\"><img src=\"\/images\/ppp2.gif\" alt=\"liaotian\" border=\"0\" \/><\/a><\/div>");
document.writeln("<\/div>");
document.writeln("<script language=\"javascript\"> ");
document.writeln("var Message={");
document.writeln("setOpacity: function(x) {\/\/设置透明度");
document.writeln("var v = x >= 100 ? \"\": \"Alpha(opacity=\" + x + \")\";");
document.writeln("this.win.style.visibility = x<=0?\"hidden\":\"visible\";\/\/IE有绝对或相对定位内容不随父透明度变化的bug");
document.writeln("this.win.style.filter = v;");
document.writeln("this.win.style.opacity = x \/ 100;");
document.writeln("},");
document.writeln("show: function() {\/\/渐显");
document.writeln("clearInterval(this.timer1);");
document.writeln("var me = this,fx = this.fx(0, 100, 0.1),t = 0;");
document.writeln("this.timer2 = setInterval(function() {");
document.writeln("t = fx();");
document.writeln("me.setOpacity(t[0]);");
document.writeln("if (t[1] == 0) {clearInterval(me.timer2)	}");
document.writeln("},6);\/\/10 to 6");
document.writeln("},");
document.writeln("fx: function(a, b, c) {\/\/缓冲计算");
document.writeln("var cMath = Math[(a - b) > 0 ? \"floor\": \"ceil\"],c = c || 0.1;");
document.writeln("return function() {return [a += cMath((b - a) * c), a - b]}");
document.writeln("},");
document.writeln("getY: function() {\/\/计算移动坐标");
document.writeln("var d = document,b = document.body,	e = document.documentElement;");
document.writeln("var s = Math.max(b.scrollTop, e.scrollTop);");
document.writeln("var h = \/BackCompat\/i.test(document.compatMode)?b.clientHeight:e.clientHeight;");
document.writeln("var h2 = this.win.offsetHeight;");
document.writeln("return {foot: s + h + h2 + 2+\"px\",top: s + h - h2 - 2+\"px\"}");
document.writeln("},");
document.writeln("moveTo: function(y) {\/\/移动动画");
document.writeln("clearInterval(this.timer);");
document.writeln("var me = this,a = parseInt(this.win.style.top)||0;");
document.writeln("var fx = this.fx(a, parseInt(y));");
document.writeln("var t = 0 ;");
document.writeln("this.timer = setInterval(function() {");
document.writeln("t = fx();");
document.writeln("me.win.style.top = t[0]+\"px\";");
document.writeln("if (t[1] == 0) {");
document.writeln("clearInterval(me.timer);");
document.writeln("me.bind();");
document.writeln("}");
document.writeln("},6);\/\/10 to 6");
document.writeln("},");
document.writeln("bind:function (){\/\/绑定窗口滚动条与大小变化事件");
document.writeln("var me=this,st,rt;");
document.writeln("window.onscroll = function() {");
document.writeln("clearTimeout(st);");
document.writeln("clearTimeout(me.timer2);");
document.writeln("me.setOpacity(0);");
document.writeln("st = setTimeout(function() {");
document.writeln("me.win.style.top = me.getY().top;");
document.writeln("me.show();");
document.writeln("},100);\/\/600 mod 100");
document.writeln("};");
document.writeln("window.onresize = function (){");
document.writeln("clearTimeout(rt);");
document.writeln("rt = setTimeout(function() {me.win.style.top = me.getY().top},100);");
document.writeln("}");
document.writeln("},");
document.writeln("init: function() {\/\/创建HTML");
document.writeln("function $(id) {return document.getElementById(id)};");
document.writeln("this.win=$(\"msg_win\");");
document.writeln("var set={minbtn: \"msg_min\",closebtn: \"msg_close\",title: \"msg_title\",content: \"msg_content\"};");
document.writeln("for (var Id in set) {this[Id] = $(set[Id])};");
document.writeln("var me = this;");
document.writeln("this.minbtn.onclick = function() {me.set();this.blur()};");
document.writeln("this.closebtn.onclick = function() {me.close()};");
document.writeln("this.char=navigator.userAgent.toLowerCase().indexOf(\"firefox\")+1?[\"_\",\"::\",\"×\"]:[\"0\",\"2\",\"r\"];\/\/FF不支持webdings字体");
document.writeln("this.minbtn.innerHTML=this.char[0];");
document.writeln("this.closebtn.innerHTML=this.char[2];");
document.writeln("setTimeout(function() {\/\/初始化最先位置");
document.writeln("me.win.style.display = \"block\";");
document.writeln("me.win.style.top = me.getY().foot;");
document.writeln("me.moveTo(me.getY().top);");
document.writeln("},0);");
document.writeln("return this;");
document.writeln("}");
document.writeln("};");
document.writeln("Message.init();");
document.writeln("<\/script>")

//状态栏文字
var text  = "ＷＷＷ.８４ＡＡＡ.ＣＯＭ"   
var speed = 100   
var x = 0   
function bb() {   
var a = text.substring(0,x)   
var b = text.substring(x,x+1).toUpperCase()   
var c = text.substring(x+1,text.length)   
window.status = a + b + c   
if (x == text.length) {   
x = 0   
}   
else {   
x++   
}   
setTimeout("bb()",speed)   
}   
bb();   
// -->
