function Exception(name,message){if(name)this.name=name;if(message)this.message=message;}
Exception.prototype.setName=function(name){this.name=name;}
Exception.prototype.getName=function(){return this.name;}
Exception.prototype.setMessage=function(msg){this.message=msg;}
Exception.prototype.getMessage=function(){return this.message;}
function FlashTag(src,width,height){this.src=src;this.width=width;this.height=height;this.version='7,0,14,0';this.flashVars=null;this.menu='false';this.bgcolor='';this.id="f_"+((new Date()).getTime()).toString();this.salign=null;this.scale=null;this.wmode='transparent';this.wmodeFF=null;}
FlashTag.prototype.setSalign=function(sa){this.salign=sa;}
FlashTag.prototype.setMenu=function(menuShow){this.menu=menuShow;}
FlashTag.prototype.setScale=function(scl){this.scale=scl;}
FlashTag.prototype.setWmode=function(wm){this.wmode=wm;}
FlashTag.prototype.setWmodeFF=function(wmff){this.wmodeFF=wmff}
FlashTag.prototype.setVersion=function(v){this.version=v;}
FlashTag.prototype.setId=function(id){this.id=id;}
FlashTag.prototype.setBgcolor=function(bgc){this.bgcolor=bgc;}
FlashTag.prototype.setFlashvars=function(fv){this.flashVars=fv;}
FlashTag.prototype.setSrc=function(src){this.src=src;}
FlashTag.prototype.setNew=function(src,width,height){this.src=src;this.id="f_"+((new Date()).getTime()).toString();this.width=width;this.height=height;this.flashVars=null;this.bgcolor='';this.salign=null;this.scale=null;this.wmode='transparent';this.wmodeFF=null;}
FlashTag.prototype.toString=function(){var ie=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;var flashTag=new String();if(ie){flashTag+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';if(this.id!=null){flashTag+='id="'+this.id+'" ';}
flashTag+='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+this.version+'" ';flashTag+='width="'+this.width+'" ';flashTag+='height="'+this.height+'">';flashTag+='<param name="movie" value="'+this.src+'"/>';flashTag+='<param name="quality" value="high"/>';flashTag+='<param name="bgcolor" value="#'+this.bgcolor+'"/>';flashTag+='<param name="menu" value="'+this.menu+'"/>';if(this.wmode!=null){flashTag+='<param name="wmode" value="'+this.wmode+'"/>';}
if(this.salign!=null){flashTag+='<param name="salign" value="'+this.salign+'"/>';}
if(this.scale!=null){flashTag+='<param name="scale" value="'+this.scale+'"/>';}
if(this.flashVars!=null){flashTag+='<param name="flashvars" value="'+this.flashVars+'"/>';}
flashTag+='</object>';}else{flashTag+='<embed src="'+this.src+'" ';flashTag+='quality="high" ';flashTag+='bgcolor="#'+this.bgcolor+'" ';flashTag+='width="'+this.width+'" ';flashTag+='height="'+this.height+'" ';flashTag+='type="application/x-shockwave-flash" ';flashTag+='menu="'+this.menu+'" ';if(this.flashVars!=null){flashTag+='flashvars="'+this.flashVars+'" ';}
if(this.id!=null){flashTag+='name="'+this.id+'" ';}
if((this.wmode!=null)&&(this.wmode=="transparent")){this.wmodeFF="transparent";}
if(this.wmodeFF!=null){flashTag+='wmode="'+this.wmodeFF+'" ';}
if(this.scale!=null){flashTag+='scale="'+this.scale+'" ';}
if(this.salign!=null){flashTag+='salign="'+this.salign+'" ';}
flashTag+='pluginspage="http://www.macromedia.com/go/getflashplayer">';flashTag+='</embed>';}
return flashTag;}
FlashTag.prototype.write=function(doc){doc.write(this.toString());}
function FlashSerializer(useCdata){this.useCdata=useCdata;}
FlashSerializer.prototype.serialize=function(args){var qs=new String();for(var i=0;i<args.length;++i){switch(typeof(args[i])){case'undefined':qs+='t'+(i)+'=undf';break;case'string':qs+='t'+(i)+'=str&d'+(i)+'='+escape(args[i]);break;case'number':qs+='t'+(i)+'=num&d'+(i)+'='+escape(args[i]);break;case'boolean':qs+='t'+(i)+'=bool&d'+(i)+'='+escape(args[i]);break;case'object':if(args[i]==null){qs+='t'+(i)+'=null';}else if(args[i]instanceof Date){qs+='t'+(i)+'=date&d'+(i)+'='+escape(args[i].getTime());}else{try{qs+='t'+(i)+'=xser&d'+(i)+'='+escape(this._serializeXML(args[i]));}catch(exception){throw new Exception("FlashSerializationException","The following error occurred during complex object serialization: "+exception.getMessage());}}
break;default:throw new Exception("FlashSerializationException","You can only serialize strings, numbers, booleans, dates, objects, arrays, nulls, and undefined.");}
if(i!=(args.length-1)){qs+='&';}}
return qs;}
FlashSerializer.prototype._serializeXML=function(obj){var doc=new Object();doc.xml='<fp>';this._serializeNode(obj,doc,null);doc.xml+='</fp>';return doc.xml;}
FlashSerializer.prototype._serializeNode=function(obj,doc,name){switch(typeof(obj)){case'undefined':doc.xml+='<undf'+this._addName(name)+'/>';break;case'string':doc.xml+='<str'+this._addName(name)+'>'+this._escapeXml(obj)+'</str>';break;case'number':doc.xml+='<num'+this._addName(name)+'>'+obj+'</num>';break;case'boolean':doc.xml+='<bool'+this._addName(name)+' val="'+obj+'"/>';break;case'object':if(obj==null){doc.xml+='<null'+this._addName(name)+'/>';}else if(obj instanceof Date){doc.xml+='<date'+this._addName(name)+'>'+obj.getTime()+'</date>';}else if(obj instanceof Array){doc.xml+='<array'+this._addName(name)+'>';for(var i=0;i<obj.length;++i){this._serializeNode(obj[i],doc,null);}
doc.xml+='</array>';}else{doc.xml+='<obj'+this._addName(name)+'>';for(var n in obj){if(typeof(obj[n])=='function')continue;this._serializeNode(obj[n],doc,n);}
doc.xml+='</obj>';}
break;default:throw new Exception("FlashSerializationException","You can only serialize strings, numbers, booleans, objects, dates, arrays, nulls and undefined");break;}}
FlashSerializer.prototype._addName=function(name){if(name!=null){return' name="'+name+'"';}
return'';}
FlashSerializer.prototype._escapeXml=function(str){if(this.useCdata)return'<![CDATA['+str+']]>';else return str.replace(/&/g,'&amp;').replace(/</g,'&lt;');}
function FlashProxy(uid,proxySwfName){this.uid=uid;this.proxySwfName=proxySwfName;this.flashSerializer=new FlashSerializer(false);}
FlashProxy.prototype.call=function(){if(arguments.length==0){throw new Exception("Flash Proxy Exception","The first argument should be the function name followed by any number of additional arguments.");}
var qs='lcId='+escape(this.uid)+'&functionName='+escape(arguments[0]);if(arguments.length>1){var justArgs=new Array();for(var i=1;i<arguments.length;++i){justArgs.push(arguments[i]);}
qs+=('&'+this.flashSerializer.serialize(justArgs));}
var divName='_flash_proxy_'+this.uid;if(!document.getElementById(divName)){var newTarget=document.createElement("div");newTarget.id=divName;document.body.appendChild(newTarget);}
var target=document.getElementById(divName);var ft=new FlashTag(this.proxySwfName,1,1);ft.setVersion('6,0,65,0');ft.setFlashvars(qs);target.innerHTML=ft.toString();}
FlashProxy.callJS=function(){var functionToCall=eval(arguments[0]);var argArray=new Array();for(var i=1;i<arguments.length;++i){argArray.push(arguments[i]);}
functionToCall.apply(functionToCall,argArray);}
function getMovieObj(movieName){if(navigator.appName.indexOf("Microsoft")!=-1){return window[movieName];}else{return document[movieName];}}
var flashTagIns=new FlashTag("",100,10);if(typeof deconcept=="undefined")var deconcept=new Object();if(typeof deconcept.util=="undefined")deconcept.util=new Object();if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil=new Object();deconcept.SWFObject=function(swf,id,w,h,ver,c,quality,xiRedirectUrl,redirectUrl,detectKey){if(!document.getElementById){return;}
this.DETECT_KEY=detectKey?detectKey:'detectflash';this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(swf){this.setAttribute('swf',swf);}
if(id){this.setAttribute('id',id);}
if(w){this.setAttribute('width',w);}
if(h){this.setAttribute('height',h);}
if(ver){this.setAttribute('version',new deconcept.PlayerVersion(ver.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}
if(c){this.addParam('bgcolor',c);}
var q=quality?quality:'high';this.addParam('quality',q);this.setAttribute('useExpressInstall',false);this.setAttribute('doExpressInstall',false);var xir=(xiRedirectUrl)?xiRedirectUrl:window.location;this.setAttribute('xiRedirectUrl',xir);this.setAttribute('redirectUrl','');if(redirectUrl){this.setAttribute('redirectUrl',redirectUrl);}}
deconcept.SWFObject.prototype={useExpressInstall:function(path){this.xiSWFPath=!path?"expressinstall.swf":path;this.setAttribute('useExpressInstall',true);},setAttribute:function(name,value){this.attributes[name]=value;},getAttribute:function(name){return this.attributes[name];},addParam:function(name,value){this.params[name]=value;},getParams:function(){return this.params;},addVariable:function(name,value){this.variables[name]=value;},getVariable:function(name){return this.variables[name];},getVariables:function(){return this.variables;},getVariablePairs:function(){var variablePairs=new Array();var key;var variables=this.getVariables();for(key in variables){variablePairs[variablePairs.length]=key+"="+variables[key];}
return variablePairs;},getSWFHTML:function(){var swfNode="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute('swf',this.xiSWFPath);}
swfNode='<embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" src="'+this.getAttribute('swf')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" style="'+this.getAttribute('style')+'"';swfNode+=' id="'+this.getAttribute('id')+'" name="'+this.getAttribute('id')+'" ';var params=this.getParams();for(var key in params){swfNode+=[key]+'="'+params[key]+'" ';}
var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='flashvars='+pairs+'&realfull=1&moz=1"';}
swfNode+='/>';}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute('swf',this.xiSWFPath);}
swfNode='<object id="'+this.getAttribute('id')+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" style="'+this.getAttribute('style')+'">';swfNode+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var params=this.getParams();for(var key in params){swfNode+='<param name="'+key+'" value="'+params[key]+'" />';}
var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='<param name="flashvars" value="'+pairs+'" />';}
swfNode+="</object>";}
return swfNode;},write:function(elementId){if(this.getAttribute('useExpressInstall')){var expressInstallReqVer=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(expressInstallReqVer)&&!this.installedVer.versionIsValid(this.getAttribute('version'))){this.setAttribute('doExpressInstall',true);this.addVariable("MMredirectURL",escape(this.getAttribute('xiRedirectUrl')));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute('doExpressInstall')||this.installedVer.versionIsValid(this.getAttribute('version'))){}else{if(this.getAttribute('redirectUrl')!=""){document.location.replace(this.getAttribute('redirectUrl'));}}
var n=(typeof elementId=='string')?document.getElementById(elementId):elementId;n.innerHTML=this.getSWFHTML();return true;}}
deconcept.SWFObjectUtil.getPlayerVersion=function(){var PlayerVersion=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){PlayerVersion=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var counter=3;while(axo){try{counter++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+counter);PlayerVersion=new deconcept.PlayerVersion([counter,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");PlayerVersion=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(PlayerVersion.major==6){return PlayerVersion;}}
try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}
if(axo!=null){PlayerVersion=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return PlayerVersion;}
deconcept.PlayerVersion=function(arrVersion){this.major=arrVersion[0]!=null?parseInt(arrVersion[0]):0;this.minor=arrVersion[1]!=null?parseInt(arrVersion[1]):0;this.rev=arrVersion[2]!=null?parseInt(arrVersion[2]):0;}
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major)return false;if(this.major>fv.major)return true;if(this.minor<fv.minor)return false;if(this.minor>fv.minor)return true;if(this.rev<fv.rev)return false;return true;}
deconcept.util={getRequestParameter:function(param){var q=document.location.search||document.location.hash;if(param==null){return q;}
if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return pairs[i].substring((pairs[i].indexOf("=")+1));}}}
return"";}}
deconcept.SWFObjectUtil.cleanupSWFs=function(){var objects=document.getElementsByTagName("OBJECT");for(var i=objects.length-1;i>=0;i--){objects[i].style.display='none';for(var x in objects[i]){if(typeof objects[i][x]=='function'){objects[i][x]=function(){};}}}}
if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);}
window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}
if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];}}
var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function rannum(n){var chars=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];var res="";for(var i=0;i<n;i++){var id=Math.ceil(Math.random()*61);res+=chars[id];}
return res;}
function setTab(name,n){var tabh=$(name).getElementsByTagName("h3");var tabu=$(name).getElementsByTagName("ul");for(i=0;i<tabh.length;i++){tabh[i].className=i==n?"tabmf":"";tabu[i].className=i==n?"tabcf":"tabcf tabc";}}
function ef(start_id,end_id,focus_id){Effect.Fade(start_id,{duration:.5,queue:"front"});Effect.Appear(end_id,{duration:.5,queue:"end",afterFinish:function(){if(focus_id!=null)$(focus_id).focus();}});}
function getHTML(url,id,t,p){var pars;idstr=id;if(p==null)pars='someParameter='+rannum(8);else pars=p+'&someParameter='+rannum(8);var myAjax=new Ajax.Updater({success:id},url,{method:'get',asynchronous:t,parameters:pars,onFailure:function(){$(id).innerHTML='<li>对不起，内容无法载入，请联系管理员。</li>';}});}
var toolTips=Class.create();toolTips.prototype={initialize:function(delayDur){this.wrapperId="toolTipsWrapper";this.show=false;this.xGap=10;this.yGap=10;this.opacity=0.9;this.delayDur=delayDur||0;this.init();},init:function(){this.insertWrapper();document.observe("mouseover",this.showToolTips.bind(this));document.observe("mouseout",this.hideToolTips.bind(this));document.observe("mousemove",this.moveToolTips.bind(this));},insertWrapper:function(){$(document.body).insert(new Element("div",{'id':this.wrapperId,'style':'position: absolute;display: none;width:auto;z-index: 10000;border:1px solid #ccc;padding:3px;background:#f7f7f7;white-space:normal'}));$(this.wrapperId).setStyle({opacity:this.opacity});},showToolTips:function(e){var el=e.element();var o=$(this.wrapperId);if(el.title){el.toolTip=el.title;el.title="";};if(el.toolTip){o.update(el.toolTip).show.bind(o).delay(this.delayDur);this.show=true;}},hideToolTips:function(e){var el=e.element();var o=$(this.wrapperId);o.setStyle({left:"-1000px",display:"none"})
this.show=false;},moveToolTips:function(e){if(this.show){var x=e.pointerX();var y=e.pointerY();var x1=this.xGap;var y1=this.yGap;var o=$(this.wrapperId);var dims=o.getDimensions();var oW=dims.width;var oH=dims.height;var docDims=document.viewport.getDimensions();var docW=docDims.width;var docH=docDims.height;var docScroll=document.viewport.getScrollOffsets();var docLeft=docScroll.left;var docTop=docScroll.top;var posX=(x+x1+oW-docLeft>docW)?x-oW-x1:x+x1;var posY=(y+y1+oH-docTop>docH)?y-oH-y1:y+y1;o.setStyle({left:posX+"px",top:posY+"px"})}}};function login(u,eu,s){var url=u
var username=$F('username');var password=$F('password');var sstr='username='+escape(username)+'&password='+escape(password);var pars;pars=sstr+'&someParameter='+rannum(8);$('login_error').className='loading';$('login_error').innerHTML='login......';var opt={method:'get',onSuccess:function(t){m=t.responseText;if(m.substr(1,1)=='H')
{$('login_error').className='';$('login_error').style.color='red';$('login_error').innerHTML='用户名或密码错误,请重新登录！';}
else
if(s=="sub")window.location.reload();else $('login').innerHTML=m;},onFailure:function(t){$(id).innerHTML='<li>对不起，内容无法载入，请联系管理员。</li>';return false;},parameters:pars,asynchronous:true}
var ajax=new Ajax.Request(url,opt);}
function ihtml(xmldoc,data,id,type,name,num,t,d,af){var strtemp="";var xpath="/viewentries/viewentry/entrydata[contains(text,'"+data+"')]/text";if(Prototype.Browser.IE)xmldoc.setProperty("SelectionLanguage","XPath");m=xmldoc.selectNodes(xpath);if(type=="dd")strtemp='<dt><a href="/edu_net/'+data+'" target="_parent">'+name+'</a></dt>';if(m.length==0){if(type=="dd")$(id).innerHTML=strtemp+'<dd></dd>';else $(id).innerHTML='<li></li>';return;}
if(m.length>num)n=num;else n=m.length;for(i=0;i<n;i++){var linkchar=m[i].firstChild.nodeValue.split("|");if(af=="公告"){if(linkchar[12]!="公告")continue;}
if(type=="dd")strtemp=strtemp+"<dd>";else if(type=="li")strtemp=strtemp+"<li>";strtemp=strtemp+'<a href="';strtemp=strtemp+linkchar[5];if(linkchar[4]!="1")strtemp=strtemp+'" target="_blank" title="';else strtemp=strtemp+'" target="_parent" title="';strtemp=strtemp+linkchar[6];strtemp=strtemp+'">';if(t=="2")strtemp=strtemp+'<img src="/edu_net/'+data+'/0/'+linkchar[7]+'/$file/'+linkchar[8]+'" alt="'+linkchar[6]+'" width="120" height="90" />';else{if(linkchar[1]=="1")strtemp=strtemp+'<img src="/edu_net/top.gif" width="31" height="12" border="0">';if(linkchar[2]=="1")strtemp=strtemp+'<img src="/edu_net/new.gif" width="23" height="12" border="0">';strtemp=strtemp+linkchar[6];}
strtemp=strtemp+'</a>';if(d){dtemp=linkchar[9].split("-");strtemp=strtemp+"<span>"+dtemp[1]+"-"+dtemp[2]+"</span>";}
if(type=="dd")strtemp=strtemp+"</dd>";else if(type=="li")strtemp=strtemp+"</li>";}
$(id).innerHTML=strtemp;}
function iload(){var pars;pars='someParameter='+rannum(8);var opt={method:'get',onSuccess:function(t){xmldoc=t.responseXML;ihtml(xmldoc,"学校快讯","xxkx","li","新闻动态",13,1,true);ihtml(xmldoc,"edu_news.nsf","topNewsListUl","li","新闻动态",13,1,true);ihtml(xmldoc,"edu_affiche.nsf","affiche_ul","li","公告公示",10,0,false,"公告");ihtml(xmldoc,"edu_jxjy.nsf","jxjy_ul","li","教学教研",8);ihtml(xmldoc,"edu_zsks.nsf","zsks_ul","dd","招生考试",8);ihtml(xmldoc,"edu_pohelp.nsf","pohelp_ul","dd","便民服务",8);ihtml(xmldoc,"edu_jykj.nsf","jykj_ul","dd","教育技术",8);ihtml(xmldoc,"edu_jcjy.nsf","jcjy_ul","dd","基础教育",8);ihtml(xmldoc,"edu_files.nsf","files_ul","li","文件通知",8);ihtml(xmldoc,"edu_ycjy.nsf","ycjy_ul","dd","远程教育",8);ihtml(xmldoc,"edu_zcjy.nsf","zcjy_ul","dd","职业与成人教育",8);ihtml(xmldoc,"edu_fpzx.nsf","fpzx_ul","dd","扶贫助学",8);ihtml(xmldoc,"edu_xsyd.nsf","xsyd_ul","li","学生园地",8);ihtml(xmldoc,"edu_jsyd.nsf","jsyd_ul","li","教师园地",8);ihtml(xmldoc,"edu_photo.nsf","jyphoto_ul","","教育图片",10,2);ihtml(xmldoc,"edu_xcfg.nsf","xcfg_ul","","学校风光",10,2);ihtml(xmldoc,"edu_jydd.nsf","jydd_ul","li","教育督导",8);},onFailure:function(t){alert("对不起，内容无法载入，请联系管理员。");return false;},parameters:pars,asynchronous:false}
var ajax=null;if(!Prototype.Browser.IE){Node.prototype.selectNodes=function(xPath){var xresult=this.evaluate(xPath,this,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);var nod=null,nods=[],k=0;while((nod=xresult.iterateNext())!=null){nods[k++]=nod;}
return nods;}
ajax=document.implementation.createDocument("","",null);ajax.load("/edu_net/index.nsf/index_xml1?ReadViewEntries&CollapseView&count=1000&"+rannum(8));ajax.onload=function(){xmldoc=ajax;ihtml(xmldoc,"学校快讯","xxkx","li","新闻动态",13,1,true);ihtml(xmldoc,"edu_news.nsf","topNewsListUl","li","新闻动态",13,1,true);ihtml(xmldoc,"edu_affiche.nsf","affiche_ul","li","公告公示",10,0,false,"公告");ihtml(xmldoc,"edu_jxjy.nsf","jxjy_ul","li","教学教研",8);ihtml(xmldoc,"edu_zsks.nsf","zsks_ul","dd","招生考试",8);ihtml(xmldoc,"edu_pohelp.nsf","pohelp_ul","dd","便民服务",8);ihtml(xmldoc,"edu_jykj.nsf","jykj_ul","dd","教育技术",8);ihtml(xmldoc,"edu_jcjy.nsf","jcjy_ul","dd","基础教育",8);ihtml(xmldoc,"edu_files.nsf","files_ul","li","文件通知",8);ihtml(xmldoc,"edu_ycjy.nsf","ycjy_ul","dd","远程教育",8);ihtml(xmldoc,"edu_zcjy.nsf","zcjy_ul","dd","职业与成人教育",8);ihtml(xmldoc,"edu_fpzx.nsf","fpzx_ul","dd","扶贫助学",8);ihtml(xmldoc,"edu_xsyd.nsf","xsyd_ul","li","学生园地",8);ihtml(xmldoc,"edu_jsyd.nsf","jsyd_ul","li","教师园地",8);ihtml(xmldoc,"edu_photo.nsf","jyphoto_ul","","教育图片",10,2);ihtml(xmldoc,"edu_xcfg.nsf","xcfg_ul","","学校风光",10,2);ihtml(xmldoc,"edu_jydd.nsf","jydd_ul","li","教育督导",8);}}else if(Prototype.Browser.IE){ajax=new Ajax.Request("/edu_net/index.nsf/index_xml1?ReadViewEntries&CollapseView&count=1000&"+rannum(8),opt);}}
window.onload=getMsg;window.onresize=resizeDiv;window.onerror=function(){}
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i=0;function getMsg(){try{divTop=parseInt(document.getElementById("eMeng").style.top,10)
divLeft=parseInt(document.getElementById("eMeng").style.left,10)
divHeight=parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth=parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth=document.documentElement.clientWidth;docHeight=document.documentElement.clientHeight;document.getElementById("eMeng").style.top=parseInt(document.documentElement.scrollTop,10)+docHeight+10;document.getElementById("eMeng").style.left=parseInt(document.documentElement.scrollLeft,10)+docWidth-divWidth
document.getElementById("eMeng").style.visibility="visible"
objTimer=window.setInterval("moveDiv()",10)}catch(e){}}
function resizeDiv(){i+=1
try{divHeight=parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth=parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth=document.documentElement.clientWidth;docHeight=document.documentElement.clientHeight;document.getElementById("eMeng").style.top=docHeight-divHeight+parseInt(document.documentElement.scrollTop,10);document.getElementById("eMeng").style.left=docWidth-divWidth+parseInt(document.documentElement.scrollLeft,10)}catch(e){}}
function moveDiv(){try{if(parseInt(document.getElementById("eMeng").style.top,10)<=(docHeight-divHeight+parseInt(document.documentElement.scrollTop,10))){window.clearInterval(objTimer)
objTimer=window.setInterval("resizeDiv()",1)}
divTop=parseInt(document.getElementById("eMeng").style.top,10)
document.getElementById("eMeng").style.top=divTop-1}catch(e){}}
function closeDiv(){document.getElementById('eMeng').innerHTML='';document.getElementById('eMeng').style.visibility='hidden';if(objTimer)window.clearInterval(objTimer);}