﻿          function killErrors() {
           return true;
           }
          window.onerror = killErrors;
/*
右边快速导航
*/
	var delta=0.15
	var collection;
	var closeB=false;
function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
					var newItem				= {};
					newItem.object			= document.getElementById(id);
					newItem.x				= x;
					newItem.y				= y;

					this.items[this.items.length]		= newItem;
				  }
		this.play	= function()
				  {
					collection				= this.items
					setInterval('play()',10);
				  }
		}
		function play()
		{
			if(screen.width<=648 || closeB)
			{
				for(var i=0;i<collection.length;i++)
				{
					collection[i].object.style.display	= 'none';
				}
				return;
			}
			for(var i=0;i<collection.length;i++)
			{
				var followObj		= collection[i].object;
				var followObj_x		= (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
				var followObj_y		= (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

				if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
					var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
					dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
					followObj.style.left=followObj.offsetLeft+dx;
					}

				if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
					var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj.style.top=followObj.offsetTop+dy;
					}
				followObj.style.display	= '';
			}
		}	
				function closeBanner()
		{
			closeB=true;
			return;
		}
		//加载右边快速导航
        function floaterLink(Num) 
        {
		var screenwidth = eval("window.screen.width");
		var MyWidth=0;
		if(screenwidth<=1024)
		{
			MyWidth=865;
		}
		
	        var theFloaters		= new floaters();
	        switch(Num)
	        {
	            case 1:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/UpdateSoft/">软件升级</a></td></tr><tr><td height="17" align="center"><a href="/Special/Utm.Html">UTM专区</a></td></tr><tr><td height="17" align="center"><a href="/Special/IPS.Html">IPS/IDS专区</a></td></tr><tr><td height="17" align="center"><a href="http://www.websec360.com/">安星·网站体检</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 2:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><tr><td height="17" align="center"><a href="http://www.websec360.com/">安星·网站体检</a></td></tr><tr><td height="17" align="center"><a href="/Special/IPS.Html">IPS/IDS专区</a></td></tr><tr><td height="17" align="center"><a href="/Special/TH.Html">SOC专区</a></td></tr><tr><td height="17" align="center"><a href="/Special/Dj.Html">等级保护专区</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 3:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_3.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--><tr><td height="17" align="center"><a href="/Special/Dj.Html">等级保护专区</a></td></tr><tr><td height="17" align="center"><a href="http://www.websec360.com/">安星·网站体检</a></td></tr><tr><td height="17" align="center"><a href="/Service/">售后服务</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 4:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--><tr><td height="17" align="center"><a href="/UpdateSoft/">软件升级</a></td></tr><tr><td height="17" align="center"><a href="/Special/Utm/">UTM专区</a></td></tr><tr><td height="17" align="center"><a href="http://www.websec360.com/">安星·网站体检</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 5:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/AboutItem/6/">关于我们</a></td></tr><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><tr><td height="17" align="center"><a href="http://www.websec360.com/">安星·网站体检</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--><tr><td height="17" align="center"><a href="/Service/">客户支持</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 6:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_3.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/UpdateSoft/">软件升级</a></td></tr><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--><tr><td height="17" align="center"><a href="/AboutItem/6/">关于我们</a></td></tr><tr><td height="17" align="center"><a href="/Login.aspx">会员登陆</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 7:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/AboutItem/6/">关于我们</a></td></tr><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><!--<tr><td height="17" align="center"><a href="/Case/">解决方案与案例</a></td></tr>--><tr><td height="17" align="center"><a href="/Special/Xzx.Html">星之信</a></td></tr><tr><td height="17" align="center"><a href="/Blog/">星辰博客</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            case 8:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><tr><td height="17" align="center"><a href="/M2SInfo/">M2S服务</a></td></tr><tr><td height="17" align="center"><a href="/Special/Xzx.Html">星之信</a></td></tr><tr><td height="17" align="center"><a href="/Blog/">星辰博客</a></td></tr><tr><td height="17" align="center"><a href="/Service/">客户支持</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	            default:
	                theFloaters.addItem('followDiv1',MyWidth,130,'<table width="124" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="5"><img src="/Skin/Default/Images/QLTopBg.gif" width="124" height="5"></td></tr><tr><td style="background:url(/Skin/Default/Images/QLBg.gif) repeat-y;"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="/Skin/Default/Images/QLinkTop_3.gif" width="118" height="83"></td></tr><tr><td height="92"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="/Skin/Default/Images/QLinkBottomBg.gif" height="92" style="padding-top:5px;"><table width="118" align="center" border="0" cellspacing="0" cellpadding="0"><tr><td height="17" align="center"><a href="/SafeProducts/">安全产品</a></td></tr><tr><td height="17" align="center"><a href="/M2SInfo/">M2S服务</a></td></tr><tr><td height="17" align="center"><a href="/Special/Xzx.Html">星之信</a></td></tr><tr><td height="17" align="center"><a href="/Blog/">星辰博客</a></td></tr><tr><td height="17" align="center"><a href="/Service/">客户支持</a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height="3"><img src="/Skin/Default/Images/QLBottomBg.gif" width="124" height="3"></td></tr></table>');
	                break;
	        }
	        theFloaters.play();
        }


