<td style="width:1000px;">
<table style="height:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="width:323px;"><img src="images/logo.jpg"></td>
<td style="width:100%;">
<table style="height:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="width:100%;height:0px;"></td>
<td style="width:100px;"></td>
<td style="width:100px;"></td>
<td style="width:100px;"></td>
<td style="width:100px;"></td>
<td style="width:100px;"></td>
<td style="width:100px;"></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td colspan="8" style="height:47px;">
<table style="widht:100%;height:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="width:100%;height:100%;text-align:right;padding-top:0px;"></td>
<td style="width:133;text-align:right;padding-top:2px;"></td>
<td style="width:30px;text-align:right;padding-top:0px;"><img src="images/service.png"></td>
<td style="width:133;text-align:right;padding-top:2px;"><a href="http://service.spiritsoft.cn" target="_blank">精灵软件在线服务中心</a></td>
</tr>
</tbody></table>
</td>
</tr>
<tr class="menu">
<td style="height:44px;"></td>
<td style="text-align:center;background-image:url('images/menu_focus.png');background-repeat:no-repeat;background-position:center;"><a target="_self" href="#">首页</a></td>
<td style="text-align:center;"><a target="_self" href="product.php">产品介绍</a></td>
<td style="text-align:center;"><a target="_self" href="optimize.php">流量优化</a></td>
<td style="text-align:center;"><a target="_self" href="useit.php">使用帮助</a></td>
<td style="text-align:center;"><a target="_self" href="aq.php">常见问题</a></td>
<td style="text-align:center;"><a target="_self" href="blog.php">升级日志</a></td>
<td></td>
</tr>
<tr>
<td colspan="8" style="height:100%;"></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<div id="Div_Back" style="z-index: 101; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: rgb(0, 0, 0); opacity: 0.6; display: none;"></div>
<div id="Div_NewVersion" style="display:none;width:520px;height:520px;background-color:#FFFFFF;z-index:201;position:absolute;top:0px;left:0px;border:solid 2px #D5D5D5;">
<table style="width:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="height:70px;text-align:center;">
<table style="width:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="width:30%;height:70px;text-align:right;"><img src="images/face.gif" style="width:70px;height:70px;"></td>
<td style="width:70%;font-size:30px;font-weight:bolder;padding-left:10px;padding-top:20px;color:red;">哇,有新版本了!</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td style="height:40px;text-align:center;"><a target="_self" href="http://www.ipjingling.com" style="font-size:20px;color:green;">立即使用新版本</a></td>
</tr>
<tr>
<td style="height:20px;text-align:center;"><a target="_self" href="javascript:void(0)" onclick="CloseBack()" style="font-size:14px;color:gray;">暂时使用旧版本</a></td>
</tr>
<tr>
<td style="height:390px;text-align:center;vertical-align:middle;"><img src="images/new_ui.png"></td>
</tr>
</tbody></table>
</div>
<div id="Div_NewVersion2" style="width: 520px; height: 520px; background-color: rgb(255, 255, 255); z-index: 201; position: absolute; top: 125.667px; left: 378px; border: 2px solid rgb(213, 213, 213); display: none;">
<table style="width:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="height:70px;text-align:center;">
<table style="width:100%;" cellspacing="0" cellpadding="0">
<tbody><tr>
<td style="width:25%;height:70px;text-align:right;"><img src="images/face.gif" style="width:70px;height:70px;"></td>
<td style="width:75%;font-size:20px;font-weight:bolder;padding-left:10px;padding-top:20px;color:red;">Wow,english version is coming!</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td style="height:40px;text-align:center;"><a target="_self" href="http://www.ipts.com" style="font-size:20px;color:green;">English version now</a></td>
</tr>
<tr>
<td style="height:20px;text-align:center;"><a target="_self" href="javascript:void(0)" onclick="CloseBack()" style="font-size:14px;color:gray;">Stay Here</a></td>
</tr>
<tr>
<td style="height:390px;text-align:center;vertical-align:middle;"><img src="images/new_ui2.png"></td>
</tr>
</tbody></table>
</div>
<script language="JavaScript" type="text/javascript">
var Cookies = {};
Cookies.set = function(name, value){
var dTime = new Date();
dTime.setYear(dTime.getFullYear() + 1);
var argv = arguments;
var argc = arguments.length;
var expires = (argc > 2) ? argv[2] : dTime;
var path = (argc > 3) ? argv[3] : '/';
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
};
Cookies.get = function(name){
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
var j = 0;
while(i < clen){
j = i + alen;
if (document.cookie.substring(i, j) == arg)
return Cookies.getCookieVal(j);
i = document.cookie.indexOf(" ", i) + 1;
if(i == 0)
break;
}
return null;
};
Cookies.clear = function(name) {
if(Cookies.get(name)){
var expdate = new Date();
expdate.setTime(expdate.getTime() - (86400 * 1000 * 1));
Cookies.set(name, "", expdate);
}
};
Cookies.getCookieVal = function(offset){
var endstr = document.cookie.indexOf(";", offset);
if(endstr == -1){
endstr = document.cookie.length;
}
return unescape(document.cookie.substring(offset, endstr));
};
function OpenBack()
{
var strLanguage = "";
if (navigator.systemLanguage == undefined)
{
strLanguage = navigator.language;
}
else
{
strLanguage = navigator.systemLanguage;
}
if (!(strLanguage.indexOf('zh') > -1))
{
if (!(parseInt(Math.random() * 100 + 1) <= 100))
{
return;
}
}
else
{
if (!(parseInt(Math.random() * 100 + 1) <= 0))
{
return;
}
}
var nTimes = Cookies.get("nowtime");
var nowDate = new Date();
if ((null != nTimes) && ((nowDate.getTime() - parseInt(nTimes)) < 86400000 * 1))
{
return;
}
var nHeight = document.body.scrollHeight - document.body.clientHeight;
var nWidth = document.body.scrollWidth;
var objBack = document.getElementById("Div_Back");
if (nHeight >= 0)
{
objBack.style.Height = document.body.scrollHeight;
}
else
{
objBack.style.Height = document.body.clientHeight;
}
objBack.style.Width = nWidth;
objBack.style.display = "";
var objNewVersion = {};
if (!(strLanguage.indexOf('zh') > -1))
{
objNewVersion = document.getElementById("Div_NewVersion2");
}
else
{
objNewVersion = document.getElementById("Div_NewVersion");
}
objNewVersion.style.display = "";
if (navigator.userAgent.indexOf("MSIE") == -1)
{
nHeight = parseInt(objNewVersion.offsetHeight);
nWidth = parseInt(objNewVersion.offsetWidth);
}
else
{
nHeight = parseInt(objNewVersion.style.Height);
nWidth = parseInt(objNewVersion.style.Width);
}
nHeight = (document.body.clientHeight - nHeight) / 3;
nWidth = (document.body.clientWidth - nWidth) / 2;
nWidth = (nWidth > 0) ? nWidth : 0;
if (navigator.userAgent.indexOf("MSIE") == -1)
{
objNewVersion.style.top = document.body.scrollTop + nHeight;
objNewVersion.style.left = nWidth;
}
else
{
objNewVersion.style.Top = document.body.scrollTop + nHeight;
objNewVersion.style.Left = nWidth;
}
}
function CloseBack()
{
var objBack = document.getElementById("Div_Back");
objBack.style.display = "none";
objBack = null;
var objNewVersion = document.getElementById("Div_NewVersion");
var objNewVersion2 = document.getElementById("Div_NewVersion2");
objNewVersion.style.display = "none";
objNewVersion2.style.display = "none";
objNewVersion = null;
objNewVersion2 = null;
var nowDate = new Date();
Cookies.set("nowtime", nowDate.getTime());
}
OpenBack();
</script>
</td>