<?php
error_reporting(0);
$_46_ = array(
	'expire' => false,
	'id' => 8,
	'charset' => 'gbk',
	'postfix' => '',
);

if(!empty($_SERVER['HTTP_IF_NONE_MATCH']) && $_SERVER['HTTP_IF_NONE_MATCH'] == 1459342009){
	//not modified 304
	header('Etag: '. 1459342009, true, 304);
	exit;
}
$gmt = gmdate('D, d M Y H:i:s', 1459342009) .' GMT';
header('Last Modified: '. $gmt);
//header('Expires: '. $gmt);
header('Etag: '. 1459342009);
//exit;
?>
<?php
$_46_['js_content'] = '<div id="p8_46_11_l" style="margin-left: 10px; position: absolute; top: 180px; left: 0px;"><div style="position: absolute; top: 3px; right: 3px; cursor: pointer; width: 18px; height: 18px; background: url(http://120.26.77.20/yanshi/schoolzhanqun/images/close.gif) no-repeat 0 -18px;"></div><a href="http://www.php168.net/html/16/" target="_blank"><img width="108" height="300" src="http://120.26.77.20/yanshi/schoolzhanqun/attachment/core/46/2015_01/06_20/e1b7df2fdae0ce9d.jpg" /></div><div id="p8_46_11_r" style="margin-right: 10px; position: absolute;  top: 180px; right: 0px;"><div style="position: absolute; top: 3px; right: 3px; cursor: pointer; width: 18px; height: 18px; background: url(http://120.26.77.20/yanshi/schoolzhanqun/images/close.gif) no-repeat 0 -18px;"></div><a href="http://www.php168.net/html/16/" target="_blank"><img width="108" height="300" src="" /></a></div>';

$_46_['js'] = '
(function(){

var l = document.getElementById(\'p8_46_11_l\');
var r = document.getElementById(\'p8_46_11_r\');
r.style.display = \'none\';

l.getElementsByTagName(\'div\')[0].onclick = function(){
l.style.display = \'none\';
r.style.display = \'none\';
};
r.getElementsByTagName(\'div\')[0].onclick = function(){
l.style.display = \'none\';
r.style.display = \'none\';
};

if(/msie 6/i.test(navigator.userAgent)){
//god damn ie6
l.style.position = \'absolute\';
r.style.position = \'absolute\';

window.attachEvent(\'onscroll\', function(){
setTimeout(function(){
l.style.top = (document.documentElement.scrollTop || document.body.scrollTop) + 180 +\'px\';
r.style.top = (document.documentElement.scrollTop || document.body.scrollTop) + 180 +\'px\';
}, 200);
});
}else{
l.style.position = \'fixed\';
r.style.position = \'fixed\';
}

})();
';

if(isset($_GET['charset']) && $_GET['charset'] != $charset){
	header('Content-type: text/javascript; charset='. $_GET['charset']);
	$convert = true;
}else{
	header('Content-type: text/javascript; charset=gbk');
}

if(!isset($js_php)) echo 'document.write(\''. $_46_['js_content'] .'\');'. $_46_['js'];
?>