var MSIE=navigator.userAgent.indexOf("MSIE");
var OPER=navigator.userAgent.indexOf("Opera");
var cookieString = new String(documents.cookie)
var cookieHeader = 'ad_0579=' //更换xvlink_pop为任意名称
var beginPosition = cookieString.indexOf(cookieHeader)

if (beginPosition <0)
{
if (document.all && MSIE!=-1 && OPER==-1 && ) {
setTimeout("changediv()",500);
document.write('<DIV ID="hiddenLayer" style="display: none;" align="center">');
expandableIframe = '<table align="center" width="1002" border="0" cellspacing="0" cellpadding="0">';
expandableIframe += '  <tr>';
expandableIframe += '    <td width="1002" height="270" align="center" valign="top" background="http://0579.com/0579/images_2/index_01.gif"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="419" height="166" >';
expandableIframe += '      <param name="movie" value="http://0579.com/0579/images_2/16.swf" />';
expandableIframe += '      <param name="quality" value="high" />';
expandableIframe += '      <param name="wmode" value="transparent" />';
expandableIframe += '      <embed src="images_2/16.swf" width="419" height="166" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>';
expandableIframe += '    </object></td>';
expandableIframe += '  </tr>';
expandableIframe += '  <tr>';
expandableIframe += '    <td height="57" background="http://0579.com/0579/images_2/index_02.gif"><table border="0" align="center" cellpadding="0" cellspacing="0">';
expandableIframe += '      <tr>';
expandableIframe += '        <td><a href="javascript:hidediv();"><img src="http://0579.com/0579/images_2/ind_03.gif" alt="" width="210" height="57" border="0" /></a></td>';
expandableIframe += '        <td><a href="http://www.0086cc.com/" target="_blank"><img src="http://0579.com/0579/images_2/ind_04.gif" alt="" width="239" height="57" border="0" /></a></td>';
expandableIframe += '        <td><a href="http://www.913u.com" target="_blank"><img src="http://0579.com/0579/images_2/ind_05.gif" alt="" name="Image3" width="219" height="57" border="0" /></a></td>';
expandableIframe += '        <td><a href="http://www.0579zzrc.com" target="_blank"><img src="http://0579.com/0579/images_2/ind_06.gif" alt="" name="Image4" width="215" height="57" border="0" /></a></td>';
expandableIframe += '      </tr>';
expandableIframe += '    </table></td>';
expandableIframe += '  </tr>';
expandableIframe += '  <tr>';
expandableIframe += '    <td><img src="http://0579.com/0579/images_2/index_03.jpg" width="1002" height="91" alt="" /></td>';
expandableIframe += '  </tr>';
expandableIframe += '</table>';
document.write(expandableIframe);
document.write('</div>');
}
var Then = new Date()
	Then.setTime(Then.getTime() + 12*60*60*1000 ) //同一ip设置过期时间，即多长间隔跳出一次
documents.cookie = 'ad_0579=yes;expires='+ Then.toGMTString()　 //更换xvlink_pop和第4行一样的名称
}
function changediv(){
document.getElementById('hiddenLayer').style.display = "block";
setTimeout("hidediv()",10000)
}
function hidediv(){
document.getElementById('hiddenLayer').style.display="none";
}