﻿////////// FireFox Ad Start ////////////

// This function does the actual browser detection
/*
function writeCookie(name, value, hours)
{
	var expire = "";
	if(hours != null)
	{
		expire = new Date((new Date()).getTime() + hours * 3600000);
		expire = "; expires=" + expire.toGMTString();
	}
	document.cookie = name + "=" + escape(value) + expire;
}

// Example:
// alert( readCookie("myCookie") );
function readCookie(name)
{
	var cookieValue = "";
	var search = name + "=";
	if(document.cookie.length > 0)
	{
		offset = document.cookie.indexOf(search);
		if (offset != -1)
		{
			offset += search.length;
			end = document.cookie.indexOf(";", offset);
			if (end == -1) end = document.cookie.length;
			cookieValue = unescape(document.cookie.substring(offset, end))
		}
	}
	return cookieValue;
}



function hasIE_hasIE() {
  var ua = navigator.userAgent.toLowerCase();
  return ((ua.indexOf('msie') != -1) && (ua.indexOf('opera') == -1) && 
          (ua.indexOf('webtv') == -1) &&
          (location.href.indexOf('seenIEPage') == -1));
}

function hasIE_showLayer(whichLayer)
{
  if (document.getElementById)
    {
      var style2 = document.getElementById(whichLayer).style;
      style2.display = "block";
    }
  else if (document.all)
    {
      var style2 = document.all[whichLayer].style;
      style2.display = "block";
    }
  else if (document.layers)
    {
      var style2 = document.layers[whichLayer].style;
      style2.display = "block";
    }
}

// Hides and shows sections of the page based on whether or not it's
// running in IE
function hasIE_hideAndShow()
{
  if (hasIE_hasIE())
  {
    hasIE_showLayer("hasIE_level1");  
  }
  else{}
}

function hasIE_ContinueWithoutFF() {
    if (location.href.indexOf('?') != -1)
        location.href += '&seenIEPage=1';
    else
        location.href += '?seenIEPage=1';
}
function closediv(i) {
	writeCookie("status","showed24",240);
	document.getElementById(i).style.display='none'; 
}

///document.write("<div id=\"hasIE_level1\" style=\"background:#FFFFBB; text-align: center; padding:2px 0 3px; display:none; border-bottom:1px solid #ffd532;position:absolute; top:0; left:0; width:100%; z-index:100;\"><div id=\"iewarning\" style=\"width:19px; float:left; \"><img align=\"absmiddle\" src=\"http://firefox.gcsou.com/gd/foximg/warning.gif\" border=\"0\" /></div><div id=\"closeimg\" style=\"width:19px; float:right;\"><a href=\"javascript:closediv('hasIE_level1');\" title=\"关闭提示\"><img src=\"http://firefox.gcsou.com/gd/foximg/close1.gif\" align=\"absmiddle\" border=\"0\" /></a></div><div style=\" margin-top:4px;marign-left:4px;font-size:12px;color:#092E20\">发现您正在使用<b>老掉牙</b>的IE浏览器，强烈推荐您在 Windows 操作系统中使用<b>最安全</b>的浏览器: <font color=\"#ee0000\"><a href=\"http://firefox.gcsou.com/\" title=\"FireFox火狐浏览器2.0下载\" target=\"_blank\">FireFox火狐浏览器2.0,点击下载</a></font> ！</div></div><div style=\"clear:both\"></div>");  ///
document.write("<div id=\"hasIE_level1\" style=\"background:#FFFFBB; text-align: center; padding:2px 0 3px; display:none; border-bottom:1px solid #ffd532;position:absolute; top:0; left:0; width:100%; z-index:100;\"><div id=\"iewarning\" style=\"width:19px; float:left; \"><img align=\"absmiddle\" src=\"http://firefox.gcsou.com/gd/foximg/warning.gif\" border=\"0\" /></div><div id=\"closeimg\" style=\"width:19px; float:right;\"><a href=\"javascript:closediv('hasIE_level1');\" title=\"关闭提示\"><img src=\"http://firefox.gcsou.com/gd/foximg/close1.gif\" align=\"absmiddle\" border=\"0\" /></a></div><div style=\" margin-top:4px;marign-left:4px;font-size:12px;color:#092E20\"><b>安全中心</b>检测到<b><font color=\"#ee0000\">您的Windows存在严重安全隐患</font></b>，<font color=\"#ee0000\"><a href=\"http://firefox.gcsou.com/\" title=\"安全检测中心\" target=\"_blank\">>>>强烈建议您立即进行深入检测<<<</a></font> ！</div></div><div style=\"clear:both\"></div>");  
if(document.referrer.indexOf("tiexue")==-1 && document.referrer.indexOf("v-war")==-1)
{
	if(readCookie("status") != "showed24")
	{
		hasIE_hideAndShow();
	}
}
*/
////////// FireFox Ad End   ////////////

///////// 字体闪烁///////////

function blinklink() 
{ 
if (!document.getElementById('blink').style.color) 
    { 
    document.getElementById('blink').style.color="red" 
    } 
if (document.getElementById('blink').style.color=="red") 
    { 
    document.getElementById('blink').style.color="white" 
    } 
else 
    { 
    document.getElementById('blink').style.color="red" 
    } 
timer=setTimeout("blinklink()",100) 
} 
function stoptimer() 
{ 
clearTimeout(timer) 
} 

///////// 字体闪烁 END/////////

////window.open('http://www.11hu.com/hope/');