var xleft = 7;
var xtop  = 130;
var swfurl='http://www.zgsr.net.cn/police/110-1.swf';
var AdRdm = Math.random();
if (AdRdm > 0.33){
  swfurl='http://www.zgsr.net.cn/police/110-2.swf';
}
if (AdRdm > 0.66){
  swfurl='http://www.zgsr.net.cn/police/110-3.swf';
}
xposition = document.body.offsetWidth/2-385+xleft; 
document.write('<div id=liningdiv style="position:absolute; left:' + xposition + 'px; top:' + xtop + 'px; visibility:hidden;">')
document.write('<EMBED src='+swfurl+' quality=high width=750 height=100 id=lining wmode="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></div>')
if(navigator.userAgent.indexOf("Opera")>=0){
  setTimeout('document.getElementById("liningdiv").style.visibility="hidden"',8000);
}

var topFloatAdWidth = 750;
var topFloatAdHeight = 500;
function topFloatAdMove(){topFloatAdJudge();setTimeout('topFloatAdMove();',0)}
function topFloatAdJudge(){
  //document.getElementById('liningdiv').style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + 'px';
  document.getElementById('liningdiv').style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.body.clientHeight > document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight) -110+ 'px';
  document.getElementById("liningdiv").style.left = (((document.body.clientWidth > document.documentElement.clientWidth)?document.body.clientWidth:document.documentElement.clientWidth) - topFloatAdWidth)/2+ 'px';
}
topFloatAdJudge();topFloatAdMove();
var liningdiv =document.getElementById('liningdiv');
liningdiv.style.visibility='visible';