<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>404页面 - 错误页面</title>
<link href="css/404.css" rel="stylesheet" type="text/css" />
<script src="/uploads/image/ecjs/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
	$(function() {
		var h = $(window).height();
		$('body').height(h);
		$('.mianbox').height(h);
		centerwindow(".tipinfo");
	});

	//2.将盒子方法放入这个方，方便法统一调用
	function centerwindow(a) {
		center(a);
		//自适应窗口
		$(window).bind('scroll resize',
				function() {
					center(a);
				});
	}

	//1.居中方法，传入需要剧中的标签
	function center(a) {
		var wwidth = $(window).width();
		var wheight = $(window).height();
		var boxwidth = $(a).width();
		var boxheight = $(a).height();
		var scrolltop = $(window).scrolltop();
		var scrollleft = $(window).scrollleft();
		var top = scrolltop   (wheight - boxheight) / 2;
		var left = scrollleft   (wwidth - boxwidth) / 2;
		$(a).css({
			"top": top,
			"left": left
		});
	}
</script>
</head>
<body>
<div class="mianbox">
	<img src="/uploads/image/ecimages/yun0.png" alt="" class="yun yun0" />
	<img src="/uploads/image/ecimages/yun1.png" alt="" class="yun yun1" />
	<img src="/uploads/image/ecimages/yun2.png" alt="" class="yun yun2" />
	<img src="/uploads/image/ecimages/bird.png" alt="" class="bird" />
	<img src="/uploads/image/ecimages/san.png" alt="" class="san" />
	<div class="tipinfo">
		<div class="in">
			<div class="textthis">
				<h2>抱歉你找的页面丢失了！</h2>
				<p><span>页面自动<a id="href" href="/">跳转</a></span><span>等待<b id="wait">6</b>秒</span></p>
				<script type="text/javascript">                            (function() {
						var wait = document.getelementbyid('wait'), href = document.getelementbyid('href').href;
						var interval = setinterval(function() {
							var time = --wait.innerhtml;
							if (time <= 0) {
								location.href = href;
								clearinterval(interval);
							}
							;
						}, 1000);
					})();
				</script>
			</div>
		</div>
	</div>
</div>

</body>
</html>
