  var marqueesHeight=308;
  var stopscroll=false;
  var focus_width=268 
  var focus_height=196 
  var text_height=16 
  var swf_height = focus_height+text_height
  function flashcrea()
 {
   document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">'); 
   document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="flash/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#E7E7E7">'); 
   document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); 
   document.write('<param name="FlashVars" value="pics='+imag+'&links='+links+'&texts='+newtext+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">'); 
   document.write('<embed ID="focus_flash" src="flash/pixviewer.swf" wmode="opaque" FlashVars="pics='+imag+'&links='+links+'&texts='+newtext+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#E7E7E7" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>'); document.write('</object>');
 }
 
 function heards()
 {
          
   var sty_css;
   sty_css="<style type='text/css'>\n";
   sty_css+="a:link{text-decoration:none;color:#0076AE}\n";
   sty_css+="a:visited{text-decoration:none;color:#0076AE}\n";
   sty_css+="a:active{text-decoration:none;color:#00f}\n";
   sty_css+="a:hover{text-decoration:none;font-size:10pt;color:#800080}\n";
   sty_css+="div .lists_style{ }\n";
   //sty_css+="body {filter:gray}";
   sty_css+=".m{border-width:0px 0px 1px 0px; border-colpr:#000000;border-style:solid}\n";
   sty_css+=".m1{border-width:1px 0px 0px 0px; border-colpr:#000000;border-style:solid}\n";
   sty_css+=".m2{border-width:0px 1px 0px 0px; border-colpr:#000000;border-style:solid;}\n";
   sty_css+=".m3{border-width:0px 0px 0px 1px; border-colpr:#000000;border-style:solid}\n";
   sty_css+=".m4{border-width:0px 1px 0px 1px; border-colpr:#000000;border-style:solid}\n";
   sty_css+=".m5{border-width:1px 1px 1px 1px; border-colpr:#000000;border-style:solid; padding-left:3px;padding-right:3px}\n";
   sty_css+=".m6{border-width:1px 1px 1px 1px; border-colpr:#000000;border-style:solid;text-align:center;vertical-align:middle}\n";
   sty_css+=".m7{border-width:1px 1px 1px 1px; border-colpr:#000000;border-style:solid;text-align:left;vertical-align:top;line-height:1.3;letter-spacing:1px}\n";
   sty_css+=".m8{border-width:0px 1px 1px 1px; border-colpr:#000000;border-style:solid;text-align:left;vertical-align:top}\n";
   sty_css+=".p1{padding-left:20px;padding-top:10px;letter-spacing:0.4}"
   sty_css+=".l1{line-height:1;letter-spacing:1px}"
   sty_css+="</style>";
   fnWrite(sty_css);
}

function zc()
{
   
}
function login()
{

}
function weblast()
{ 
   var last;
  
   last="<div align=center><hr width=763>";
   last+="<table border='0' width='100%' cellspacing='3' cellpadding='0' id='tablelast'>";
   last+="<tr>";
   last+="<td align='center'><font size='2'>版权所有：云南省昭通市实验小学</font></td>";
   last+="</tr>";
   last+="<tr>";
   last+="<td align='center'><font size='2'>网站程序设计：昭通市实验小学信息组高峰&nbsp;&nbsp;（浏览本网页，建议将电脑显示屏的分辨率调为1024*786以上）</font></td>";
   last+="</tr>";
   last+="<tr>";		
   last+="<td align='center'><font size='2'>滇ICP备：05001510</font></td>";
   last+="</tr>";
   last+="</table>";
   last+="<p>";
   last+="<p>";
   last+="<p>";
   last+="<p></div>";
   fnWrite(last);
}
function her2()
{
    var herx="";
    herx+="<table border='0' width='100%' cellspacing='0' cellpadding='0' id='table121'>";
	herx+="<tr>";
	herx+="	<td bgColor='#3399ff' height='14'></td>";
	herx+="</tr>";
	herx+="<tr>";
	herx+="	<td><div id=fl0><script language=javascript >fnEmbedMainFlash('image/bt.swf',100,998);</script>"
	herx+="</div></td>";
	herx+="</tr>";
	herx+="<tr>";
	herx+="<td>";
	herx+="<div id=03>";
	herx+="<table id='table30' cellSpacing='0' cellPadding='0' width='100%' align='center' bgColor='#333366' border='0'>";
	herx+="<tr vAlign='bottom' bgColor='#0099ff'>";
	herx+="<td width='63' height='16'>";
	herx+="<div align='center'><a href='http://www.ztsyxx.com' target='_blank'><FONT color='white' size='2'>首页</FONT></a></div>";
	herx+="</td>";
	herx+="<td width='10'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='71'>";
	herx+="<div align='center'><a style='COLOR: #000000; TEXT-DECORATION: none' href='http://www.ztsyxx.com/zywz.aspx' target='_blank'><font color='#ffffff' size='2'>重要文章</font></a></div>";
	herx+="</td>";
	herx+="<td width='8'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='103'>";
	herx+="<div align='center'><a style='COLOR: #000000; TEXT-DECORATION: none' href='http://www.ztsyxx.com/jxjy.aspx' target='_blank'><font color='#ffffff' size='2'>教学园地</font></a></div>";
	herx+="</td>";
	herx+="<td width='8'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='69'>";
	herx+="<div align='center'><a href='http://www.ztsyxx.com/ztsyxxoa' target='_blank'><FONT color='white' size='2'>OA系统</FONT></a></div>";
	herx+="</td>";
	herx+="<td width='8'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='64'>";
	herx+="<div align='center'><a href='http://www.ztsyxx.com:8088' target='_blank'><FONT color='white' size='2'>BBS论坛</FONT></a></div>";
	herx+="</td>";
	herx+="<td width='8'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='64'>";
	herx+="<div align='center'><a style='COLOR: #000000; TEXT-DECORATION: none' target='_blank'  href='http://www.ztsyxx.com/new_show.aspx?clode=8'><font size='2' color='white'>学校简介</font></a></div>";
	herx+="</td>";
	herx+="<td width='8'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='68'>";
	herx+="<div align='center'><a href='http://www.ztsyxx.com:8088/index.php?gid=6&sid=OCGTUZ' target='_blank'><font color='#ffffff' size='2'>家长学校</font></a></div>";
	herx+="</td>";
	herx+="<td width='9'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='66'>";
	herx+="<div align='center'><a style='COLOR: #000000; TEXT-DECORATION: none' target='_blank' href='http://www.ztsyxx.com:8000/index.htm'><font size='2' color='white'>视频资源</font></a></div>";
	herx+="</td>";
	herx+="<td width='9'>";
	herx+="<div align='center'><font color='#ffffff' size='2'>|</font></div>";
	herx+="</td>";
	herx+="<td width='130'>";
	herx+="<div align='center'><a href='http://www.ztsyxx.com:8000/ksxt/student/xsloing.htm' target='_blank'><FONT color='white' size='2'>试题系统</FONT></a></div>";
	herx+="</td>";
	herx+="</tr>";
	herx+="</table>";
	herx+="</div>";
	herx+="</td>";
	herx+="</tr>";
    herx+="</table>";
    fnWrite(herx);
}

function img_co()
{
    var imgs=document.getElementsByTagName("img");
    for(var i=0;i<imgs.length;i++)
    {
       var img=imgs[i];
       img.style.filter="gray";
    }
}

function ltgd()
{
with(marquees){
  style.width=260;
  style.height=marqueesHeight;
  style.overflowX="visible";
  style.overflowY="hidden";
  noWrap=false;
  onmouseover=new Function("stopscroll=true");
  onmouseout=new Function("stopscroll=false");
}
  document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden"></div>');

  preTop=0; currentTop=0; 
  document.body.onload=init;
}

function init(){
  templayer.innerHTML="";
  while(templayer.offsetHeight<marqueesHeight){
    templayer.innerHTML+=marquees.innerHTML;
  }
  marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;
  setInterval("scrollUp()",100);  
}

function scrollUp(){
  if(stopscroll==true) return;
  preTop=marquees.scrollTop;
  marquees.scrollTop+=1;
  if(preTop==marquees.scrollTop){
    marquees.scrollTop=templayer.offsetHeight-marqueesHeight;
    marquees.scrollTop+=1;
  }
}

function fnWrite(strTarget){
document.write(strTarget);
}
function fnEmbedMainFlash(strParam,height,width){
var strObject;
strObject = "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab' WIDTH='" + width + "' HEIGHT='" + height + "' id='myplay'>";
strObject=strObject + "<PARAM NAME=movie VALUE='" + strParam;
strObject=strObject + "'><PARAM NAME=menu VALUE=false><param name=wmode value=transparent><PARAM NAME=quality VALUE=High><PARAM NAME=bgcolor VALUE=#011d28><param name=\"allowFullScreen\" value=\"true\">"
strObject=strObject + "<EMBED src='" + strParam + "' menu=false quality=High  bgcolor=#011d28 allowFullScreen=true WIDTH='" + width + "' HEIGHT='" + height
strObject=strObject + "' NAME='myplay' swLiveConnect=\"true\" TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT>";
fnWrite(strObject);
}
