<!DOCTYPE HTML>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>404 - 您访问的页面不存在</title>
<style>
html,body{ height:100%; }
body{font-family:"微软雅黑";background:url("http://gnronline.cn/404/01.jpg") no-repeat center top #DAD9D7; color: #555; font-size:14px; text-align: center;margin:0;padding:0;}
img{border:none;}
#num{margin:0 5px;font-weight:bold;}
a{display:inline-block;margin:0 4px;height:24px;line-height:24px;color:#626262;text-decoration:none;text-align:left; padding: 0 8px; border-radius: 4px; border: 1px solid transparent;}
a:hover{color:#626262; border-color: #ccc;}
</style>
<script src="http://gnronline.cn/404/jquery-1.9.1.min.js"></script>
</head>
<body>
<div >
<img src="http://gnronline.cn/404/01.png" style="margin-top:180px; max-width:100%;">
<h1>页面不存在</h1>
<h3>哎呀…您访问的页面不存在； <span id="num"></span>秒后自动跳转到主页 </h3>
<p style="color:#626262; font-size:16px; border-radius:4px; border:1px solid transparent; text-decoration:none; line-height: 24px;">
<a href="" id="link">点击此处返回网站首页</a>
</p> 
<p style="color:#999;font-size:12px;">温馨提示： 您可能输入了错误的网址，或者该网页已删除或移动</p>
</div>
<script type="text/javascript">
var domain = window.location.host;
var ishttps = 'https:' == document.location.protocol ? true: false;
if(ishttps){
	var url="http://"+domain;
}else{
	var url="http://"+domain;
}
$('#link').prop('href',url);        
var num=8;
function redirect(){
num--;
document.getElementById("num").innerHTML=num;
if(num<0){
document.getElementById("num").innerHTML=0;
location.href=url;
}
}
setInterval("redirect()", 1000);
</script>
</body>
</html>
